From e1a27e4aba6437d1a73b242d521e689b203efa77 Mon Sep 17 00:00:00 2001 From: Marc Mueller <30130371+cdce8p@users.noreply.github.com> Date: Tue, 7 Feb 2023 00:10:22 +0100 Subject: [PATCH 1/2] Pin platformdirs to resolve dependency conflict --- homeassistant/package_constraints.txt | 4 ++++ script/gen_requirements_all.py | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/homeassistant/package_constraints.txt b/homeassistant/package_constraints.txt index 5c33d3d7c8f482..290c7e6436496f 100644 --- a/homeassistant/package_constraints.txt +++ b/homeassistant/package_constraints.txt @@ -145,3 +145,7 @@ matplotlib==3.6.1 # pyOpenSSL 23.0.0 or later required to avoid import errors when # cryptography 39.0.0 is installed with botocore pyOpenSSL>=23.0.0 + +# virtualenv 20.18 only compatible with <3 +# https://github.com/pypa/virtualenv/issues/2499 +platformdirs<3 diff --git a/script/gen_requirements_all.py b/script/gen_requirements_all.py index 4456a3312b5f41..e55479de8ea938 100755 --- a/script/gen_requirements_all.py +++ b/script/gen_requirements_all.py @@ -153,6 +153,10 @@ # pyOpenSSL 23.0.0 or later required to avoid import errors when # cryptography 39.0.0 is installed with botocore pyOpenSSL>=23.0.0 + +# virtualenv 20.18 only compatible with <3 +# https://github.com/pypa/virtualenv/issues/2499 +platformdirs<3 """ IGNORE_PRE_COMMIT_HOOK_ID = ( From 1ea2eb1be8e84240ebe539c45a181422a8a5888f Mon Sep 17 00:00:00 2001 From: Marc Mueller <30130371+cdce8p@users.noreply.github.com> Date: Tue, 7 Feb 2023 01:20:49 +0100 Subject: [PATCH 2/2] Bump cache version to trigger rebuild --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 1348f690d3af72..3db21d09ce0f3f 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -28,7 +28,7 @@ on: type: boolean env: - CACHE_VERSION: 4 + CACHE_VERSION: 5 PIP_CACHE_VERSION: 4 MYPY_CACHE_VERSION: 3 HA_SHORT_VERSION: 2023.3