diff --git a/python-project-template/.github/workflows/{% if include_benchmarks %}asv-main.yml{% endif %}.jinja b/python-project-template/.github/workflows/{% if include_benchmarks %}asv-main.yml{% endif %}.jinja index 564478e..a7fd5cd 100644 --- a/python-project-template/.github/workflows/{% if include_benchmarks %}asv-main.yml{% endif %}.jinja +++ b/python-project-template/.github/workflows/{% if include_benchmarks %}asv-main.yml{% endif %}.jinja @@ -13,7 +13,7 @@ env: {%- import 'python-versions.jinja' as py%} PYTHON_VERSION: "{{ py.pref(python_versions) }}" {%- raw %} - ASV_VERSION: "0.6.4" + ASV_VERSION: "0.6.5" WORKING_DIR: ${{github.workspace}}/benchmarks concurrency: @@ -38,9 +38,7 @@ jobs: with: fetch-depth: 0 - name: Install dependencies - run: | - pip install asv==${{env.ASV_VERSION}} - pip install virtualenv==20.30 # Temporary fix to airspeed-velocity/asv#1484 + run: pip install asv[virtualenv]==${{env.ASV_VERSION}} - name: Configure git run: | git config user.name "github-actions[bot]" diff --git a/python-project-template/.github/workflows/{% if include_benchmarks %}asv-nightly.yml{% endif %}.jinja b/python-project-template/.github/workflows/{% if include_benchmarks %}asv-nightly.yml{% endif %}.jinja index 6d354f6..75acbed 100644 --- a/python-project-template/.github/workflows/{% if include_benchmarks %}asv-nightly.yml{% endif %}.jinja +++ b/python-project-template/.github/workflows/{% if include_benchmarks %}asv-nightly.yml{% endif %}.jinja @@ -14,7 +14,7 @@ env: {%- import 'python-versions.jinja' as py%} PYTHON_VERSION: "{{ py.pref(python_versions) }}" {%- raw %} - ASV_VERSION: "0.6.4" + ASV_VERSION: "0.6.5" WORKING_DIR: ${{github.workspace}}/benchmarks NIGHTLY_HASH_FILE: nightly-hash @@ -34,9 +34,7 @@ jobs: with: fetch-depth: 0 - name: Install dependencies - run: | - pip install asv==${{env.ASV_VERSION}} - pip install virtualenv==20.30 # Temporary fix to airspeed-velocity/asv#1484 + run: pip install asv[virtualenv]==${{env.ASV_VERSION}} - name: Configure git run: | git config user.name "github-actions[bot]" diff --git a/python-project-template/.github/workflows/{% if include_benchmarks %}asv-pr.yml{% endif %}.jinja b/python-project-template/.github/workflows/{% if include_benchmarks %}asv-pr.yml{% endif %}.jinja index b0f6069..4d83f3a 100644 --- a/python-project-template/.github/workflows/{% if include_benchmarks %}asv-pr.yml{% endif %}.jinja +++ b/python-project-template/.github/workflows/{% if include_benchmarks %}asv-pr.yml{% endif %}.jinja @@ -20,7 +20,7 @@ env: {%- import 'python-versions.jinja' as py%} PYTHON_VERSION: "{{ py.pref(python_versions) }}" {%- raw %} - ASV_VERSION: "0.6.4" + ASV_VERSION: "0.6.5" WORKING_DIR: ${{github.workspace}}/benchmarks ARTIFACTS_DIR: ${{github.workspace}}/artifacts @@ -43,9 +43,7 @@ jobs: run: | echo "Workflow Run ID: ${{github.run_id}}" - name: Install dependencies - run: | - pip install asv==${{env.ASV_VERSION}} lf-asv-formatter - pip install virtualenv==20.30 # Temporary fix to airspeed-velocity/asv#1484 + run: pip install asv[virtualenv]==${{env.ASV_VERSION}} lf-asv-formatter - name: Make artifacts directory run: mkdir -p ${{env.ARTIFACTS_DIR}} - name: Save pull request number diff --git a/python-project-template/pyproject.toml.jinja b/python-project-template/pyproject.toml.jinja index 4c5eef9..c0296cc 100644 --- a/python-project-template/pyproject.toml.jinja +++ b/python-project-template/pyproject.toml.jinja @@ -34,8 +34,7 @@ dependencies = [ [project.optional-dependencies] dev = [ {%- if include_benchmarks %} - "asv==0.6.4", # Used to compute performance benchmarks - "virtualenv==20.30", # Temporary fix to airspeed-velocity/asv#1484 + "asv[virtualenv]==0.6.5", # Used to compute performance benchmarks {%- endif %} {%- if 'black' in enforce_style %} "black", # Used for static linting of files