3434 strategy :
3535 fail-fast : true
3636 matrix :
37- pyver : ["3.10", "3.11", "3.12", "3.13"]
37+ pyver : ["3.10", "3.11", "3.12", "3.13", "3.14" ]
3838
3939 steps :
4040 - uses : actions/checkout@v4
7474 - name : Set up Python
7575 uses : actions/setup-python@v5
7676 with :
77- python-version : " 3.13 "
77+ python-version : " 3.14 "
7878
7979 - name : Install requirements then build main and mini sdist
8080 run : etc/release/scancode-create-pypi-sdist.sh
@@ -100,7 +100,7 @@ jobs:
100100 strategy :
101101 fail-fast : true
102102 matrix :
103- pyver : ["3.10", "3.11", "3.12", "3.13"]
103+ pyver : ["3.10", "3.11", "3.12", "3.13", "3.14" ]
104104
105105 steps :
106106 - uses : actions/checkout@v4
@@ -135,7 +135,7 @@ jobs:
135135 strategy :
136136 fail-fast : true
137137 matrix :
138- pyver : ["3.10", "3.11", "3.12", "3.13"]
138+ pyver : ["3.10", "3.11", "3.12", "3.13", "3.14" ]
139139
140140 steps :
141141 - uses : actions/checkout@v4
@@ -170,7 +170,7 @@ jobs:
170170 strategy :
171171 fail-fast : true
172172 matrix :
173- pyver : ["3.10", "3.11", "3.12", "3.13"]
173+ pyver : ["3.10", "3.11", "3.12", "3.13", "3.14" ]
174174
175175 steps :
176176 - uses : actions/checkout@v4
@@ -211,7 +211,7 @@ jobs:
211211 - name : Set up Python
212212 uses : actions/setup-python@v5
213213 with :
214- python-version : " 3.13 "
214+ python-version : " 3.14 "
215215
216216 - name : Build source archive with deps
217217 run : etc/release/scancode-create-release-app-sources.sh
@@ -240,7 +240,7 @@ jobs:
240240 fail-fast : true
241241 matrix :
242242 os : [ubuntu-24.04, ubuntu-24.04, macos-13, macos-14]
243- pyver : ["3.10", "3.11", "3.12", "3.13"]
243+ pyver : ["3.10", "3.11", "3.12", "3.13", "3.14" ]
244244
245245 steps :
246246 - uses : actions/checkout@v4
@@ -286,7 +286,7 @@ jobs:
286286 fail-fast : true
287287 matrix :
288288 os : [windows-2025, windows-2022]
289- pyver : ["3.10", "3.11", "3.12", "3.13"]
289+ pyver : ["3.10", "3.11", "3.12", "3.13", "3.14" ]
290290
291291 steps :
292292 - uses : actions/checkout@v4
@@ -331,7 +331,7 @@ jobs:
331331 fail-fast : true
332332 matrix :
333333 os : [ubuntu-24.04, ubuntu-24.04]
334- pyver : ["3.10", "3.11", "3.12", "3.13"]
334+ pyver : ["3.10", "3.11", "3.12", "3.13", "3.14" ]
335335
336336 steps :
337337 - uses : actions/checkout@v4
@@ -376,7 +376,7 @@ jobs:
376376 fail-fast : true
377377 matrix :
378378 os : [macos-13, macos-14]
379- pyver : ["3.10", "3.11", "3.12", "3.13"]
379+ pyver : ["3.10", "3.11", "3.12", "3.13", "3.14" ]
380380
381381 steps :
382382 - uses : actions/checkout@v4
@@ -421,7 +421,7 @@ jobs:
421421 fail-fast : true
422422 matrix :
423423 os : [windows-2025, windows-2022]
424- pyver : ["3.10", "3.11", "3.12", "3.13"]
424+ pyver : ["3.10", "3.11", "3.12", "3.13", "3.14" ]
425425
426426 steps :
427427 - uses : actions/checkout@v4
@@ -493,6 +493,12 @@ jobs:
493493 name : macos_app_py_3.13
494494 path : dist
495495
496+ - name : Download a single artifact macos_app for python 3.14
497+ uses : actions/download-artifact@v4
498+ with :
499+ name : macos_app_py_3.14
500+ path : dist
501+
496502 - name : Download a single artifact linux_app for python 3.10
497503 uses : actions/download-artifact@v4
498504 with :
@@ -517,6 +523,12 @@ jobs:
517523 name : linux_app_py_3.13
518524 path : dist
519525
526+ - name : Download a single artifact linux_app for python 3.14
527+ uses : actions/download-artifact@v4
528+ with :
529+ name : linux_app_py_3.14
530+ path : dist
531+
520532 - name : Download a single artifact windows_app for python 3.10
521533 uses : actions/download-artifact@v4
522534 with :
@@ -541,6 +553,12 @@ jobs:
541553 name : windows_app_py_3.13
542554 path : dist
543555
556+ - name : Download a single artifact windows_app for python 3.14
557+ uses : actions/download-artifact@v4
558+ with :
559+ name : windows_app_py_3.14
560+ path : dist
561+
544562 - name : Mock GH release
545563 run : |
546564 ls -al dist
@@ -561,19 +579,22 @@ jobs:
561579 - smoke_test_install_and_run_pypi_wheels_on_posix
562580 - publish_to_gh_release
563581 runs-on : ubuntu-24.04
582+ environment : pypi-publish
583+ permissions :
584+ id-token : write
564585 defaults :
565586 run :
566587 shell : bash
567588 strategy :
568589 fail-fast : false
569590 matrix :
570- dist_names : ["wheels-3.10", "wheels-3.11", "wheels-3.12", "wheels-3.13", sdists]
591+ dist_names : ["wheels-3.10", "wheels-3.11", "wheels-3.12", "wheels-3.13", "wheels-3.13", " sdists" ]
571592
572593 steps :
573594 - name : Set up Python
574595 uses : actions/setup-python@v5
575596 with :
576- python-version : 3.13
597+ python-version : 3.14
577598
578599 - name : Download a single artifact
579600 uses : actions/download-artifact@v4
@@ -587,5 +608,3 @@ jobs:
587608
588609 - name : Publish distributions to PyPI
589610 uses : pypa/gh-action-pypi-publish@release/v1
590- with :
591- password : ${{ secrets.PYPI_API_TOKEN }}
0 commit comments