Repository navigation
Add Python 3.14 to testing matrix - #8096
Merged
Merged
Conversation
Peiffap
approved these changes
Jun 4, 2025
Peiffap
left a comment
Member
There was a problem hiding this comment.
LGTM! +0 on making separate PRs for these issues, especially if we want to consider free-threading on 3.13 as well (see comment).
| matrix: | ||
| os: [ubuntu, macos, windows] | ||
| python-version: ["3.13"] | ||
| python-version: ["3.13", "3.14-dev", "3.14t-dev"] |
Member
There was a problem hiding this comment.
Doesn't 3.13 have experimental free-threading support too?
It'd be nice imo to test free-threading with dependencies where it might actually break stuff.
That's probably a separate issue from this PR, though. In general, I'm +1 on testing more extensively!
Member
|
Thanks @rossbar!! |
amcandio
pushed a commit
to amcandio/networkx
that referenced
this pull request
Jul 20, 2025
* Add Python 3.14 to CI testing w/out dependencies. * Fix networkxgh-8091 --------- Co-authored-by: Dan Schult <[email protected]>
Merged
2 tasks
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.
Inspired by #8091 - adds Python 3.14 to the testing matrix in CI. Specifically, it adds 3.14 testing only to the
basejobs, i.e. the ones without dependencies. This is to avoid conflicts for default dependencies that do not yet supply 3.14 wheels (it looks like only NumPy does so at this point).Also includes a fix for #8091 which fails on Pythoon 3.14. I'm happy to break this out in a follow-up PR if folks prefer to keep the CI config/code changes separate.
Fizes #8091
Finally - I arbitrarily chose to include 3.14 both with and without free-threaded support (the
3.14t-dev). In principle this shouldn't affect networkx at all (i.e. networkx without dependencies) so we could remove it.