From 68a2a830bb276b4ff7a03a1c19b2ceeefe6a1ee1 Mon Sep 17 00:00:00 2001 From: Marc Mueller <30130371+cdce8p@users.noreply.github.com> Date: Wed, 4 Oct 2023 12:37:10 +0200 Subject: [PATCH] Test build grpcio --- .github/workflows/wheels.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index ec4af27e3726b6..1c1e117b88dae2 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -171,6 +171,11 @@ jobs: split -l $(expr $(expr $(cat requirements_all.txt | wc -l) + 1) / 3) requirements_all.txt requirements_all.txt + - name: Create requirements for cython<3 + run: | + cat homeassistant/package_constraints.txt | grep 'grpcio.*==' > requirements_old-cython.txt + cat requirements_old-cython.txt + - name: Adjust build env run: | if [ "${{ matrix.arch }}" = "i386" ]; then @@ -180,6 +185,22 @@ jobs: # Do not pin numpy in wheels building sed -i "/numpy/d" homeassistant/package_constraints.txt + - name: Build wheels (old cython) + uses: home-assistant/wheels@2023.10.1 + with: + abi: ${{ matrix.abi }} + tag: musllinux_1_2 + 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;uchardet-dev" + skip-binary: aiohttp;charset-normalizer;grpcio;SQLAlchemy;protobuf + constraints: "homeassistant/package_constraints.txt" + requirements-diff: "requirements_diff.txt" + requirements: "requirements_old-cython.txt" + pip: "cython<3" + test: true + - name: Build wheels (part 1) uses: home-assistant/wheels@2023.10.1 with: