Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add python 3.13 wheel support #3030

Merged
merged 1 commit into from
Aug 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
- run:
name: Build the Linux wheels.
command: |
pip3 install --user cibuildwheel==2.19.2
pip3 install --user cibuildwheel==2.20.0
PATH="$HOME/.local/bin:$PATH" cibuildwheel --output-dir wheelhouse

- store_artifacts:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ jobs:
uv-version: "0.2.22"

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

- uses: actions/upload-artifact@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-manylinux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ jobs:
CIBW_MANYLINUX_I686_IMAGE: ghcr.io/${{ github.repository }}_i686:${{ steps.meta.outputs.version }}
CIBW_MANYLINUX_PYPY_I686_IMAGE: ghcr.io/${{ github.repository }}_i686:${{ steps.meta.outputs.version }}

uses: pypa/cibuildwheel@v2.19.2
uses: pypa/cibuildwheel@v2.20.0

# We upload the generated files under github actions assets
- name: Upload dist
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
uv-version: "0.2.22"

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

- uses: actions/upload-artifact@v4
with:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM quay.io/pypa/manylinux2014_aarch64
# pin version on image for CI stability
FROM quay.io/pypa/manylinux2014_aarch64:2024.08.03-1
ENV MAKEFLAGS="-j 2"
ENV PG_DEP_PREFIX="/usr/local"

Expand Down
3 changes: 2 additions & 1 deletion buildconfig/manylinux-build/docker_base/Dockerfile-i686
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM quay.io/pypa/manylinux2014_i686
# pin version on image for CI stability
FROM quay.io/pypa/manylinux2014_i686:2024.08.03-1
ENV MAKEFLAGS="-j 2"
ENV PG_DEP_PREFIX="/usr/local"

Expand Down
3 changes: 2 additions & 1 deletion buildconfig/manylinux-build/docker_base/Dockerfile-x86_64
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM quay.io/pypa/manylinux2014_x86_64
# pin version on image for CI stability
FROM quay.io/pypa/manylinux2014_x86_64:2024.08.03-1
ENV MAKEFLAGS="-j 2"
ENV PG_DEP_PREFIX="/usr/local"

Expand Down
6 changes: 4 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Games/Entertainment",
Expand Down Expand Up @@ -73,7 +74,7 @@ install = ['--tags=runtime,python-runtime,pg-tag']
# dependencies. Here is where uv comes into the picture. It is an "installer" like pip,
# but faster. It has been observed to save a couple of minutes of CI time.
build-frontend = "build[uv]"
build = "cp3{8,9,10,11,12}-* pp3{8,9,10}-*"
build = "cp3{8,9,10,11,12,13}-* pp3{8,9,10}-*"
skip = "*-musllinux_*"
# build[uv] is verbose by default, so below flag is not needed here
# build-verbosity = 3
Expand Down Expand Up @@ -109,6 +110,7 @@ only-binary = ["numpy"]
# 1. skip all 32-bit manylinux (i686)
# 2. skip all pypy+arm combinations
# 3. skip all pypy 310 because it is so new numpy does not have wheels for it
# 4. skip all python 313 because numpy doesn't have wheels for it yet
[[tool.cibuildwheel.overrides]]
select = "{*-manylinux_i686,pp*-*{arm64,aarch64},pp310-*}"
select = "{*-manylinux_i686,pp*-*{arm64,aarch64},pp310-*,*p313-*}"
test-requires = []
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox:tox]
envlist = py{38,39,310,311,312}
envlist = py{38,39,310,311,312,313}
skip_missing_interpreters = True
skipsdist = True

Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Games/Entertainment",
Expand Down
Loading