Repository navigation
Update deploy-docs yml to use Python 3.12 when deploying the docs - #8102
Merged
Merged
Conversation
Schefflera-Arboricola
approved these changes
Jun 5, 2025
amcandio
pushed a commit
to amcandio/networkx
that referenced
this pull request
Jul 20, 2025
…tworkx#8102) update to Python 3.12 in the deploy-docs script
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.
I'm not sure what the big-scale implications are of changing this. So please check if it makes sense.
nx-parallel is used when deploying the docs in a yml file that runs with Python 3.11. We just shifted the python version requirements of nx-parallel to Python 3.12+ so we could use
itertools.batched(which was added in 3.12). We could of course write our own version of that tools and include it in nx-parallel and then remove it again after the Python 3.14 release. But we'd prefer to just up the requirements-- it is unlikely we will have a release of nx-parallel before October anyway.Is there a reason the docs are deployed using Python 3.11?
We are using the latest github
mainbranch for nx-parallel and nx-cugraph when building our docs. Is it OK to make the docs with a newer Python than our minimal requirement?This PR tries to update the deploy-docs so they use Python 3.12 when deploying.