From 9feddc8891b7022d40b0fb514b05ee399562fff2 Mon Sep 17 00:00:00 2001 From: Ross Barnowski Date: Fri, 27 Sep 2024 07:36:23 -0700 Subject: [PATCH] Re-add pygraphviz as a dependency. (#137) * Re-add pygraphviz as a dependency. * Try re-ordering installation in macos job. --- .github/workflows/notebooks.yml | 5 ++++- requirements.txt | 3 ++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/notebooks.yml b/.github/workflows/notebooks.yml index 194a2020..ad607227 100644 --- a/.github/workflows/notebooks.yml +++ b/.github/workflows/notebooks.yml @@ -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" \ @@ -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 diff --git a/requirements.txt b/requirements.txt index 72537683..7db40375 100644 --- a/requirements.txt +++ b/requirements.txt @@ -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