Compare commits

...

2 Commits

Author SHA1 Message Date
Marc Mueller
da1faf9cc3 Build cython 3.2.1 2025-11-26 20:01:45 +01:00
Marc Mueller
45cc9449dc Only build custom wheels 2025-11-26 20:01:43 +01:00

View File

@@ -19,9 +19,9 @@ on:
env: env:
DEFAULT_PYTHON: "3.13" DEFAULT_PYTHON: "3.13"
concurrency: # concurrency:
group: ${{ github.workflow }}-${{ github.ref_name}} # group: ${{ github.workflow }}-${{ github.ref_name}}
cancel-in-progress: true # cancel-in-progress: true
jobs: jobs:
init: init:
@@ -101,7 +101,7 @@ jobs:
core: core:
name: Build Core wheels ${{ matrix.abi }} for ${{ matrix.arch }} (musllinux_1_2) 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 needs: init
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
strategy: strategy:
@@ -177,8 +177,33 @@ jobs:
sed -i "/uv/d" requirements.txt sed -i "/uv/d" requirements.txt
sed -i "/uv/d" requirements_diff.txt sed -i "/uv/d" requirements_diff.txt
- name: Create requirements file for custom build
run: |
touch requirements_custom.txt
echo -n "cython==3.2.1" >> requirements_custom.txt
- name: Modify requirements file for custom build
id: modify-requirements
run: |
echo " # force update" >> requirements_custom.txt
echo "skip_binary=cython" >> $GITHUB_OUTPUT
- 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
skip-binary: ${{ steps.modify-requirements.outputs.skip_binary }}
constraints: "homeassistant/package_constraints.txt"
requirements: "requirements_custom.txt"
verbose: true
- name: Build wheels - name: Build wheels
uses: *home-assistant-wheels uses: *home-assistant-wheels
if: false
with: with:
abi: ${{ matrix.abi }} abi: ${{ matrix.abi }}
tag: musllinux_1_2 tag: musllinux_1_2