Skip to content

Commit

Permalink
bump networkx to 2.7 to fix intermittent CI failure when torch in…
Browse files Browse the repository at this point in the history
…stall 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
  • Loading branch information
DanielYang59 authored Oct 21, 2024
1 parent 7b7e61b commit 8a4822a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ dependencies = [
"joblib>=1",
"matplotlib>=3.8",
"monty>=2024.7.29",
"networkx>=2.2",
"networkx>=2.7", # PR #4116
"palettable>=3.3.3",
"pandas>=2",
"plotly>=4.5.0",
Expand Down

0 comments on commit 8a4822a

Please sign in to comment.