From 07c99a95eed204d13c9597d386ee06db2390621c Mon Sep 17 00:00:00 2001 From: Marc Mueller <30130371+cdce8p@users.noreply.github.com> Date: Sat, 28 Sep 2024 11:35:41 +0200 Subject: [PATCH] Add support for Python 3.13 --- .github/workflows/ci.yml | 3 ++- .github/workflows/publish.yml | 5 ++++- README.md | 13 +++++++++++++ requirements_cp313.txt | 4 ++++ 4 files changed, 23 insertions(+), 2 deletions(-) create mode 100644 requirements_cp313.txt diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 376e859c..0b701130 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -47,8 +47,9 @@ jobs: name: Test wheels ${{ matrix.arch }}-${{ matrix.abi }}-${{ matrix.tag }} runs-on: ubuntu-latest strategy: + fail-fast: false matrix: - abi: ["cp312"] + abi: ["cp312", "cp313"] tag: ["musllinux_1_2"] arch: ["aarch64", "armhf", "armv7", "amd64", "i386"] diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 12cf8596..a57ed195 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -14,13 +14,16 @@ jobs: strategy: fail-fast: False matrix: - abi: ["cp312"] + abi: ["cp312", "cp313"] tag: ["musllinux_1_2"] arch: ["aarch64", "armhf", "armv7", "amd64", "i386"] include: - abi: cp312 tag: musllinux_1_2 base: 3.12-alpine3.20 + - abi: cp313 + tag: musllinux_1_2 + base: 3.13-alpine3.20 steps: - name: Checkout the repository uses: actions/checkout@v4.2.2 diff --git a/README.md b/README.md index 0de79bde..b8749df4 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,19 @@ Version of system builds: - scikit-build 0.18.1 - cffi 1.17.1 +### Python 3.13 / musllinux_1_2 + +Build with Alpine 3.20 +Images: ghcr.io/home-assistant/wheels/ARCH/musllinux_1_2/cp313:VERSION + +Version of system builds: + +- GCC 13.2.1 +- Cython 3.0.11 +- numpy 2.1.2 +- scikit-build 0.18.1 +- cffi 1.17.1 + ## Misc diff --git a/requirements_cp313.txt b/requirements_cp313.txt new file mode 100644 index 00000000..308bd578 --- /dev/null +++ b/requirements_cp313.txt @@ -0,0 +1,4 @@ +Cython==3.0.11 +numpy==2.1.2 +scikit-build==0.18.1 +cffi==1.17.1