From ce9099a38664524cbba8801130cd0107c19aa6c1 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Sun, 26 Mar 2023 12:30:17 -1000 Subject: [PATCH] Bump cryptography to 40.0.1 (#90326) --- homeassistant/package_constraints.txt | 10 +++++----- pyproject.toml | 6 +++--- requirements.txt | 4 ++-- script/gen_requirements_all.py | 6 +++--- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/homeassistant/package_constraints.txt b/homeassistant/package_constraints.txt index c91ab060b5c..cd568947cf4 100644 --- a/homeassistant/package_constraints.txt +++ b/homeassistant/package_constraints.txt @@ -17,7 +17,7 @@ bluetooth-auto-recovery==1.0.3 bluetooth-data-tools==0.3.1 certifi>=2021.5.30 ciso8601==2.3.0 -cryptography==39.0.1 +cryptography==40.0.1 dbus-fast==1.84.2 fnvhash==0.1.0 hass-nabucasa==0.62.0 @@ -35,7 +35,7 @@ paho-mqtt==1.6.1 pillow==9.4.0 pip>=21.0,<23.1 psutil-home-assistant==0.0.1 -pyOpenSSL==23.0.0 +pyOpenSSL==23.1.0 pyserial==3.5 python-slugify==4.0.1 pyudev==0.23.2 @@ -144,9 +144,9 @@ pandas==1.4.3;python_version<'3.11' # We need at least >=2.1.0 (tensorflow integration -> pycocotools) 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 +# pyOpenSSL 23.1.0 or later required to avoid import errors when +# cryptography 40.0.1 is installed with botocore +pyOpenSSL>=23.1.0 # uamqp newer versions we currently can't build for armv7/armhf # Limit this to Python 3.10, to not block Python 3.11 dev for now diff --git a/pyproject.toml b/pyproject.toml index 5d39a99c032..577ba181401 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -41,9 +41,9 @@ dependencies = [ "lru-dict==1.1.8", "PyJWT==2.6.0", # PyJWT has loose dependency. We want the latest one. - "cryptography==39.0.1", - # pyOpenSSL 23.0.0 is required to work with cryptography 39+ - "pyOpenSSL==23.0.0", + "cryptography==40.0.1", + # pyOpenSSL 23.1.0 is required to work with cryptography 39+ + "pyOpenSSL==23.1.0", "orjson==3.8.7", "pip>=21.0,<23.1", "python-slugify==4.0.1", diff --git a/requirements.txt b/requirements.txt index 2386015c844..84726cb49d9 100644 --- a/requirements.txt +++ b/requirements.txt @@ -16,8 +16,8 @@ ifaddr==0.1.7 jinja2==3.1.2 lru-dict==1.1.8 PyJWT==2.6.0 -cryptography==39.0.1 -pyOpenSSL==23.0.0 +cryptography==40.0.1 +pyOpenSSL==23.1.0 orjson==3.8.7 pip>=21.0,<23.1 python-slugify==4.0.1 diff --git a/script/gen_requirements_all.py b/script/gen_requirements_all.py index cd53635d966..564d0e2eb00 100755 --- a/script/gen_requirements_all.py +++ b/script/gen_requirements_all.py @@ -151,9 +151,9 @@ pandas==1.4.3;python_version<'3.11' # We need at least >=2.1.0 (tensorflow integration -> pycocotools) 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 +# pyOpenSSL 23.1.0 or later required to avoid import errors when +# cryptography 40.0.1 is installed with botocore +pyOpenSSL>=23.1.0 # uamqp newer versions we currently can't build for armv7/armhf # Limit this to Python 3.10, to not block Python 3.11 dev for now