Skip to content

Commit 38f04f3

Browse files
committed
Upgrade networkx to support Numpy 2 to support Python 3.13
This is a piece of PR #3646 to support Python 3.13 networkx 3.2 is the first version to support numpy 2. Later versions do not support Python 3.9.
1 parent a514a68 commit 38f04f3

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

setup.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,13 @@
1111
'sqlalchemy>=1.4,<2'
1212
],
1313
'visualization' : [
14-
'pydot',
15-
'networkx>=2.5,<2.6',
14+
# this pydot bound is copied from networkx's pyproject.toml,
15+
# version 3.2 (aa2de1adecea09f7b86ff6093b212ca86f22b3ef),
16+
# because networkx[extra] installs quite a lot of extra stuff
17+
# that needs more OS dependencies in addition to pydot.
18+
'pydot>=1.4.2',
19+
20+
'networkx>=3.2,<3.3',
1621
'Flask>=1.0.2',
1722
'flask_sqlalchemy',
1823
'pandas<2.2',

0 commit comments

Comments
 (0)