@@ -5,7 +5,7 @@ name: Create ScanCode release archives, then test and publish to GH and PyPI
5
5
# Summary of the steps:
6
6
# - Build wheel and sdist for the "main" scancode, then build these for the "mini" flavor
7
7
# - test each wheel and sdist on every possible OS x Python version combinations
8
- # - Build release app archives, one for each of linux, windows, macos on Python 3.9 to 3.12
8
+ # - Build release app archives, one for each of linux, windows, macos on Python 3.9 to 3.13
9
9
# - test each on its target OS and Python version
10
10
# - Create gh-release and upload app archives to release
11
11
# - Upload all wheels and sdist to PyPI
34
34
strategy :
35
35
fail-fast : true
36
36
matrix :
37
- pyver : ["3.9", "3.10", "3.11", "3.12"]
37
+ pyver : ["3.9", "3.10", "3.11", "3.12", "3.13" ]
38
38
39
39
steps :
40
40
- uses : actions/checkout@v4
74
74
- name : Set up Python
75
75
uses : actions/setup-python@v5
76
76
with :
77
- python-version : " 3.12 "
77
+ python-version : " 3.13 "
78
78
79
79
- name : Install requirements then build main and mini sdist
80
80
run : etc/release/scancode-create-pypi-sdist.sh
@@ -100,7 +100,7 @@ jobs:
100
100
strategy :
101
101
fail-fast : true
102
102
matrix :
103
- pyver : ["3.9", "3.10", "3.11", "3.12"]
103
+ pyver : ["3.9", "3.10", "3.11", "3.12", "3.13" ]
104
104
105
105
steps :
106
106
- uses : actions/checkout@v4
@@ -135,7 +135,7 @@ jobs:
135
135
strategy :
136
136
fail-fast : true
137
137
matrix :
138
- pyver : ["3.9", "3.10", "3.11", "3.12"]
138
+ pyver : ["3.9", "3.10", "3.11", "3.12", "3.13" ]
139
139
140
140
steps :
141
141
- uses : actions/checkout@v4
@@ -170,7 +170,7 @@ jobs:
170
170
strategy :
171
171
fail-fast : true
172
172
matrix :
173
- pyver : ["3.9", "3.10", "3.11", "3.12"]
173
+ pyver : ["3.9", "3.10", "3.11", "3.12", "3.13" ]
174
174
175
175
steps :
176
176
- uses : actions/checkout@v4
@@ -211,7 +211,7 @@ jobs:
211
211
- name : Set up Python
212
212
uses : actions/setup-python@v5
213
213
with :
214
- python-version : " 3.12 "
214
+ python-version : " 3.13 "
215
215
216
216
- name : Build source archive with deps
217
217
run : etc/release/scancode-create-release-app-sources.sh
@@ -240,7 +240,7 @@ jobs:
240
240
fail-fast : true
241
241
matrix :
242
242
os : [ubuntu-24.04, ubuntu-24.04, macos-13, macos-14]
243
- pyver : ["3.9", "3.10", "3.11", "3.12"]
243
+ pyver : ["3.9", "3.10", "3.11", "3.12", "3.13" ]
244
244
245
245
steps :
246
246
- uses : actions/checkout@v4
@@ -285,8 +285,8 @@ jobs:
285
285
strategy :
286
286
fail-fast : true
287
287
matrix :
288
- os : [windows-2019 , windows-2022]
289
- pyver : ["3.9", "3.10", "3.11", "3.12"]
288
+ os : [windows-2025 , windows-2022]
289
+ pyver : ["3.9", "3.10", "3.11", "3.12", "3.13" ]
290
290
291
291
steps :
292
292
- uses : actions/checkout@v4
@@ -331,7 +331,7 @@ jobs:
331
331
fail-fast : true
332
332
matrix :
333
333
os : [ubuntu-24.04, ubuntu-24.04]
334
- pyver : ["3.9", "3.10", "3.11", "3.12"]
334
+ pyver : ["3.9", "3.10", "3.11", "3.12", "3.13" ]
335
335
336
336
steps :
337
337
- uses : actions/checkout@v4
@@ -349,7 +349,7 @@ jobs:
349
349
350
350
- name : test install app archive
351
351
run : |
352
- for f in `find dist -type f -name "*.tar.gz "`; \
352
+ for f in `find dist -type f -name "*.zip "`; \
353
353
do \
354
354
python etc/release/scancode_release_tests.py $f; \
355
355
done
@@ -372,7 +372,7 @@ jobs:
372
372
fail-fast : true
373
373
matrix :
374
374
os : [macos-13, macos-14]
375
- pyver : ["3.9", "3.10", "3.11", "3.12"]
375
+ pyver : ["3.9", "3.10", "3.11", "3.12", "3.13" ]
376
376
377
377
steps :
378
378
- uses : actions/checkout@v4
@@ -390,7 +390,7 @@ jobs:
390
390
391
391
- name : test install app archive
392
392
run : |
393
- for f in `find dist -type f -name "*.tar.gz "`; \
393
+ for f in `find dist -type f -name "*.zip "`; \
394
394
do \
395
395
python etc/release/scancode_release_tests.py $f; \
396
396
done
@@ -412,8 +412,8 @@ jobs:
412
412
strategy :
413
413
fail-fast : true
414
414
matrix :
415
- os : [windows-2019 , windows-2022]
416
- pyver : ["3.9", "3.10", "3.11", "3.12"]
415
+ os : [windows-2025 , windows-2022]
416
+ pyver : ["3.9", "3.10", "3.11", "3.12", "3.13" ]
417
417
418
418
steps :
419
419
- uses : actions/checkout@v4
@@ -485,6 +485,12 @@ jobs:
485
485
name : macos_app_py_3.12
486
486
path : dist
487
487
488
+ - name : Download a single artifact macos_app for python 3.13
489
+ uses : actions/download-artifact@v4
490
+ with :
491
+ name : macos_app_py_3.13
492
+ path : dist
493
+
488
494
- name : Download a single artifact linux_app for python 3.9
489
495
uses : actions/download-artifact@v4
490
496
with :
@@ -509,6 +515,12 @@ jobs:
509
515
name : linux_app_py_3.12
510
516
path : dist
511
517
518
+ - name : Download a single artifact linux_app for python 3.13
519
+ uses : actions/download-artifact@v4
520
+ with :
521
+ name : linux_app_py_3.13
522
+ path : dist
523
+
512
524
- name : Download a single artifact windows_app for python 3.9
513
525
uses : actions/download-artifact@v4
514
526
with :
@@ -533,6 +545,12 @@ jobs:
533
545
name : windows_app_py_3.12
534
546
path : dist
535
547
548
+ - name : Download a single artifact windows_app for python 3.13
549
+ uses : actions/download-artifact@v4
550
+ with :
551
+ name : windows_app_py_3.13
552
+ path : dist
553
+
536
554
- name : Mock GH release
537
555
run : |
538
556
ls -al dist
@@ -559,13 +577,13 @@ jobs:
559
577
strategy :
560
578
fail-fast : true
561
579
matrix :
562
- dist_names : ["wheels-3.9", "wheels-3.10", "wheels-3.11", "wheels-3.12", sdists]
580
+ dist_names : ["wheels-3.9", "wheels-3.10", "wheels-3.11", "wheels-3.12", "wheels-3.13", sdists]
563
581
564
582
steps :
565
583
- name : Set up Python
566
584
uses : actions/setup-python@v5
567
585
with :
568
- python-version : 3.9
586
+ python-version : 3.13
569
587
570
588
- name : Download a single artifact
571
589
uses : actions/download-artifact@v4
0 commit comments