Skip to content

Commit

Permalink
trying to add python 3.13 to wheels
Browse files Browse the repository at this point in the history
Signed-off-by: Nick Papior <[email protected]>
  • Loading branch information
zerothi committed Sep 25, 2024
1 parent 886d911 commit af3ff99
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions .github/workflows/wheels.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ jobs:
# and therefore in a serial manner. We build a matrix of operating systems
# and python versions so that builds are ran in parallel.
# The job matrix is basically copied from https://github.com/scikit-learn/scikit-learn/blob/main/.github/workflows/wheels.yml
build_wheels:
name: Wheel building for cp${{ matrix.python[0] }}-${{ matrix.platform_id }}-${{ matrix.manylinux_image }}
wheels:
name: cp${{ matrix.python[0] }}-${{ matrix.platform_id }}-${{ matrix.manylinux_image }}
runs-on: ${{ matrix.os }}

strategy:
Expand Down Expand Up @@ -56,6 +56,10 @@ jobs:
python: ["312", "3.12"]
platform_id: manylinux_x86_64
manylinux_image: manylinux2014
- os: ubuntu-latest
python: ["313", "3.13"]
platform_id: manylinux_x86_64
manylinux_image: manylinux2014

# MacOS x86_64
- os: macos-12
Expand All @@ -70,6 +74,9 @@ jobs:
- os: macos-12
python: ["312", "3.12"]
platform_id: macosx_x86_64
- os: macos-12
python: ["313", "3.13"]
platform_id: macosx_x86_64

# MacOS arm64
- os: macos-14
Expand All @@ -84,6 +91,9 @@ jobs:
- os: macos-14
python: ["312", "3.12"]
platform_id: macosx_arm64
- os: macos-14
python: ["313", "3.13"]
platform_id: macosx_arm64

steps:

Expand Down Expand Up @@ -119,7 +129,7 @@ jobs:
path: ./wheelhouse/*.whl

# Build the source distribution as well
build_sdist:
sdist:
name: Build source distribution
runs-on: ubuntu-latest
steps:
Expand All @@ -135,7 +145,7 @@ jobs:

# Upload to testpypi
upload_testpypi:
needs: [build_sdist, build_wheels]
needs: [sdist, wheels]
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
name: Publish package to TestPyPI
runs-on: ubuntu-latest
Expand Down

0 comments on commit af3ff99

Please sign in to comment.