From 838db8f16e398c9ed2ad85eb9f7474eeebe0bc76 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Wed, 15 Feb 2023 20:21:09 +0100 Subject: [PATCH] Constrain uamqp for Python 3.10 only --- 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 e1e35898a172d..7c1438370fecd 100644 --- a/homeassistant/package_constraints.txt +++ b/homeassistant/package_constraints.txt @@ -142,3 +142,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 + +# 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 +uamqp==1.6.0;python_version<'3.11' diff --git a/script/gen_requirements_all.py b/script/gen_requirements_all.py index 8c4c2841f2f0d..fd44ed774289e 100755 --- a/script/gen_requirements_all.py +++ b/script/gen_requirements_all.py @@ -150,6 +150,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 + +# 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 +uamqp==1.6.0;python_version<'3.11' """ IGNORE_PRE_COMMIT_HOOK_ID = (