Skip to content

Commit

Permalink
Re-add pygraphviz as a dependency. (networkx#137)
Browse files Browse the repository at this point in the history
* Re-add pygraphviz as a dependency.

* Try re-ordering installation in macos job.
  • Loading branch information
rossbar authored Sep 27, 2024
1 parent 0332909 commit 9feddc8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/notebooks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ jobs:
- name: Install dependencies
run: |
pip install -U pip
pip install -r requirements.txt
if [ "$RUNNER_OS" == "macOS" ]; then
pip install --config-settings="--global-option=build_ext" \
Expand All @@ -51,8 +50,12 @@ jobs:
pygraphviz
elif [ "$RUNNER_OS" == "Linux" ]; then
pip install pygraphviz
fi
pip install -r requirements.txt
pip list
- name: Lint with precommit
run: |
pip install pre-commit
Expand Down
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
# nx-guides is tested on the development branch of NetworkX
git+https://github.com/networkx/networkx@main

# Scientific Python (see networkx/requirements/default.txt)
# Dependencies for running the tutorials
numpy
scipy
matplotlib
pandas
ipython!=8.7.0
pygraphviz

# For testing and site generation
nbval
Expand Down

0 comments on commit 9feddc8

Please sign in to comment.