Skip to content

Commit

Permalink
CI: Fix up macos pygraphviz install (#134)
Browse files Browse the repository at this point in the history
  • Loading branch information
MridulS authored Sep 7, 2024
1 parent cac78da commit 0332909
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/notebooks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,15 @@ jobs:
pip install -U pip
pip install -r requirements.txt
if [ "$RUNNER_OS" == "macOS" ]; then
pip install --config-settings="--global-option=build_ext" \
--config-settings="--global-option=-I$(brew --prefix graphviz)/include/" \
--config-settings="--global-option=-L$(brew --prefix graphviz)/lib/" \
pygraphviz
elif [ "$RUNNER_OS" == "Linux" ]; then
pip install pygraphviz
fi
- name: Lint with precommit
run: |
pip install pre-commit
Expand Down
4 changes: 0 additions & 4 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,3 @@ sphinx-book-theme
jupytext
black
pyupgrade

# Notebook requirements
pygraphviz

0 comments on commit 0332909

Please sign in to comment.