Skip to content

Commit 8188998

Browse files
authored
Merge pull request #2325 from Starbuck5/312-wheels
3.12 wheels
2 parents d4a6c40 + 4f6ec9a commit 8188998

File tree

4 files changed

+21
-2
lines changed

4 files changed

+21
-2
lines changed

.github/workflows/build-macos.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,8 @@ jobs:
136136

137137
CIBW_BUILD: ${{ matrix.pyversions }}
138138

139+
CIBW_PRERELEASE_PYTHONS: True # for 3.12 testing
140+
139141
# Build arm64 and x86_64 wheels too on an Intel runner.
140142
# Note that the arm64 wheels cannot be tested on CI in this configuration
141143
CIBW_ARCHS: ${{ matrix.macarch }}

.github/workflows/build-manylinux.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,9 @@ jobs:
5454
# also define environment variables needed for testing
5555
CIBW_ENVIRONMENT: PIP_CONFIG_FILE=buildconfig/pip_config.ini PORTMIDI_INC_PORTTIME=1 SDL_VIDEODRIVER=dummy SDL_AUDIODRIVER=disk
5656

57-
CIBW_BUILD: "cp3{[7-9],10,11}-* pp3[7-9]-*"
57+
CIBW_PRERELEASE_PYTHONS: True # for 3.12 testing
58+
59+
CIBW_BUILD: "cp3{[7-9],10,11,12}-* pp3[7-9]-*"
5860
CIBW_ARCHS: ${{ matrix.arch }}
5961

6062
# skip musllinux for now

.github/workflows/build-windows.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,12 @@ jobs:
4343
fail-fast: false # if a particular matrix build fails, don't skip the rest
4444
matrix:
4545
include:
46+
- {
47+
name: "CPython 3.12 (64 bit)",
48+
winarch: AMD64,
49+
msvc-dev-arch: x86_amd64,
50+
pyversions: "cp312-*"
51+
}
4652
- {
4753
name: "CPython 3.11 (64 bit)",
4854
winarch: AMD64,
@@ -73,6 +79,12 @@ jobs:
7379
msvc-dev-arch: x86_amd64,
7480
pyversions: "cp37-*"
7581
}
82+
- {
83+
name: "CPython 3.12 (32 bit)",
84+
winarch: x86,
85+
msvc-dev-arch: x86,
86+
pyversions: "cp312-win32*"
87+
}
7688
- {
7789
name: "CPython 3.11 (32 bit)",
7890
winarch: x86,
@@ -129,6 +141,8 @@ jobs:
129141
# also define environment variables needed for testing
130142
CIBW_ENVIRONMENT: PIP_CONFIG_FILE=buildconfig/pip_config.ini SDL_VIDEODRIVER=dummy SDL_AUDIODRIVER=disk
131143

144+
CIBW_PRERELEASE_PYTHONS: True # for 3.12 testing
145+
132146
CIBW_BUILD: ${{ matrix.pyversions }}
133147
CIBW_ARCHS: ${{ matrix.winarch }}
134148

@@ -158,7 +172,7 @@ jobs:
158172
set MSSdk=1
159173
python -m pip install setuptools wheel requests numpy Sphinx
160174
python setup.py docs
161-
python -m pip --disable-pip-version-check install cibuildwheel==2.12.0
175+
python -m pip --disable-pip-version-check install cibuildwheel==2.14.1
162176
python -m cibuildwheel --output-dir wheelhouse
163177
164178
- uses: actions/upload-artifact@v3

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
"Programming Language :: Python :: 3.9",
4343
"Programming Language :: Python :: 3.10",
4444
"Programming Language :: Python :: 3.11",
45+
"Programming Language :: Python :: 3.12",
4546
"Programming Language :: Python :: Implementation :: CPython",
4647
"Programming Language :: Python :: Implementation :: PyPy",
4748
"Topic :: Games/Entertainment",

0 commit comments

Comments
 (0)