Skip to content

Update networkx dependency version to 3.4.2#1

Merged
TomHilder merged 4 commits intoTomHilder:mainfrom
andycasey:patch-1
Feb 2, 2026
Merged

Update networkx dependency version to 3.4.2#1
TomHilder merged 4 commits intoTomHilder:mainfrom
andycasey:patch-1

Conversation

@andycasey
Copy link
Copy Markdown
Contributor

The current constraints cannot be satisfied for Python 3.10 because networkx>=3.5 requires Python 3.11.

If you allow for networkx>=3.4.2, then Python 3.10 can be used too.

Ignore or close as you wish!

The current constraints cannot be satisfied for Python 3.10 because networkx>=3.5 requires Python 3.11. 

If you allow for networkx>=3.4.2, then Python 3.10 can be used too.
@andycasey
Copy link
Copy Markdown
Contributor Author

oh wait, i remember it is the type LeafPath stuff that means 3.10 is no good

@andycasey
Copy link
Copy Markdown
Contributor Author

and 3.11 for that matter

@TomHilder
Copy link
Copy Markdown
Owner

TomHilder commented Nov 19, 2025

It is a shame that the type hinting I used requires such recent versions. Especially since it doesn't do anything at runtime.

I'm thinking I'd be happy to relax the networkx requirement anyway since it's just used for a plotting utility and if you want to have a hacky pre-3.12 install it doesn't bother me.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request reduces the minimum required version of the networkx dependency from 3.5 to 3.4.2 to enable Python 3.10 compatibility. NetworkX 3.5+ requires Python 3.11, which conflicts with the project's stated requirement of Python >=3.10.

Changes:

  • Updated networkx minimum version constraint from >=3.5 to >=3.4.2 in dependencies

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread pyproject.toml Outdated
@TomHilder
Copy link
Copy Markdown
Owner

Fixed by also relaxing types-networkx dependency to appropriate version.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread pyproject.toml Outdated
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@TomHilder
Copy link
Copy Markdown
Owner

I think after copilot's suggestion to keep networkx>=3.4, we should also do the same for types-networkx>=3.4 instead of 3.4.2.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread pyproject.toml Outdated
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@codecov
Copy link
Copy Markdown

codecov Bot commented Feb 2, 2026

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

@TomHilder TomHilder merged commit f567b5f into TomHilder:main Feb 2, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants