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