Skip to content

Commit 3019e28

Browse files
committed
Added Python 3.12 wheels
Adds wheels for Python 3.12 on macOS and Windows. There are no wheels for Linux due to policies around linking libraries not included in the wheel itself. Signed-off-by: Jordan Borean <[email protected]>
1 parent d9200d1 commit 3019e28

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

.github/workflows/ci.yml

+13-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
steps:
1313
- name: Check out code
1414
uses: actions/checkout@v3
15-
15+
1616
- name: Select python
1717
uses: actions/setup-python@v4
1818
with:
@@ -43,6 +43,10 @@ jobs:
4343
fail-fast: false
4444
matrix:
4545
include:
46+
- os: macOS-12
47+
version: cp312-macosx_x86_64
48+
- os: macOS-12
49+
version: cp312-macosx_arm64
4650
- os: macOS-12
4751
version: cp311-macosx_x86_64
4852
- os: macOS-12
@@ -62,6 +66,10 @@ jobs:
6266
- os: macOS-12
6367
version: cp37-macosx_x86_64
6468

69+
- os: windows-2022
70+
version: cp312-win_amd64
71+
- os: windows-2022
72+
version: cp312-win32
6573
- os: windows-2022
6674
version: cp311-win_amd64
6775
- os: windows-2022
@@ -113,7 +121,7 @@ jobs:
113121
rm gssapi-*.tar.gz
114122
115123
- name: Build wheel
116-
uses: pypa/cibuildwheel@v2.11.1
124+
uses: pypa/cibuildwheel@v2
117125
env:
118126
CIBW_ARCHS: all
119127
CIBW_TEST_SKIP: '*_arm64'
@@ -179,6 +187,7 @@ jobs:
179187
fail-fast: false
180188
matrix:
181189
name:
190+
- win-py-3.12
182191
- win-py-3.11
183192
- win-py-3.10
184193
- win-py-3.9
@@ -188,6 +197,8 @@ jobs:
188197
- x64
189198
- x86
190199
include:
200+
- name: win-py-3.12
201+
pyenv: '3.12.0-rc.1'
191202
- name: win-py-3.11
192203
pyenv: '3.11'
193204
- name: win-py-3.10

setup.py

+1
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,7 @@ def gssapi_modules(lst):
297297
'Programming Language :: Python :: 3.9',
298298
'Programming Language :: Python :: 3.10',
299299
'Programming Language :: Python :: 3.11',
300+
'Programming Language :: Python :: 3.12',
300301
'Intended Audience :: Developers',
301302
'License :: OSI Approved :: ISC License (ISCL)',
302303
'Programming Language :: Python :: Implementation :: CPython',

0 commit comments

Comments
 (0)