From f41b69e19e4c13cc8a865f380a2ca020d9dc2750 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Sun, 25 Sep 2022 17:39:42 -0400 Subject: [PATCH] Bump cryptography to 38 (#79067) --- homeassistant/components/cloud/manifest.json | 2 +- homeassistant/package_constraints.txt | 7 ++----- pyproject.toml | 2 +- requirements.txt | 2 +- requirements_all.txt | 2 +- requirements_test_all.txt | 2 +- script/gen_requirements_all.py | 3 --- 7 files changed, 7 insertions(+), 13 deletions(-) diff --git a/homeassistant/components/cloud/manifest.json b/homeassistant/components/cloud/manifest.json index 02ffa0a4775..3a6d942f5ea 100644 --- a/homeassistant/components/cloud/manifest.json +++ b/homeassistant/components/cloud/manifest.json @@ -2,7 +2,7 @@ "domain": "cloud", "name": "Home Assistant Cloud", "documentation": "https://www.home-assistant.io/integrations/cloud", - "requirements": ["hass-nabucasa==0.55.0"], + "requirements": ["hass-nabucasa==0.56.0"], "dependencies": ["http", "webhook"], "after_dependencies": ["google_assistant", "alexa"], "codeowners": ["@home-assistant/cloud"], diff --git a/homeassistant/package_constraints.txt b/homeassistant/package_constraints.txt index 4198b4ee62b..b285f568824 100644 --- a/homeassistant/package_constraints.txt +++ b/homeassistant/package_constraints.txt @@ -16,10 +16,10 @@ bluetooth-adapters==0.5.1 bluetooth-auto-recovery==0.3.3 certifi>=2021.5.30 ciso8601==2.2.0 -cryptography==37.0.4 +cryptography==38.0.1 dbus-fast==1.13.0 fnvhash==0.1.0 -hass-nabucasa==0.55.0 +hass-nabucasa==0.56.0 home-assistant-bluetooth==1.3.0 home-assistant-frontend==20220907.2 httpx==0.23.0 @@ -132,6 +132,3 @@ iso4217!=1.10.20220401 # Pandas 1.4.4 has issues with wheels om armhf + Py3.10 pandas==1.4.3 - -# pyopenssl 22.1.0 requires pycryptography > 38 and we have 37 -pyopenssl==22.0.0 diff --git a/pyproject.toml b/pyproject.toml index 8381098badd..c76b015c84a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -42,7 +42,7 @@ dependencies = [ "lru-dict==1.1.8", "PyJWT==2.5.0", # PyJWT has loose dependency. We want the latest one. - "cryptography==37.0.4", + "cryptography==38.0.1", "orjson==3.7.11", "pip>=21.0,<22.3", "python-slugify==4.0.1", diff --git a/requirements.txt b/requirements.txt index 2f36b947bca..28d3c11081b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -16,7 +16,7 @@ ifaddr==0.1.7 jinja2==3.1.2 lru-dict==1.1.8 PyJWT==2.5.0 -cryptography==37.0.4 +cryptography==38.0.1 orjson==3.7.11 pip>=21.0,<22.3 python-slugify==4.0.1 diff --git a/requirements_all.txt b/requirements_all.txt index ffed2fdba6f..894ca325b44 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -829,7 +829,7 @@ habitipy==0.2.0 hangups==0.4.18 # homeassistant.components.cloud -hass-nabucasa==0.55.0 +hass-nabucasa==0.56.0 # homeassistant.components.splunk hass_splunk==0.1.1 diff --git a/requirements_test_all.txt b/requirements_test_all.txt index 1b268270ff0..9d771174d23 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -615,7 +615,7 @@ habitipy==0.2.0 hangups==0.4.18 # homeassistant.components.cloud -hass-nabucasa==0.55.0 +hass-nabucasa==0.56.0 # homeassistant.components.tasmota hatasmota==0.6.1 diff --git a/script/gen_requirements_all.py b/script/gen_requirements_all.py index eec89d4210c..d0eb830f088 100755 --- a/script/gen_requirements_all.py +++ b/script/gen_requirements_all.py @@ -142,9 +142,6 @@ iso4217!=1.10.20220401 # Pandas 1.4.4 has issues with wheels om armhf + Py3.10 pandas==1.4.3 - -# pyopenssl 22.1.0 requires pycryptography > 38 and we have 37 -pyopenssl==22.0.0 """ IGNORE_PRE_COMMIT_HOOK_ID = (