Skip to content

Commit

Permalink
Add Python 3.13 to CI and release workflows
Browse files Browse the repository at this point in the history
For now, add "cp313-*" by itself in release.yaml's matrix for easy
observability. Update to the 3.13-final-based cibuildwheel release.
  • Loading branch information
jmarshall committed Oct 12, 2024
1 parent 87c41a9 commit a6b29e2
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ build_wheels_task:
- name: Build ARM Linux py3.6-9 wheels
env:
CIBW_BUILD: "cp36-* cp37-* cp38-* cp39-*"
- name: Build ARM Linux py3.10-12 wheels
- name: Build ARM Linux py3.10-13 wheels
env:
CIBW_BUILD: "cp310-* cp311-* cp312-*"
CIBW_BUILD: "cp310-* cp311-* cp312-* cp313-*"

- name: Build ARM macOS wheels
macos_instance:
image: ghcr.io/cirruslabs/macos-sonoma-base:latest
env:
CIBW_BUILD: "cp39-* cp310-* cp311-* cp312-*"
CIBW_BUILD: "cp39-* cp310-* cp311-* cp312-* cp313-*"

alias: build_wheels

Expand All @@ -36,7 +36,7 @@ build_wheels_task:

install_script: |
python3 -m venv $VENV
pip3 install cibuildwheel==2.17.0
pip3 install cibuildwheel==2.21.3
build_script: |
cibuildwheel
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
strategy:
matrix:
os: [ubuntu, macos]
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
exclude:
# Run only the latest few 3.x versions on macOS
- os: macos
Expand All @@ -17,6 +17,8 @@ jobs:
python-version: 3.8
- os: macos
python-version: 3.9
- os: macos
python-version: 3.10

steps:
- name: Checkout pysam
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
matrix:
os: [ubuntu, macos]
build: ["cp36-* cp37-* cp38-* cp39-*", "cp310-* cp311-* cp312-*"]
build: ["cp36-* cp37-* cp38-* cp39-*", "cp310-* cp311-* cp312-*", "cp313-*"]
x64image: [manylinux_2_28]
nametag: [none]

Expand All @@ -28,7 +28,7 @@ jobs:
uses: actions/checkout@v4

- name: Build wheels
uses: pypa/cibuildwheel@v2.17.0
uses: pypa/cibuildwheel@v2.21.3
env:
CIBW_BUILD: ${{ matrix.build }}
CIBW_SKIP: "*-musllinux_*"
Expand Down

0 comments on commit a6b29e2

Please sign in to comment.