diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index bcb2595bf00..75caa662e2a 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -42,6 +42,10 @@ jobs: echo "GRPC_PYTHON_BUILD_SYSTEM_OPENSSL=true" echo "GRPC_PYTHON_BUILD_WITH_CYTHON=true" echo "GRPC_PYTHON_DISABLE_LIBC_COMPATIBILITY=true" + # GRPC on armv7 needs -lexecinfo (issue #56669) since home assistant installs + # execinfo-dev when building wheels. The setup.py does not have an option for + # adding a single LDFLAG so copy all relevant linux flags here (as of 1.43.0) + echo "GRPC_PYTHON_LDFLAGS=-lpthread -Wl,-wrap,memcpy -static-libgcc -lexecinfo" ) > .env_file - name: Upload env_file @@ -160,7 +164,7 @@ jobs: env-file: true apk: "build-base;cmake;git;linux-headers;libexecinfo-dev;bluez-dev;libffi-dev;openssl-dev;glib-dev;eudev-dev;libxml2-dev;libxslt-dev;libpng-dev;libjpeg-turbo-dev;tiff-dev;autoconf;automake;cups-dev;gmp-dev;mpfr-dev;mpc1-dev;ffmpeg-dev;gammu-dev;cargo" pip: "Cython;numpy;scikit-build" - skip-binary: aiohttp + skip-binary: aiohttp,grpcio constraints: "homeassistant/package_constraints.txt" requirements-diff: 'requirements_diff.txt' requirements: "requirements_all.txt"