From d790227fa0ddd0cdaba590b69c6ca4606b72b5ec Mon Sep 17 00:00:00 2001 From: Mark Piper Date: Fri, 11 Oct 2024 14:27:40 -0600 Subject: [PATCH 1/4] Drop Mambaforge in favor of Miniforge --- .github/workflows/test.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2585393..f31fb2c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -28,7 +28,6 @@ jobs: - uses: conda-incubator/setup-miniconda@v3 with: python-version: "${{ matrix.python-version }}" - miniforge-variant: Mambaforge miniforge-version: latest - name: Install nox @@ -51,7 +50,6 @@ jobs: - uses: conda-incubator/setup-miniconda@v3 with: python-version: "3.11" - miniforge-variant: Mambaforge miniforge-version: latest - name: Install nox From 6dcf095728a22fb6af1d386f1c3b8c099890e8c8 Mon Sep 17 00:00:00 2001 From: Mark Piper Date: Fri, 11 Oct 2024 14:48:22 -0600 Subject: [PATCH 2/4] Don't use miniconda for notebook test workflow Just use Python because Miniconda is overkill. And it's bizzarely not working. --- .github/workflows/test.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f31fb2c..007afdb 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -46,11 +46,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - - uses: conda-incubator/setup-miniconda@v3 + - uses: actions/setup-python@v5 with: - python-version: "3.11" - miniforge-version: latest + python-version: 3.11 - name: Install nox run: pip install nox From 5bd48f3a891a921bc211e7d89b0a4eed5e950762 Mon Sep 17 00:00:00 2001 From: Mark Piper Date: Fri, 11 Oct 2024 15:49:37 -0600 Subject: [PATCH 3/4] Revert "Don't use miniconda for notebook test workflow" This reverts commit 6dcf095728a22fb6af1d386f1c3b8c099890e8c8. --- .github/workflows/test.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 007afdb..f31fb2c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -46,9 +46,11 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: actions/setup-python@v5 + + - uses: conda-incubator/setup-miniconda@v3 with: - python-version: 3.11 + python-version: "3.11" + miniforge-version: latest - name: Install nox run: pip install nox From 4e836a2b52dd4ad96cef8774e44707d7dc903f27 Mon Sep 17 00:00:00 2001 From: Mark Piper Date: Fri, 11 Oct 2024 15:51:12 -0600 Subject: [PATCH 4/4] Use conda backend for testing notebooks --- noxfile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/noxfile.py b/noxfile.py index 7a02d9c..31bdfb0 100644 --- a/noxfile.py +++ b/noxfile.py @@ -30,7 +30,7 @@ def test(session: nox.Session) -> None: session.run("pytest", *args) -@nox.session(name="test-notebooks", venv_backend="mamba", python="3.11") +@nox.session(name="test-notebooks", venv_backend="conda", python="3.11") def test_notebooks(session: nox.Session) -> None: """Run the notebooks.""" args = [