Skip to content

Commit 8a4822a

Browse files
authored
bump networkx to 2.7 to fix intermittent CI failure when torch install failed: ImportError: cannot import name 'Mapping' from 'collections' (#4116)
* try to bump networkx to 3.0 * lower to 2.3 * 2.7 seem to pass locally, have a more thorough test * recover pin
1 parent 7b7e61b commit 8a4822a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ dependencies = [
5757
"joblib>=1",
5858
"matplotlib>=3.8",
5959
"monty>=2024.7.29",
60-
"networkx>=2.2",
60+
"networkx>=2.7", # PR #4116
6161
"palettable>=3.3.3",
6262
"pandas>=2",
6363
"plotly>=4.5.0",

0 commit comments

Comments
 (0)