From 6295f91a1fe95e22fe57f78b11503fedd1d02264 Mon Sep 17 00:00:00 2001 From: puddly <32534428+puddly@users.noreply.github.com> Date: Tue, 6 Feb 2024 10:55:51 -0500 Subject: [PATCH] Pin `chacha20poly1305-reuseable>=0.12.1` (#109807) * Pin `chacha20poly1305-reuseable` Prevents a runtime `assert isinstance(cipher, AESGCM)` error * Update `gen_requirements_all.py` as well --- homeassistant/package_constraints.txt | 3 +++ script/gen_requirements_all.py | 3 +++ 2 files changed, 6 insertions(+) diff --git a/homeassistant/package_constraints.txt b/homeassistant/package_constraints.txt index 9b404e623e9..a09c00b7192 100644 --- a/homeassistant/package_constraints.txt +++ b/homeassistant/package_constraints.txt @@ -188,3 +188,6 @@ dacite>=1.7.0 # Musle wheels for pandas 2.2.0 cannot be build for any architecture. pandas==2.1.4 + +# chacha20poly1305-reuseable==0.12.0 is incompatible with cryptography==42.0.x +chacha20poly1305-reuseable>=0.12.1 diff --git a/script/gen_requirements_all.py b/script/gen_requirements_all.py index 64d897b7ee7..3e61a266ae1 100755 --- a/script/gen_requirements_all.py +++ b/script/gen_requirements_all.py @@ -181,6 +181,9 @@ dacite>=1.7.0 # Musle wheels for pandas 2.2.0 cannot be build for any architecture. pandas==2.1.4 + +# chacha20poly1305-reuseable==0.12.0 is incompatible with cryptography==42.0.x +chacha20poly1305-reuseable>=0.12.1 """ GENERATED_MESSAGE = (