Skip to content

Commit 416437d

Browse files
authored
Unpin virtualenv (#553)
1 parent 8ed2d9b commit 416437d

File tree

4 files changed

+7
-14
lines changed

4 files changed

+7
-14
lines changed

python-project-template/.github/workflows/{% if include_benchmarks %}asv-main.yml{% endif %}.jinja

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ env:
1313
{%- import 'python-versions.jinja' as py%}
1414
PYTHON_VERSION: "{{ py.pref(python_versions) }}"
1515
{%- raw %}
16-
ASV_VERSION: "0.6.4"
16+
ASV_VERSION: "0.6.5"
1717
WORKING_DIR: ${{github.workspace}}/benchmarks
1818

1919
concurrency:
@@ -38,9 +38,7 @@ jobs:
3838
with:
3939
fetch-depth: 0
4040
- name: Install dependencies
41-
run: |
42-
pip install asv==${{env.ASV_VERSION}}
43-
pip install virtualenv==20.30 # Temporary fix to airspeed-velocity/asv#1484
41+
run: pip install asv[virtualenv]==${{env.ASV_VERSION}}
4442
- name: Configure git
4543
run: |
4644
git config user.name "github-actions[bot]"

python-project-template/.github/workflows/{% if include_benchmarks %}asv-nightly.yml{% endif %}.jinja

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ env:
1414
{%- import 'python-versions.jinja' as py%}
1515
PYTHON_VERSION: "{{ py.pref(python_versions) }}"
1616
{%- raw %}
17-
ASV_VERSION: "0.6.4"
17+
ASV_VERSION: "0.6.5"
1818
WORKING_DIR: ${{github.workspace}}/benchmarks
1919
NIGHTLY_HASH_FILE: nightly-hash
2020

@@ -34,9 +34,7 @@ jobs:
3434
with:
3535
fetch-depth: 0
3636
- name: Install dependencies
37-
run: |
38-
pip install asv==${{env.ASV_VERSION}}
39-
pip install virtualenv==20.30 # Temporary fix to airspeed-velocity/asv#1484
37+
run: pip install asv[virtualenv]==${{env.ASV_VERSION}}
4038
- name: Configure git
4139
run: |
4240
git config user.name "github-actions[bot]"

python-project-template/.github/workflows/{% if include_benchmarks %}asv-pr.yml{% endif %}.jinja

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ env:
2020
{%- import 'python-versions.jinja' as py%}
2121
PYTHON_VERSION: "{{ py.pref(python_versions) }}"
2222
{%- raw %}
23-
ASV_VERSION: "0.6.4"
23+
ASV_VERSION: "0.6.5"
2424
WORKING_DIR: ${{github.workspace}}/benchmarks
2525
ARTIFACTS_DIR: ${{github.workspace}}/artifacts
2626

@@ -43,9 +43,7 @@ jobs:
4343
run: |
4444
echo "Workflow Run ID: ${{github.run_id}}"
4545
- name: Install dependencies
46-
run: |
47-
pip install asv==${{env.ASV_VERSION}} lf-asv-formatter
48-
pip install virtualenv==20.30 # Temporary fix to airspeed-velocity/asv#1484
46+
run: pip install asv[virtualenv]==${{env.ASV_VERSION}} lf-asv-formatter
4947
- name: Make artifacts directory
5048
run: mkdir -p ${{env.ARTIFACTS_DIR}}
5149
- name: Save pull request number

python-project-template/pyproject.toml.jinja

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@ dependencies = [
3434
[project.optional-dependencies]
3535
dev = [
3636
{%- if include_benchmarks %}
37-
"asv==0.6.4", # Used to compute performance benchmarks
38-
"virtualenv==20.30", # Temporary fix to airspeed-velocity/asv#1484
37+
"asv[virtualenv]==0.6.5", # Used to compute performance benchmarks
3938
{%- endif %}
4039
{%- if 'black' in enforce_style %}
4140
"black", # Used for static linting of files

0 commit comments

Comments
 (0)