Wheels: Don't build azure-servicebus on cp311 (#91862)
parent
fe2c11a698
commit
0f80d0625a
|
@ -137,6 +137,7 @@ jobs:
|
|||
run: |
|
||||
requirement_files="requirements_all.txt requirements_diff.txt"
|
||||
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|# beacontools|beacontools|g" ${requirement_file}
|
||||
sed -i "s|# fritzconnection|fritzconnection|g" ${requirement_file}
|
||||
|
@ -258,6 +259,12 @@ jobs:
|
|||
# try to install it.
|
||||
# sed -i "s|# pybluez|pybluez|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}
|
||||
|
||||
sed -i "s|# beacontools|beacontools|g" ${requirement_file}
|
||||
sed -i "s|# fritzconnection|fritzconnection|g" ${requirement_file}
|
||||
sed -i "s|# pyuserinput|pyuserinput|g" ${requirement_file}
|
||||
|
@ -301,7 +308,7 @@ jobs:
|
|||
arch: ${{ matrix.arch }}
|
||||
wheels-key: ${{ secrets.WHEELS_KEY }}
|
||||
env-file: true
|
||||
apk: "bluez-dev;libffi-dev;openssl-dev;glib-dev;eudev-dev;libxml2-dev;libxslt-dev;libpng-dev;libjpeg-turbo-dev;tiff-dev;cups-dev;gmp-dev;mpfr-dev;mpc1-dev;ffmpeg-dev;gammu-dev;yaml-dev;openblas-dev;fftw-dev;lapack-dev;gfortran;blas-dev;eigen-dev;freetype-dev;glew-dev;harfbuzz-dev;hdf5-dev;libdc1394-dev;libtbb-dev;mesa-dev;openexr-dev;openjpeg-dev;openssl1.1-compat-dev;uchardet-dev"
|
||||
apk: "bluez-dev;libffi-dev;openssl-dev;glib-dev;eudev-dev;libxml2-dev;libxslt-dev;libpng-dev;libjpeg-turbo-dev;tiff-dev;cups-dev;gmp-dev;mpfr-dev;mpc1-dev;ffmpeg-dev;gammu-dev;yaml-dev;openblas-dev;fftw-dev;lapack-dev;gfortran;blas-dev;eigen-dev;freetype-dev;glew-dev;harfbuzz-dev;hdf5-dev;libdc1394-dev;libtbb-dev;mesa-dev;openexr-dev;openjpeg-dev;uchardet-dev"
|
||||
skip-binary: aiohttp;grpcio;sqlalchemy;protobuf
|
||||
legacy: true
|
||||
constraints: "homeassistant/package_constraints.txt"
|
||||
|
@ -316,7 +323,7 @@ jobs:
|
|||
arch: ${{ matrix.arch }}
|
||||
wheels-key: ${{ secrets.WHEELS_KEY }}
|
||||
env-file: true
|
||||
apk: "bluez-dev;libffi-dev;openssl-dev;glib-dev;eudev-dev;libxml2-dev;libxslt-dev;libpng-dev;libjpeg-turbo-dev;tiff-dev;cups-dev;gmp-dev;mpfr-dev;mpc1-dev;ffmpeg-dev;gammu-dev;yaml-dev;openblas-dev;fftw-dev;lapack-dev;gfortran;blas-dev;eigen-dev;freetype-dev;glew-dev;harfbuzz-dev;hdf5-dev;libdc1394-dev;libtbb-dev;mesa-dev;openexr-dev;openjpeg-dev;openssl1.1-compat-dev;uchardet-dev"
|
||||
apk: "bluez-dev;libffi-dev;openssl-dev;glib-dev;eudev-dev;libxml2-dev;libxslt-dev;libpng-dev;libjpeg-turbo-dev;tiff-dev;cups-dev;gmp-dev;mpfr-dev;mpc1-dev;ffmpeg-dev;gammu-dev;yaml-dev;openblas-dev;fftw-dev;lapack-dev;gfortran;blas-dev;eigen-dev;freetype-dev;glew-dev;harfbuzz-dev;hdf5-dev;libdc1394-dev;libtbb-dev;mesa-dev;openexr-dev;openjpeg-dev;uchardet-dev"
|
||||
skip-binary: aiohttp;grpcio;sqlalchemy;protobuf
|
||||
legacy: true
|
||||
constraints: "homeassistant/package_constraints.txt"
|
||||
|
|
|
@ -4,8 +4,13 @@ from __future__ import annotations
|
|||
import json
|
||||
import logging
|
||||
|
||||
# pylint: disable-next=import-error, no-name-in-module
|
||||
from azure.servicebus import ServiceBusMessage
|
||||
|
||||
# pylint: disable-next=import-error, no-name-in-module
|
||||
from azure.servicebus.aio import ServiceBusClient, ServiceBusSender
|
||||
|
||||
# pylint: disable-next=import-error, no-name-in-module
|
||||
from azure.servicebus.exceptions import (
|
||||
MessagingEntityNotFoundError,
|
||||
ServiceBusConnectionError,
|
||||
|
|
|
@ -404,7 +404,7 @@ axis==47
|
|||
azure-eventhub==5.11.1
|
||||
|
||||
# homeassistant.components.azure_service_bus
|
||||
azure-servicebus==7.8.0
|
||||
# azure-servicebus==7.8.0
|
||||
|
||||
# homeassistant.components.baidu
|
||||
baidu-aip==1.6.6
|
||||
|
|
|
@ -23,6 +23,7 @@ COMMENT_REQUIREMENTS = (
|
|||
"Adafruit_BBIO",
|
||||
"avea", # depends on bluepy
|
||||
"avion",
|
||||
"azure-servicebus", # depends on uamqp, which requires OpenSSL 1.1
|
||||
"beacontools",
|
||||
"beewi_smartclim", # depends on bluepy
|
||||
"bluepy",
|
||||
|
|
Loading…
Reference in New Issue