Skip to content
Permalink
Browse files
Allow for using pip 22.1(.x) (#72348)
  • Loading branch information
frenck committed May 23, 2022
1 parent 373ad21 commit ea05bd8c2ed0eb6acaea722e3a2432f5371d994d
Showing 5 changed files with 6 additions and 6 deletions.
@@ -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 .
@@ -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
@@ -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
@@ -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
@@ -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}

0 comments on commit ea05bd8

Please sign in to comment.