From 3708db59ee1b2a1e423196398a72ffc2f22e6ea2 Mon Sep 17 00:00:00 2001 From: "Philipp A." Date: Tue, 22 Oct 2024 16:04:21 +0200 Subject: [PATCH 1/4] Attempt to fix benchmark run --- .github/workflows/benchmark.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index f46beb094..18f58cd07 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -25,7 +25,7 @@ jobs: ASV_DIR: "./benchmarks" steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: fetch-depth: 0 @@ -33,18 +33,18 @@ jobs: if: ${{ github.ref_name != 'main' }} # Errors on main branch - - uses: mamba-org/setup-micromamba@v1 + - uses: mamba-org/setup-micromamba@v2 with: environment-name: asv cache-environment: true create-args: >- - python=3.11 + python=${{ matrix.python }} asv - mamba + libmambapy packaging - name: Cache datasets - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | ~/.cache From 6de9a6cc09cb5a911269ffccf0981e7e6a0a742a Mon Sep 17 00:00:00 2001 From: "Philipp A." Date: Tue, 22 Oct 2024 16:55:48 +0200 Subject: [PATCH 2/4] add conda-build --- .github/workflows/benchmark.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 18f58cd07..39bc9c758 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -41,7 +41,7 @@ jobs: python=${{ matrix.python }} asv libmambapy - packaging + conda-build - name: Cache datasets uses: actions/cache@v4 From 5fc8df6e4e2e165ca7b90c52a9336ce299fa3853 Mon Sep 17 00:00:00 2001 From: "Philipp A." Date: Tue, 22 Oct 2024 16:59:31 +0200 Subject: [PATCH 3/4] add link --- .github/workflows/benchmark.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 39bc9c758..aec12e312 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -37,6 +37,7 @@ jobs: with: environment-name: asv cache-environment: true + # Deps documented in https://asv.readthedocs.io/en/latest/installing.html create-args: >- python=${{ matrix.python }} asv From 9002c636b3e0efd82b2f8a0b0e71fb72f4e449e6 Mon Sep 17 00:00:00 2001 From: "Philipp A." Date: Tue, 22 Oct 2024 17:12:49 +0200 Subject: [PATCH 4/4] upper bound --- .github/workflows/benchmark.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index aec12e312..b7355b6b5 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -38,10 +38,11 @@ jobs: environment-name: asv cache-environment: true # Deps documented in https://asv.readthedocs.io/en/latest/installing.html + # libmambapy upper bound: https://github.com/airspeed-velocity/asv/issues/1438 create-args: >- python=${{ matrix.python }} asv - libmambapy + libmambapy<2 conda-build - name: Cache datasets