Skip to content

Commit bad5022

Browse files
committed
Drop Python 3.8/3.9 (EOL), add 3.14 and PyPy 3.11 wheel builds
- Bump python_requires to >=3.10 in setup.py - Add Python 3.14 wheels for all platforms, but skip free-threaded for now until we actually test that they do work - Enable PyPy 3.11 wheels on all platforms (Linux, macOS, Windows) and remove obsolete PyPy setuptools pin from pyproject.toml - Remove redundant macOS x86_64-only builds (universal2 covers both architectures)
1 parent 9a8410d commit bad5022

File tree

3 files changed

+8
-10
lines changed

3 files changed

+8
-10
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,10 @@ on:
88
branches: [main]
99

1010
env:
11-
# skip 3.7 on all platforms; only build pypy3 for linux
12-
CIBW_SKIP: cp37-* pp*-macosx_x86_64 pp*-win_amd64
11+
# skip 3.8, 3.9 (EOL); skip free-threaded 3.14 (untested yet)
12+
CIBW_SKIP: cp38-* cp39-* cp314t-*
13+
# enable PyPy builds on all platforms
14+
CIBW_ENABLE: pypy
1315
CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014
1416
CIBW_MANYLINUX_I686_IMAGE: manylinux2014
1517
CIBW_MANYLINUX_PYPY_X86_64_IMAGE: manylinux2014
@@ -30,9 +32,7 @@ jobs:
3032
strategy:
3133
fail-fast: false
3234
matrix:
33-
# macos-13 runners are still x86_64, macos-14 (latest) are arm64; we want to build
34-
# the x86_64 wheel on/for x86_64 macs
35-
os: [macos-13, ubuntu-latest, windows-latest]
35+
os: [ubuntu-latest, windows-latest]
3636
arch: [auto64]
3737
include:
3838
- os: macos-latest
@@ -72,7 +72,7 @@ jobs:
7272
strategy:
7373
matrix:
7474
# aarch64 uses qemu so it's slow, build each py version in parallel jobs
75-
python: [38, 39, 310, 311, 312, 313]
75+
python: [310, 311, 312, 313, 314]
7676
arch: [aarch64]
7777
env:
7878
# Skip building aarch64 wheels for musllinux until I figure out why I get

pyproject.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
[build-system]
22
requires = [
3-
# pin setuptools on pypy to workaround this bug: https://github.com/pypa/distutils/issues/283
4-
"setuptools<72.2.0; platform_python_implementation == 'PyPy'",
5-
"setuptools; platform_python_implementation != 'PyPy'",
3+
"setuptools",
64
"wheel",
75
"setuptools_scm",
86
"cython >= 0.28.4",

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ def get_skia_using_pkgconfig():
392392
# "pytest-cython",
393393
],
394394
},
395-
python_requires=">=3.8",
395+
python_requires=">=3.10",
396396
zip_safe=False,
397397
classifiers=[
398398
"Development Status :: 4 - Beta",

0 commit comments

Comments
 (0)