Bump azure-servicebus to 7.10.0 (#92866)

This commit is contained in:
Kashif Khan 2023-05-10 05:36:44 -05:00 committed by GitHub
parent 649557ed2e
commit 7439ca5b1a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 2 additions and 19 deletions

View File

@ -141,7 +141,6 @@ jobs:
run: | run: |
requirement_files="requirements_all.txt requirements_diff.txt" requirement_files="requirements_all.txt requirements_diff.txt"
for requirement_file in ${requirement_files}; do for requirement_file in ${requirement_files}; do
sed -i "s|# azure-servicebus|azure-servicebus|g" ${requirement_file}
sed -i "s|# pybluez|pybluez|g" ${requirement_file} sed -i "s|# pybluez|pybluez|g" ${requirement_file}
sed -i "s|# beacontools|beacontools|g" ${requirement_file} sed -i "s|# beacontools|beacontools|g" ${requirement_file}
sed -i "s|# fritzconnection|fritzconnection|g" ${requirement_file} sed -i "s|# fritzconnection|fritzconnection|g" ${requirement_file}
@ -264,12 +263,6 @@ jobs:
# beacontools requires PyBluez. # beacontools requires PyBluez.
# sed -i "s|# beacontools|beacontools|g" ${requirement_file} # sed -i "s|# beacontools|beacontools|g" ${requirement_file}
# azure-servicebus requires uamqp, which requires OpenSSL 1.1 to
# compile/build. This is not available on Alpine 3.17. The compat
# layer offered by Alpine conflicts, so we have no way to build
# this package.
# sed -i "s|# azure-servicebus|azure-servicebus|g" ${requirement_file}
# It doesn't build for some reason, so we skip it for now. # It doesn't build for some reason, so we skip it for now.
# Bumping to the latest version (4.7.0.72) supporting Python 3.11 # Bumping to the latest version (4.7.0.72) supporting Python 3.11
# doesn't help. Reverted bump in #91871. There are 8 registered # doesn't help. Reverted bump in #91871. There are 8 registered

View File

@ -155,7 +155,6 @@ class AzureEventHub:
Suppress the INFO and below logging on the underlying packages, Suppress the INFO and below logging on the underlying packages,
they are very verbose, even at INFO. they are very verbose, even at INFO.
""" """
logging.getLogger("uamqp").setLevel(logging.WARNING)
logging.getLogger("azure.eventhub").setLevel(logging.WARNING) logging.getLogger("azure.eventhub").setLevel(logging.WARNING)
self._listener_remover = self.hass.bus.async_listen( self._listener_remover = self.hass.bus.async_listen(
MATCH_ALL, self.async_listen MATCH_ALL, self.async_listen

View File

@ -5,5 +5,5 @@
"documentation": "https://www.home-assistant.io/integrations/azure_service_bus", "documentation": "https://www.home-assistant.io/integrations/azure_service_bus",
"iot_class": "cloud_push", "iot_class": "cloud_push",
"loggers": ["azure"], "loggers": ["azure"],
"requirements": ["azure-servicebus==7.8.0"] "requirements": ["azure-servicebus==7.10.0"]
} }

View File

@ -152,10 +152,6 @@ matplotlib==3.6.1
# cryptography 40.0.1 is installed with botocore # cryptography 40.0.1 is installed with botocore
pyOpenSSL>=23.1.0 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
uamqp==1.6.0;python_version<'3.11'
# protobuf must be in package constraints for the wheel # protobuf must be in package constraints for the wheel
# builder to build binary wheels # builder to build binary wheels
protobuf==4.22.3 protobuf==4.22.3

View File

@ -407,7 +407,7 @@ axis==48
azure-eventhub==5.11.1 azure-eventhub==5.11.1
# homeassistant.components.azure_service_bus # homeassistant.components.azure_service_bus
# azure-servicebus==7.8.0 azure-servicebus==7.10.0
# homeassistant.components.baidu # homeassistant.components.baidu
baidu-aip==1.6.6 baidu-aip==1.6.6

View File

@ -24,7 +24,6 @@ COMMENT_REQUIREMENTS = (
"atenpdu", # depends on pysnmp which is not maintained at this time "atenpdu", # depends on pysnmp which is not maintained at this time
"avea", # depends on bluepy "avea", # depends on bluepy
"avion", "avion",
"azure-servicebus", # depends on uamqp, which requires OpenSSL 1.1
"beacontools", "beacontools",
"beewi_smartclim", # depends on bluepy "beewi_smartclim", # depends on bluepy
"bluepy", "bluepy",
@ -157,10 +156,6 @@ matplotlib==3.6.1
# cryptography 40.0.1 is installed with botocore # cryptography 40.0.1 is installed with botocore
pyOpenSSL>=23.1.0 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
uamqp==1.6.0;python_version<'3.11'
# protobuf must be in package constraints for the wheel # protobuf must be in package constraints for the wheel
# builder to build binary wheels # builder to build binary wheels
protobuf==4.22.3 protobuf==4.22.3