Skip to content

Commit

Permalink
Pin asv to latest to fix conda install breakage
Browse files Browse the repository at this point in the history
  • Loading branch information
markcampanelli committed Jan 10, 2025
1 parent 9fb2eb3 commit 136046a
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions .github/workflows/asv_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,19 +26,7 @@ jobs:
python-version: '3.9'

- name: Install asv
run: pip install asv==0.4.2

# asv 0.4.2 (and more recent versions as well) creates conda envs
# using the --force option, which was removed in conda 24.3.
# Since ubuntu-latest now comes with conda 24.3 pre-installed,
# using the system's conda will result in error.
# To prevent that, we install an older version.
# TODO: remove this when we eventually upgrade our asv version.
# https://github.com/airspeed-velocity/asv/issues/1396
- name: Install Conda
uses: conda-incubator/setup-miniconda@v3
with:
conda-version: 24.1.2
run: pip install asv==0.6.4

- name: Run asv benchmarks
run: |
Expand Down

0 comments on commit 136046a

Please sign in to comment.