Skip to content

Commit 96641be

Browse files
committed
Build and test CPython 3.15 - bump Cython
Builds a wheel for CPython 3.15 now that rc1 is out. Wheels are produced for macOS and Windows, Linux is still sdist only. Bumps the Cython build version to 3.3.0 that incorporates various bugfixes and CPython 3.15 compatibility. Also bumps the various GitHub Actions versions to the latest available. Signed-off-by: Jordan Borean <jborean93@gmail.com>
1 parent 5acb5b1 commit 96641be

5 files changed

Lines changed: 38 additions & 23 deletions

File tree

.github/workflows/ci.yml

Lines changed: 32 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Check out code
14-
uses: actions/checkout@v6
14+
uses: actions/checkout@v7
1515

1616
- name: Select python
17-
uses: actions/setup-python@v6
17+
uses: actions/setup-python@v7
1818
with:
1919
python-version: 3.12
2020

@@ -28,7 +28,7 @@ jobs:
2828
GSSAPI_COMPILER_ARGS: ''
2929

3030
- name: Upload sdist
31-
uses: actions/upload-artifact@v6
31+
uses: actions/upload-artifact@v7
3232
with:
3333
name: artifact-sdist
3434
path: ./dist/*.tar.gz
@@ -45,6 +45,10 @@ jobs:
4545
include:
4646
# Free-threading does not support Limited API/Stable ABI yet
4747
# 3.11+ can use the Limited API/Stable ABI
48+
- os: macos-15-intel
49+
version: cp315t-macosx_x86_64
50+
- os: macos-15
51+
version: cp315t-macosx_arm64
4852
- os: macos-15-intel
4953
version: cp314t-macosx_x86_64
5054
- os: macos-15
@@ -63,6 +67,10 @@ jobs:
6367
- os: macos-15
6468
version: cp39-macosx_arm64
6569

70+
- os: windows-2022
71+
version: cp315t-win_amd64
72+
- os: windows-2022
73+
version: cp315t-win32
6674
- os: windows-2022
6775
version: cp314t-win_amd64
6876
- os: windows-2022
@@ -97,7 +105,7 @@ jobs:
97105
echo "C:\Program Files${{ endsWith(matrix.version, '-win32') && ' (x86)' || '' }}\MIT\Kerberos\bin;$PATH" >> $GITHUB_PATH
98106
99107
- name: Download gssapi sdist
100-
uses: actions/download-artifact@v6
108+
uses: actions/download-artifact@v8
101109
with:
102110
name: artifact-sdist
103111
path: ./
@@ -111,14 +119,14 @@ jobs:
111119
rm gssapi-*.tar.gz
112120
113121
- name: Build wheel
114-
uses: pypa/cibuildwheel@v3.2.1
122+
uses: pypa/cibuildwheel@v4.2.0
115123
env:
116124
CIBW_BUILD: ${{ matrix.version }}
117125
CIBW_BUILD_VERBOSITY: 1
118126
CIBW_PRERELEASE_PYTHONS: ${{ matrix.prerelease || 'false' }}
119127

120128
- name: Upload wheel
121-
uses: actions/upload-artifact@v6
129+
uses: actions/upload-artifact@v7
122130
with:
123131
path: ./wheelhouse/*.whl
124132
name: artifact-wheel-${{ matrix.version }}
@@ -131,7 +139,7 @@ jobs:
131139
runs-on: ubuntu-latest
132140
steps:
133141
- name: Download gssapi sdist
134-
uses: actions/download-artifact@v6
142+
uses: actions/download-artifact@v8
135143
with:
136144
name: artifact-sdist
137145
path: ./dist
@@ -188,10 +196,10 @@ jobs:
188196

189197
steps:
190198
- name: Check out code
191-
uses: actions/checkout@v6
199+
uses: actions/checkout@v7
192200

193201
- name: Download built project
194-
uses: actions/download-artifact@v6
202+
uses: actions/download-artifact@v8
195203
with:
196204
pattern: artifact-*
197205
merge-multiple: true
@@ -214,6 +222,8 @@ jobs:
214222
fail-fast: false
215223
matrix:
216224
name:
225+
- win-py-3.15t
226+
- win-py-3.15
217227
- win-py-3.14t
218228
- win-py-3.14
219229
- win-py-3.13
@@ -225,6 +235,10 @@ jobs:
225235
- x64
226236
- x86
227237
include:
238+
- name: win-py-3.15t
239+
pyenv: '3.15t-rc.1'
240+
- name: win-py-3.15
241+
pyenv: '3.15-rc.1'
228242
- name: win-py-3.14t
229243
pyenv: '3.14t'
230244
- name: win-py-3.14
@@ -242,17 +256,17 @@ jobs:
242256

243257
steps:
244258
- name: Check out code
245-
uses: actions/checkout@v6
259+
uses: actions/checkout@v7
246260

247261
- name: Download built project
248-
uses: actions/download-artifact@v6
262+
uses: actions/download-artifact@v8
249263
with:
250264
pattern: artifact-*
251265
merge-multiple: true
252266
path: ./dist
253267

254268
- name: Install the right python
255-
uses: actions/setup-python@v6
269+
uses: actions/setup-python@v7
256270
with:
257271
python-version: ${{ matrix.pyenv }}
258272
architecture: ${{ matrix.arch }}
@@ -271,10 +285,10 @@ jobs:
271285
runs-on: macos-latest
272286
steps:
273287
- name: Check out code
274-
uses: actions/checkout@v6
288+
uses: actions/checkout@v7
275289

276290
- name: Download built project
277-
uses: actions/download-artifact@v6
291+
uses: actions/download-artifact@v8
278292
with:
279293
pattern: artifact-*
280294
merge-multiple: true
@@ -303,10 +317,10 @@ jobs:
303317

304318
steps:
305319
- name: Check out code
306-
uses: actions/checkout@v6
320+
uses: actions/checkout@v7
307321

308322
- name: Download built project
309-
uses: actions/download-artifact@v6
323+
uses: actions/download-artifact@v8
310324
with:
311325
pattern: artifact-*
312326
merge-multiple: true
@@ -326,7 +340,7 @@ jobs:
326340
run: echo "checksum=`ls tag_build/*.sha512sum | awk -F/ '{print $2}'`" >> $GITHUB_OUTPUT
327341

328342
- name: Upload tagged build artifact
329-
uses: actions/upload-artifact@v6
343+
uses: actions/upload-artifact@v7
330344
with:
331345
path: tag_build/${{ steps.tarball.outputs.tarball }}
332346
name: release-asset
@@ -341,7 +355,7 @@ jobs:
341355

342356
- name: Create release with tar artifact
343357
if: startsWith(github.ref, 'refs/tags/v')
344-
uses: softprops/action-gh-release@v2
358+
uses: softprops/action-gh-release@v3
345359
with:
346360
files: |
347361
tag_build/${{ steps.tarball.outputs.tarball }}

.github/workflows/deploy-docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- name: Check out code
11-
uses: actions/checkout@v6
11+
uses: actions/checkout@v7
1212

1313
- name: Select python
14-
uses: actions/setup-python@v6
14+
uses: actions/setup-python@v7
1515
with:
1616
python-version: 3.12
1717

.github/workflows/stale.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212

1313
steps:
14-
- uses: actions/stale@v10.1.1
14+
- uses: actions/stale@v11.0.0
1515
id: stale
1616
with:
1717
days-before-stale: -1

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[build-system]
22
requires = [
3-
"Cython == 3.2.4",
3+
"Cython == 3.3.0",
44
"setuptools >= 40.6.0", # Start of PEP 517 support for setuptools
55
]
66
build-backend = "setuptools.build_meta"

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ def gssapi_modules(lst):
310310

311311
setup(
312312
name='gssapi',
313-
version='1.11.1',
313+
version='1.12.0',
314314
author='The Python GSSAPI Team',
315315
author_email='jborean93@gmail.com',
316316
packages=['gssapi', 'gssapi.raw', 'gssapi.raw._enum_extensions',
@@ -336,6 +336,7 @@ def gssapi_modules(lst):
336336
'Programming Language :: Python :: 3.12',
337337
'Programming Language :: Python :: 3.13',
338338
'Programming Language :: Python :: 3.14',
339+
'Programming Language :: Python :: 3.15',
339340
"Programming Language :: Python :: Free Threading :: 2 - Beta",
340341
'Intended Audience :: Developers',
341342
'Programming Language :: Python :: Implementation :: CPython',

0 commit comments

Comments
 (0)