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 - name: Install dependencies
run: | run: |
python -m pip install --upgrade pip wheel 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 hatch --version
########################################### ###########################################

View file

@ -39,7 +39,9 @@ jobs:
- name: Install dependencies - name: Install dependencies
run: | run: |
python -m pip install --upgrade pip 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 - name: Run benchmarks
run: | run: |

View file

@ -5,6 +5,9 @@ requests
types-requests types-requests
whitenoise whitenoise
asv 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-asyncio
pytest-django pytest-django
typing-extensions>=4.12.2 typing-extensions>=4.12.2

View file

@ -18,4 +18,7 @@ whitenoise
pygments pygments
pygments-djc pygments-djc
asv 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 typing-extensions>=4.12.2