From dce60ae0815b747bf4142bd671b49968fa592923 Mon Sep 17 00:00:00 2001 From: Jarek Potiuk Date: Fri, 24 Jun 2022 11:24:17 +0200 Subject: [PATCH] Limit azure-servicebus to not be used on ARM Azure service bus uses uamqp which does not build for ARM architecture and we need to disable it as a dependency for ARM. --- setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index c997322b12bf2..b4baa640b4aee 100644 --- a/setup.py +++ b/setup.py @@ -232,7 +232,8 @@ def write_version(filename: str = os.path.join(*[my_dir, "airflow", "git_version 'azure-storage-blob>=12.7.0,<12.9.0', 'azure-storage-common>=2.1.0', 'azure-storage-file>=2.1.0', - 'azure-servicebus>=7.6.1', + # Limited due to https://github.com/Azure/azure-uamqp-python/issues/191 + 'azure-servicebus>=7.6.1; platform_machine != "aarch64"', ] cassandra = [ 'cassandra-driver>=3.13.0',