refactor: pin virtualenv to v20.30 to fix asv

This commit is contained in:
Juro Oravec 2025-05-06 10:09:32 +00:00
parent b13f859d7b
commit ca4e7f7f8b
4 changed files with 12 additions and 2 deletions

View file

@ -56,7 +56,9 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip wheel
python -m pip install -q hatch pre-commit asv
# NOTE: pin virtualenv to <20.31 until asv fixes it.
# See https://github.com/airspeed-velocity/asv/issues/1484
python -m pip install -q hatch pre-commit asv virtualenv==20.30
hatch --version
###########################################

View file

@ -39,7 +39,9 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install asv
# NOTE: pin virtualenv to <20.31 until asv fixes it.
# See https://github.com/airspeed-velocity/asv/issues/1484
pip install asv virtualenv==20.30
- name: Run benchmarks
run: |

View file

@ -5,6 +5,9 @@ requests
types-requests
whitenoise
asv
# NOTE: pin virtualenv to <20.31 until asv fixes integration
# See https://github.com/airspeed-velocity/asv/issues/1484
virtualenv==20.30
pytest-asyncio
pytest-django
typing-extensions>=4.12.2

View file

@ -18,4 +18,7 @@ whitenoise
pygments
pygments-djc
asv
# NOTE: pin virtualenv to <20.31 until asv fixes integration
# See https://github.com/airspeed-velocity/asv/issues/1484
virtualenv==20.30
typing-extensions>=4.12.2