Skip to content

Commit ba48b56

Browse files
authored
Merge pull request #3030 from pygame-community/ankith26-py313
Add python 3.13 wheel support
2 parents 93cba30 + f6d5f88 commit ba48b56

File tree

10 files changed

+16
-10
lines changed

10 files changed

+16
-10
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
- run:
4343
name: Build the Linux wheels.
4444
command: |
45-
pip3 install --user cibuildwheel==2.19.2
45+
pip3 install --user cibuildwheel==2.20.0
4646
PATH="$HOME/.local/bin:$PATH" cibuildwheel --output-dir wheelhouse
4747
4848
- store_artifacts:

.github/workflows/build-macos.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ jobs:
138138
uv-version: "0.2.22"
139139

140140
- name: Build and test wheels
141-
uses: pypa/cibuildwheel@v2.19.2
141+
uses: pypa/cibuildwheel@v2.20.0
142142

143143
- uses: actions/upload-artifact@v4
144144
with:

.github/workflows/build-manylinux.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ jobs:
9191
CIBW_MANYLINUX_I686_IMAGE: ghcr.io/${{ github.repository }}_i686:${{ steps.meta.outputs.version }}
9292
CIBW_MANYLINUX_PYPY_I686_IMAGE: ghcr.io/${{ github.repository }}_i686:${{ steps.meta.outputs.version }}
9393

94-
uses: pypa/cibuildwheel@v2.19.2
94+
uses: pypa/cibuildwheel@v2.20.0
9595

9696
# We upload the generated files under github actions assets
9797
- name: Upload dist

.github/workflows/build-windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
uv-version: "0.2.22"
6363

6464
- name: Build and test wheels
65-
uses: pypa/cibuildwheel@v2.19.2
65+
uses: pypa/cibuildwheel@v2.20.0
6666

6767
- uses: actions/upload-artifact@v4
6868
with:

buildconfig/manylinux-build/docker_base/Dockerfile-aarch64

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
FROM quay.io/pypa/manylinux2014_aarch64
1+
# pin version on image for CI stability
2+
FROM quay.io/pypa/manylinux2014_aarch64:2024.08.03-1
23
ENV MAKEFLAGS="-j 2"
34
ENV PG_DEP_PREFIX="/usr/local"
45

buildconfig/manylinux-build/docker_base/Dockerfile-i686

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
FROM quay.io/pypa/manylinux2014_i686
1+
# pin version on image for CI stability
2+
FROM quay.io/pypa/manylinux2014_i686:2024.08.03-1
23
ENV MAKEFLAGS="-j 2"
34
ENV PG_DEP_PREFIX="/usr/local"
45

buildconfig/manylinux-build/docker_base/Dockerfile-x86_64

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
FROM quay.io/pypa/manylinux2014_x86_64
1+
# pin version on image for CI stability
2+
FROM quay.io/pypa/manylinux2014_x86_64:2024.08.03-1
23
ENV MAKEFLAGS="-j 2"
34
ENV PG_DEP_PREFIX="/usr/local"
45

pyproject.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ classifiers = [
1919
"Programming Language :: Python :: 3.10",
2020
"Programming Language :: Python :: 3.11",
2121
"Programming Language :: Python :: 3.12",
22+
"Programming Language :: Python :: 3.13",
2223
"Programming Language :: Python :: Implementation :: CPython",
2324
"Programming Language :: Python :: Implementation :: PyPy",
2425
"Topic :: Games/Entertainment",
@@ -73,7 +74,7 @@ install = ['--tags=runtime,python-runtime,pg-tag']
7374
# dependencies. Here is where uv comes into the picture. It is an "installer" like pip,
7475
# but faster. It has been observed to save a couple of minutes of CI time.
7576
build-frontend = "build[uv]"
76-
build = "cp3{8,9,10,11,12}-* pp3{8,9,10}-*"
77+
build = "cp3{8,9,10,11,12,13}-* pp3{8,9,10}-*"
7778
skip = "*-musllinux_*"
7879
# build[uv] is verbose by default, so below flag is not needed here
7980
# build-verbosity = 3
@@ -109,6 +110,7 @@ only-binary = ["numpy"]
109110
# 1. skip all 32-bit manylinux (i686)
110111
# 2. skip all pypy+arm combinations
111112
# 3. skip all pypy 310 because it is so new numpy does not have wheels for it
113+
# 4. skip all python 313 because numpy doesn't have wheels for it yet
112114
[[tool.cibuildwheel.overrides]]
113-
select = "{*-manylinux_i686,pp*-*{arm64,aarch64},pp310-*}"
115+
select = "{*-manylinux_i686,pp*-*{arm64,aarch64},pp310-*,*p313-*}"
114116
test-requires = []

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox:tox]
2-
envlist = py{38,39,310,311,312}
2+
envlist = py{38,39,310,311,312,313}
33
skip_missing_interpreters = True
44
skipsdist = True
55

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
"Programming Language :: Python :: 3.10",
4545
"Programming Language :: Python :: 3.11",
4646
"Programming Language :: Python :: 3.12",
47+
"Programming Language :: Python :: 3.13",
4748
"Programming Language :: Python :: Implementation :: CPython",
4849
"Programming Language :: Python :: Implementation :: PyPy",
4950
"Topic :: Games/Entertainment",

0 commit comments

Comments
 (0)