Skip to content

Commit 4b68563

Browse files
authored
Merge pull request #8071 from radarhere/wheels
2 parents d879f39 + d461ff8 commit 4b68563

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

.github/workflows/wheels-test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ elif [ "${AUDITWHEEL_POLICY::9}" == "musllinux" ]; then
1212
else
1313
yum install -y fribidi
1414
fi
15-
if [ "${AUDITWHEEL_POLICY::9}" != "musllinux" ]; then
15+
if [ "${AUDITWHEEL_POLICY::9}" != "musllinux" ] && !([[ "$OSTYPE" == "darwin"* ]] && [[ $(python3 --version) == *"3.13."* ]]); then
1616
python3 -m pip install numpy
1717
fi
1818

.github/workflows/wheels.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ jobs:
4646
- cp310
4747
- cp311
4848
- cp312
49+
- cp313
4950
spec:
5051
- manylinux2014
5152
- manylinux_2_28
@@ -80,6 +81,7 @@ jobs:
8081
CIBW_ARCHS: "aarch64"
8182
# Likewise, select only one Python version per job to speed this up.
8283
CIBW_BUILD: "${{ matrix.python-version }}-${{ matrix.spec == 'musllinux' && 'musllinux' || 'manylinux' }}*"
84+
CIBW_PRERELEASE_PYTHONS: True
8385
# Extra options for manylinux.
8486
CIBW_MANYLINUX_AARCH64_IMAGE: ${{ matrix.spec }}
8587
CIBW_MANYLINUX_PYPY_AARCH64_IMAGE: ${{ matrix.spec }}
@@ -133,6 +135,7 @@ jobs:
133135
CIBW_BUILD: ${{ matrix.build }}
134136
CIBW_MANYLINUX_PYPY_X86_64_IMAGE: ${{ matrix.manylinux }}
135137
CIBW_MANYLINUX_X86_64_IMAGE: ${{ matrix.manylinux }}
138+
CIBW_PRERELEASE_PYTHONS: True
136139
CIBW_SKIP: pp38-*
137140
CIBW_TEST_SKIP: cp38-macosx_arm64
138141
MACOSX_DEPLOYMENT_TARGET: ${{ matrix.macosx_deployment_target }}
@@ -204,6 +207,7 @@ jobs:
204207
CIBW_ARCHS: ${{ matrix.cibw_arch }}
205208
CIBW_BEFORE_ALL: "{package}\\winbuild\\build\\build_dep_all.cmd"
206209
CIBW_CACHE_PATH: "C:\\cibw"
210+
CIBW_PRERELEASE_PYTHONS: True
207211
CIBW_SKIP: pp38-*
208212
CIBW_TEST_SKIP: "*-win_arm64"
209213
CIBW_TEST_COMMAND: 'docker run --rm

docs/releasenotes/10.4.0.rst

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,9 @@ TODO
5353
Other Changes
5454
=============
5555

56-
TODO
57-
^^^^
56+
Python 3.13 beta
57+
^^^^^^^^^^^^^^^^
5858

59-
TODO
59+
To help others prepare for Python 3.13, wheels have been built against the 3.13 beta as
60+
a preview. This is not official support for Python 3.13, but simply an opportunity for
61+
users to test how Pillow works with the beta and report any problems.

0 commit comments

Comments
 (0)