mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 16:57:53 +00:00
Allow for using pip 22.1(.x) (#72348)
This commit is contained in:
parent
373ad21ce3
commit
ea05bd8c2e
4
.github/workflows/ci.yaml
vendored
4
.github/workflows/ci.yaml
vendored
@ -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
|
||||
|
2
tox.ini
2
tox.ini
@ -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}
|
||||
|
Loading…
x
Reference in New Issue
Block a user