diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 8e6cc2398d3..97c87e9b545 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -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']" @@ -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 . diff --git a/homeassistant/package_constraints.txt b/homeassistant/package_constraints.txt index 5a0621f7216..584f42a2b82 100644 --- a/homeassistant/package_constraints.txt +++ b/homeassistant/package_constraints.txt @@ -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 diff --git a/pyproject.toml b/pyproject.toml index 09f326bbce5..c09d7f6854e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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", diff --git a/requirements.txt b/requirements.txt index 623464874c1..785d66a08e3 100644 --- a/requirements.txt +++ b/requirements.txt @@ -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 diff --git a/tox.ini b/tox.ini index b96ab648fa2..cbc98968177 100644 --- a/tox.ini +++ b/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.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}