Skip to content

Commit 9feddc8

Browse files
authored
Re-add pygraphviz as a dependency. (#137)
* Re-add pygraphviz as a dependency. * Try re-ordering installation in macos job.
1 parent 0332909 commit 9feddc8

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/notebooks.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ jobs:
4242
- name: Install dependencies
4343
run: |
4444
pip install -U pip
45-
pip install -r requirements.txt
4645
4746
if [ "$RUNNER_OS" == "macOS" ]; then
4847
pip install --config-settings="--global-option=build_ext" \
@@ -51,8 +50,12 @@ jobs:
5150
pygraphviz
5251
elif [ "$RUNNER_OS" == "Linux" ]; then
5352
pip install pygraphviz
53+
5454
fi
5555
56+
pip install -r requirements.txt
57+
pip list
58+
5659
- name: Lint with precommit
5760
run: |
5861
pip install pre-commit

requirements.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
# nx-guides is tested on the development branch of NetworkX
22
git+https://github.com/networkx/networkx@main
33

4-
# Scientific Python (see networkx/requirements/default.txt)
4+
# Dependencies for running the tutorials
55
numpy
66
scipy
77
matplotlib
88
pandas
99
ipython!=8.7.0
10+
pygraphviz
1011

1112
# For testing and site generation
1213
nbval

0 commit comments

Comments
 (0)