Skip to content

Blocklist Python 3.14.1#8372

Merged
MridulS merged 3 commits intonetworkx:mainfrom
rossbar:python-3.14.1
Dec 7, 2025
Merged

Blocklist Python 3.14.1#8372
MridulS merged 3 commits intonetworkx:mainfrom
rossbar:python-3.14.1

Conversation

@rossbar
Copy link
Copy Markdown
Contributor

@rossbar rossbar commented Dec 5, 2025

Reverts #8365 now that Python 3.14.2 is out.

Also adds !=3.14.1 to the requires_python field in pyproject.toml. I'm not sure this is the best way to handle this, but I believe it will at least prevent users from accidentally getting incompatible Python/NetworkX environments moving forward.

@rossbar rossbar added this to the 3.6.1 milestone Dec 5, 2025
@dschult
Copy link
Copy Markdown
Member

dschult commented Dec 6, 2025

Hmmm... how does the t affect comparison of versions?
Do we need to rules out 3.14.1t as well as 3.14.1?
And does >3.11 rule out 3.14t?

@MridulS
Copy link
Copy Markdown
Member

MridulS commented Dec 6, 2025

Do we need to rules out 3.14.1t as well as 3.14.1?

Just tried this locally in a 3.14.1t python env and installing the wheel does error out:

ERROR: Package 'networkx' requires a different Python: 3.14.1 not in '!=3.14.1,>=3.11'

The actions are erroring out as 3.14.2 isn't out on github python releases yet https://github.com/actions/python-versions/releases, so maybe let's revert the revert?

@MridulS MridulS merged commit c38830c into networkx:main Dec 7, 2025
52 checks passed
@dschult dschult modified the milestones: 3.6.1, 3.6 Dec 7, 2025
@dschult
Copy link
Copy Markdown
Member

dschult commented Dec 7, 2025

I'm not sure how the milestone was changed to 3.6 when this was merged. Perhaps an action upon merging?
Anyway, I changed its milestone to 3.6.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

3 participants