From cd15611f8b46c4763b40687659b5c65dfdec4a9a Mon Sep 17 00:00:00 2001 From: Marc Mueller <30130371+cdce8p@users.noreply.github.com> Date: Sat, 9 Nov 2024 01:39:07 +0100 Subject: [PATCH 1/2] Only build custom wheels --- .github/workflows/wheels.yml | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index b9f54bba081..8143b41ec3e 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -106,7 +106,7 @@ jobs: core: name: Build Core wheels ${{ matrix.abi }} for ${{ matrix.arch }} (musllinux_1_2) - if: github.repository_owner == 'home-assistant' + if: false && github.repository_owner == 'home-assistant' needs: init runs-on: ubuntu-latest strategy: @@ -208,9 +208,27 @@ jobs: touch requirements_old-cython.txt cat homeassistant/package_constraints.txt | grep 'pydantic==' >> requirements_old-cython.txt + - name: Create requirements file for custom build + run: | + touch requirements_custom.txt + + - name: Build wheels (custom) + uses: cdce8p/wheels@master + 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;nasm" + skip-binary: aiohttp;charset-normalizer;grpcio;multidict;SQLAlchemy;propcache;protobuf;pymicro-vad;yarl + constraints: "homeassistant/package_constraints.txt" + requirements-diff: "requirements_diff.txt" + requirements: "requirements_custom.txt" + - name: Build wheels (old cython) uses: home-assistant/wheels@2024.11.0 - if: matrix.abi == 'cp312' + if: false && matrix.abi == 'cp312' with: abi: ${{ matrix.abi }} tag: musllinux_1_2 @@ -226,6 +244,7 @@ jobs: - name: Build wheels (part 1) uses: home-assistant/wheels@2024.11.0 + if: false with: abi: ${{ matrix.abi }} tag: musllinux_1_2 @@ -240,6 +259,7 @@ jobs: - name: Build wheels (part 2) uses: home-assistant/wheels@2024.11.0 + if: false with: abi: ${{ matrix.abi }} tag: musllinux_1_2 @@ -254,6 +274,7 @@ jobs: - name: Build wheels (part 3) uses: home-assistant/wheels@2024.11.0 + if: false with: abi: ${{ matrix.abi }} tag: musllinux_1_2 From 5142f1fc7bc2ba9753ddf80c47ee856ad0f5c3e3 Mon Sep 17 00:00:00 2001 From: Marc Mueller <30130371+cdce8p@users.noreply.github.com> Date: Sat, 9 Nov 2024 01:39:40 +0100 Subject: [PATCH 2/2] Build cython 3.0.11 --- .github/workflows/wheels.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 8143b41ec3e..c0c26c1899a 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -211,6 +211,7 @@ jobs: - name: Create requirements file for custom build run: | touch requirements_custom.txt + echo "cython==3.0.11 # force update" >> requirements_custom.txt - name: Build wheels (custom) uses: cdce8p/wheels@master @@ -221,7 +222,7 @@ jobs: 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;nasm" - skip-binary: aiohttp;charset-normalizer;grpcio;multidict;SQLAlchemy;propcache;protobuf;pymicro-vad;yarl + skip-binary: aiohttp;charset-normalizer;grpcio;multidict;SQLAlchemy;propcache;protobuf;pymicro-vad;yarl;cython constraints: "homeassistant/package_constraints.txt" requirements-diff: "requirements_diff.txt" requirements: "requirements_custom.txt"