Repository navigation
ci(docs): install both Python 3.10 and 3.15 in docs workflow - #18956
Merged
Merged
Conversation
Contributor
|
Note Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported. |
daniel-sanche
approved these changes
Nov 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem / Context
Commit
929cd858cb2(chore(deps): update all dependencies (#18752)) updatedactions/setup-pythonin.github/workflows/docs.yml(initialize,docs-shard, anddocfx-shardjobs) frompython-version: "3.10"topython-version: "3.15". However, packagenoxfile.pyfiles across the monorepo currently specify@nox.session(python="3.10")for thedocsanddocfxsessions. Because only Python 3.15 is installed on the runner andnoxis installed without[pbs],docsanddocfxjobs fail immediately withPython interpreter 3.10 not found.Solution
actions/setup-pythonin.github/workflows/docs.yml(initialize,docs-shard, anddocfx-shard) to install both Python3.10and3.15on the runnerPATH.noxfile.pysessions target Python3.10, while also providing Python3.15on the runner as packages andgcp-sphinx-docfx-yamlmigrate to Python3.15.Testing
Verified via the
docsanddocfxGitHub Actions CI shards triggered by this workflow change.