@@ -11,12 +11,12 @@ jobs:
11
11
runs-on : ubuntu-latest
12
12
steps :
13
13
- name : Check out code
14
- uses : actions/checkout@v4
14
+ uses : actions/checkout@v5
15
15
16
16
- name : Select python
17
17
uses : actions/setup-python@v5
18
18
with :
19
- python-version : 3.9
19
+ python-version : 3.12
20
20
21
21
- name : Build sdist
22
22
run : |
43
43
fail-fast : false
44
44
matrix :
45
45
include :
46
+ - os : macOS-13
47
+ version : cp314-macosx_x86_64
48
+ prerelease : true
49
+ - os : macOS-15
50
+ version : cp314-macosx_arm64
51
+ prerelease : true
46
52
- os : macOS-13
47
53
version : cp313-macosx_x86_64
48
54
- os : macOS-15
@@ -63,11 +69,13 @@ jobs:
63
69
version : cp39-macosx_x86_64
64
70
- os : macOS-15
65
71
version : cp39-macosx_arm64
66
- - os : macOS-13
67
- version : cp38-macosx_x86_64
68
- - os : macOS-15
69
- version : cp38-macosx_arm64
70
72
73
+ - os : windows-2022
74
+ version : cp314-win_amd64
75
+ prerelease : true
76
+ - os : windows-2022
77
+ version : cp314-win32
78
+ prerelease : true
71
79
- os : windows-2022
72
80
version : cp313-win_amd64
73
81
- os : windows-2022
88
96
version : cp39-win_amd64
89
97
- os : windows-2022
90
98
version : cp39-win32
91
- - os : windows-2022
92
- version : cp38-win_amd64
93
- - os : windows-2022
94
- version : cp38-win32
95
99
96
100
steps :
97
101
- name : Set up environment
@@ -109,7 +113,7 @@ jobs:
109
113
echo "C:\Program Files${{ endsWith(matrix.version, '-win32') && ' (x86)' || '' }}\MIT\Kerberos\bin;$PATH" >> $GITHUB_PATH
110
114
111
115
- name : Download gssapi sdist
112
- uses : actions/download-artifact@v4
116
+ uses : actions/download-artifact@v5
113
117
with :
114
118
name : artifact-sdist
115
119
path : ./
@@ -123,10 +127,11 @@ jobs:
123
127
rm gssapi-*.tar.gz
124
128
125
129
- name : Build wheel
126
- uses : pypa/cibuildwheel@v2.22.0
130
+ uses : pypa/cibuildwheel@v3.1.4
127
131
env :
128
132
CIBW_BUILD : ${{ matrix.version }}
129
133
CIBW_BUILD_VERBOSITY : 1
134
+ CIBW_PRERELEASE_PYTHONS : ${{ matrix.prerelease || 'false' }}
130
135
131
136
- name : Upload wheel
132
137
uses : actions/upload-artifact@v4
@@ -142,7 +147,7 @@ jobs:
142
147
runs-on : ubuntu-latest
143
148
steps :
144
149
- name : Download gssapi sdist
145
- uses : actions/download-artifact@v4
150
+ uses : actions/download-artifact@v5
146
151
with :
147
152
name : artifact-sdist
148
153
path : ./dist
@@ -166,7 +171,7 @@ jobs:
166
171
167
172
PATH="${PWD}/Python-${PYTHON_VERSION}-build/bin:${PATH}"
168
173
python3 -m pip install gssapi=="${GSSAPI_VER}" \
169
- --find-links "file://${PWD}/ dist" \
174
+ --find-links dist \
170
175
--verbose
171
176
172
177
python3 -c "import gssapi"
@@ -199,10 +204,10 @@ jobs:
199
204
200
205
steps :
201
206
- name : Check out code
202
- uses : actions/checkout@v4
207
+ uses : actions/checkout@v5
203
208
204
209
- name : Download built project
205
- uses : actions/download-artifact@v4
210
+ uses : actions/download-artifact@v5
206
211
with :
207
212
pattern : artifact-*
208
213
merge-multiple : true
@@ -225,18 +230,20 @@ jobs:
225
230
fail-fast : false
226
231
matrix :
227
232
name :
233
+ - win-py-3.14
228
234
- win-py-3.13
229
235
- win-py-3.12
230
236
- win-py-3.11
231
237
- win-py-3.10
232
238
- win-py-3.9
233
- - win-py-3.8
234
239
arch :
235
240
- x64
236
241
- x86
237
242
include :
243
+ - name : win-py-3.14
244
+ pyenv : ' 3.14.0-rc.2'
238
245
- name : win-py-3.13
239
- pyenv : ' 3.13.0-rc.3 '
246
+ pyenv : ' 3.13'
240
247
- name : win-py-3.12
241
248
pyenv : ' 3.12'
242
249
- name : win-py-3.11
@@ -245,15 +252,13 @@ jobs:
245
252
pyenv : ' 3.10'
246
253
- name : win-py-3.9
247
254
pyenv : ' 3.9'
248
- - name : win-py-3.8
249
- pyenv : ' 3.8'
250
255
251
256
steps :
252
257
- name : Check out code
253
- uses : actions/checkout@v4
258
+ uses : actions/checkout@v5
254
259
255
260
- name : Download built project
256
- uses : actions/download-artifact@v4
261
+ uses : actions/download-artifact@v5
257
262
with :
258
263
pattern : artifact-*
259
264
merge-multiple : true
@@ -279,10 +284,10 @@ jobs:
279
284
runs-on : macos-latest
280
285
steps :
281
286
- name : Check out code
282
- uses : actions/checkout@v4
287
+ uses : actions/checkout@v5
283
288
284
289
- name : Download built project
285
- uses : actions/download-artifact@v4
290
+ uses : actions/download-artifact@v5
286
291
with :
287
292
pattern : artifact-*
288
293
merge-multiple : true
@@ -311,10 +316,10 @@ jobs:
311
316
312
317
steps :
313
318
- name : Check out code
314
- uses : actions/checkout@v4
319
+ uses : actions/checkout@v5
315
320
316
321
- name : Download built project
317
- uses : actions/download-artifact@v4
322
+ uses : actions/download-artifact@v5
318
323
with :
319
324
pattern : artifact-*
320
325
merge-multiple : true
@@ -347,37 +352,14 @@ jobs:
347
352
folder : ci_docs_build
348
353
target-folder : stable
349
354
350
- - name : Create release
355
+ - name : Create release with tar artifact
351
356
if : startsWith(github.ref, 'refs/tags/v')
352
- uses : actions/create-release@v1
353
- id : cr
354
- env :
355
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
356
- with :
357
- tag_name : ${{ github.ref }}
358
- release_name : ${{ github.ref }}
359
-
360
- - name : Upload release tarball
361
- if : startsWith(github.ref, 'refs/tags/v')
362
- uses : actions/upload-release-asset@v1
363
- env :
364
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
365
- with :
366
- upload_url : ${{ steps.cr.outputs.upload_url }}
367
- asset_path : tag_build/${{ steps.tarball.outputs.tarball }}
368
- asset_name : ${{ steps.tarball.outputs.tarball }}
369
- asset_content_type : application/octet-stream
370
-
371
- - name : Upload release checksum
372
- if : startsWith(github.ref, 'refs/tags/v')
373
- uses : actions/upload-release-asset@v1
374
- env :
375
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
357
+ uses : softprops/action-gh-release@v2
376
358
with :
377
- upload_url : ${{ steps.cr.outputs.upload_url }}
378
- asset_path : tag_build/${{ steps.checksum .outputs.checksum }}
379
- asset_name : ${{ steps.checksum.outputs.checksum }}
380
- asset_content_type : text/plain
359
+ files : |
360
+ tag_build/${{ steps.tarball .outputs.tarball }}
361
+ tag_build/ ${{ steps.checksum.outputs.checksum }}
362
+ generate_release_notes : true
381
363
382
364
- name : Deploy to PyPI
383
365
if : startsWith(github.ref, 'refs/tags/v')
0 commit comments