Allow for using pip 22.1(.x) (#72348)

This commit is contained in:
Franck Nijhof 2022-05-23 11:58:19 +02:00 committed by GitHub
parent 373ad21ce3
commit ea05bd8c2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 6 additions and 6 deletions

View File

@ -203,7 +203,7 @@ jobs:
python -m venv venv
. venv/bin/activate
python --version
pip install --cache-dir=$PIP_CACHE -U "pip>=21.0,<22.1" setuptools wheel
pip install --cache-dir=$PIP_CACHE -U "pip>=21.0,<22.2" setuptools wheel
pip install --cache-dir=$PIP_CACHE -r requirements.txt -r requirements_test.txt --use-deprecated=legacy-resolver
- name: Generate partial pre-commit restore key
id: generate-pre-commit-key
@ -608,7 +608,7 @@ jobs:
python -m venv venv
. venv/bin/activate
python --version
pip install --cache-dir=$PIP_CACHE -U "pip>=21.0,<22.1" setuptools wheel
pip install --cache-dir=$PIP_CACHE -U "pip>=21.0,<22.2" setuptools wheel
pip install --cache-dir=$PIP_CACHE -r requirements_all.txt --use-deprecated=legacy-resolver
pip install --cache-dir=$PIP_CACHE -r requirements_test.txt --use-deprecated=legacy-resolver
pip install -e .

View File

@ -22,7 +22,7 @@ jinja2==3.1.2
lru-dict==1.1.7
paho-mqtt==1.6.1
pillow==9.1.0
pip>=21.0,<22.1
pip>=21.0,<22.2
pyserial==3.5
python-slugify==4.0.1
pyudev==0.22.0

View File

@ -15,7 +15,7 @@ ifaddr==0.1.7
jinja2==3.1.2
PyJWT==2.4.0
cryptography==36.0.2
pip>=21.0,<22.1
pip>=21.0,<22.2
python-slugify==4.0.1
pyyaml==6.0
requests==2.27.1

View File

@ -48,7 +48,7 @@ install_requires =
PyJWT==2.4.0
# PyJWT has loose dependency. We want the latest one.
cryptography==36.0.2
pip>=21.0,<22.1
pip>=21.0,<22.2
python-slugify==4.0.1
pyyaml==6.0
requests==2.27.1

View File

@ -7,7 +7,7 @@ isolated_build = True
[testenv]
basepython = {env:PYTHON3_PATH:python3}
# pip version duplicated in homeassistant/package_constraints.txt
pip_version = pip>=21.0,<22.1
pip_version = pip>=21.0,<22.2
install_command = python -m pip install --use-deprecated legacy-resolver {opts} {packages}
commands =
{envpython} -X dev -m pytest --timeout=9 --durations=10 -n auto --dist=loadfile -qq -o console_output_style=count -p no:sugar {posargs}