From a37a87e972732a7c2f8f6b28d2821e23f737506b Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Fri, 21 Apr 2023 09:10:39 +0200 Subject: [PATCH] Build wheels for CPython ABI cp311 (#91736) --- .github/workflows/wheels.yml | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 00728e7748b..b06b736b55a 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -72,13 +72,14 @@ jobs: path: ./requirements_diff.txt core: - name: Build musllinux wheels with musllinux_1_2 / cp310 at ${{ matrix.arch }} for core + name: Build musllinux wheels with musllinux_1_2 / ${{ matrix.abi }} at ${{ matrix.arch }} for core if: github.repository_owner == 'home-assistant' needs: init runs-on: ubuntu-latest strategy: fail-fast: false matrix: + abi: ["cp310", "cp311"] arch: ${{ fromJson(needs.init.outputs.architectures) }} steps: - name: Checkout the repository @@ -95,9 +96,9 @@ jobs: name: requirements_diff - name: Build wheels - uses: home-assistant/wheels@2022.10.1 + uses: home-assistant/wheels@2023.04.0 with: - abi: cp310 + abi: ${{ matrix.abi }} tag: musllinux_1_2 arch: ${{ matrix.arch }} wheels-key: ${{ secrets.WHEELS_KEY }} @@ -109,13 +110,14 @@ jobs: requirements: "requirements.txt" integrations: - name: Build musllinux wheels with musllinux_1_2 / cp310 at ${{ matrix.arch }} for integrations + name: Build musllinux wheels with musllinux_1_2 / ${{ matrix.abi }} at ${{ matrix.arch }} for integrations if: github.repository_owner == 'home-assistant' needs: init runs-on: ubuntu-latest strategy: fail-fast: false matrix: + abi: ["cp310", "cp311"] arch: ${{ fromJson(needs.init.outputs.architectures) }} steps: - name: Checkout the repository @@ -171,9 +173,9 @@ jobs: sed -i "/numpy/d" homeassistant/package_constraints.txt - name: Build wheels (part 1) - uses: home-assistant/wheels@2022.10.1 + uses: home-assistant/wheels@2023.04.0 with: - abi: cp310 + abi: ${{ matrix.abi }} tag: musllinux_1_2 arch: ${{ matrix.arch }} wheels-key: ${{ secrets.WHEELS_KEY }} @@ -186,9 +188,9 @@ jobs: requirements: "requirements_all.txtaa" - name: Build wheels (part 2) - uses: home-assistant/wheels@2022.10.1 + uses: home-assistant/wheels@2023.04.0 with: - abi: cp310 + abi: ${{ matrix.abi }} tag: musllinux_1_2 arch: ${{ matrix.arch }} wheels-key: ${{ secrets.WHEELS_KEY }}