Skip to content

Commit

Permalink
Update pip constraint to 22.4 (home-assistant#80383)
Browse files Browse the repository at this point in the history
  • Loading branch information
cdce8p authored Oct 16, 2022
1 parent e1cf261 commit 8d4c32e
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ on:
type: boolean

env:
CACHE_VERSION: 2
PIP_CACHE_VERSION: 2
CACHE_VERSION: 3
PIP_CACHE_VERSION: 3
HA_SHORT_VERSION: 2022.11
DEFAULT_PYTHON: 3.9
ALL_PYTHON_VERSIONS: "['3.9', '3.10']"
Expand Down Expand Up @@ -546,7 +546,7 @@ jobs:
python -m venv venv
. venv/bin/activate
python --version
pip install --cache-dir=$PIP_CACHE -U "pip>=21.0,<22.3" setuptools wheel
pip install --cache-dir=$PIP_CACHE -U "pip>=21.0,<22.4" 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 .
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/package_constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ lru-dict==1.1.8
orjson==3.7.11
paho-mqtt==1.6.1
pillow==9.2.0
pip>=21.0,<22.3
pip>=21.0,<22.4
psutil-home-assistant==0.0.1
pyserial==3.5
python-slugify==4.0.1
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ dependencies = [
# PyJWT has loose dependency. We want the latest one.
"cryptography==38.0.1",
"orjson==3.7.11",
"pip>=21.0,<22.3",
"pip>=21.0,<22.4",
"python-slugify==4.0.1",
"pyyaml==6.0",
"requests==2.28.1",
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ lru-dict==1.1.8
PyJWT==2.5.0
cryptography==38.0.1
orjson==3.7.11
pip>=21.0,<22.3
pip>=21.0,<22.4
python-slugify==4.0.1
pyyaml==6.0
requests==2.28.1
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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.3
pip_version = pip>=21.0,<22.4
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}
Expand Down

0 comments on commit 8d4c32e

Please sign in to comment.