@@ -5,7 +5,7 @@ name: Create ScanCode release archives, then test and publish to GH and PyPI
55 # Summary of the steps:
66 # - Build wheel and sdist for the "main" scancode, then build these for the "mini" flavor
77 # - 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.8
8+ # - Build release app archives, one for each of linux, windows, macos on Python 3.9 to 3.12
99 # - test each on its target OS and Python version
1010 # - Create gh-release and upload app archives to release
1111 # - Upload all wheels and sdist to PyPI
2525 contents : read # to fetch code (actions/checkout)
2626
2727 name : Build PyPI wheels
28- runs-on : ubuntu-22 .04
28+ runs-on : ubuntu-24 .04
2929
3030 defaults :
3131 run :
3434 strategy :
3535 fail-fast : true
3636 matrix :
37- pyver : ["3.8", "3. 9", "3.10", "3.11", "3.12"]
37+ pyver : ["3.9", "3.10", "3.11", "3.12"]
3838
3939 steps :
4040 - uses : actions/checkout@v4
5959 contents : read # to fetch code (actions/checkout)
6060
6161 name : Build PyPI sdist archives
62- runs-on : ubuntu-22 .04
62+ runs-on : ubuntu-24 .04
6363
6464 defaults :
6565 run :
9191 contents : read # to fetch code (actions/checkout)
9292
9393 name : Build app Release for linux
94- runs-on : ubuntu-22 .04
94+ runs-on : ubuntu-24 .04
9595
9696 defaults :
9797 run :
@@ -100,7 +100,7 @@ jobs:
100100 strategy :
101101 fail-fast : true
102102 matrix :
103- pyver : ["3.8", "3. 9", "3.10", "3.11", "3.12"]
103+ pyver : ["3.9", "3.10", "3.11", "3.12"]
104104
105105 steps :
106106 - uses : actions/checkout@v4
@@ -125,7 +125,7 @@ jobs:
125125 contents : read # to fetch code (actions/checkout)
126126
127127 name : Build app Release for mac
128- runs-on : ubuntu-22 .04
128+ runs-on : ubuntu-24 .04
129129
130130 defaults :
131131 run :
@@ -134,7 +134,7 @@ jobs:
134134 strategy :
135135 fail-fast : true
136136 matrix :
137- pyver : ["3.8", "3. 9", "3.10", "3.11", "3.12"]
137+ pyver : ["3.9", "3.10", "3.11", "3.12"]
138138
139139 steps :
140140 - uses : actions/checkout@v4
@@ -159,7 +159,7 @@ jobs:
159159 contents : read # to fetch code (actions/checkout)
160160
161161 name : Build app Release for windows
162- runs-on : ubuntu-22 .04
162+ runs-on : ubuntu-24 .04
163163
164164 defaults :
165165 run :
@@ -168,7 +168,7 @@ jobs:
168168 strategy :
169169 fail-fast : true
170170 matrix :
171- pyver : ["3.8", "3. 9", "3.10", "3.11", "3.12"]
171+ pyver : ["3.9", "3.10", "3.11", "3.12"]
172172
173173 steps :
174174 - uses : actions/checkout@v4
@@ -193,7 +193,7 @@ jobs:
193193 contents : read # to fetch code (actions/checkout)
194194
195195 name : Build app source
196- runs-on : ubuntu-22 .04
196+ runs-on : ubuntu-24 .04
197197
198198 defaults :
199199 run :
@@ -235,8 +235,8 @@ jobs:
235235 strategy :
236236 fail-fast : true
237237 matrix :
238- os : [ubuntu-22 .04, ubuntu-22 .04, macos-12, macos-13]
239- pyver : ["3.8", "3. 9", "3.10", "3.11", "3.12"]
238+ os : [ubuntu-24 .04, ubuntu-24 .04, macos-12, macos-13]
239+ pyver : ["3.9", "3.10", "3.11", "3.12"]
240240
241241 steps :
242242 - uses : actions/checkout@v4
@@ -282,7 +282,7 @@ jobs:
282282 fail-fast : true
283283 matrix :
284284 os : [windows-2019, windows-2022]
285- pyver : ["3.8", "3. 9", "3.10", "3.11", "3.12"]
285+ pyver : ["3.9", "3.10", "3.11", "3.12"]
286286
287287 steps :
288288 - uses : actions/checkout@v4
@@ -326,8 +326,8 @@ jobs:
326326 strategy :
327327 fail-fast : true
328328 matrix :
329- os : [ubuntu-22 .04, ubuntu-22 .04]
330- pyver : ["3.8", "3. 9", "3.10", "3.11", "3.12"]
329+ os : [ubuntu-24 .04, ubuntu-24 .04]
330+ pyver : ["3.9", "3.10", "3.11", "3.12"]
331331
332332 steps :
333333 - uses : actions/checkout@v4
@@ -368,7 +368,7 @@ jobs:
368368 fail-fast : true
369369 matrix :
370370 os : [macos-12, macos-13]
371- pyver : ["3.8", "3. 9", "3.10", "3.11", "3.12"]
371+ pyver : ["3.9", "3.10", "3.11", "3.12"]
372372
373373 steps :
374374 - uses : actions/checkout@v4
@@ -409,7 +409,7 @@ jobs:
409409 fail-fast : true
410410 matrix :
411411 os : [windows-2019, windows-2022]
412- pyver : ["3.8", "3. 9", "3.10", "3.11", "3.12"]
412+ pyver : ["3.9", "3.10", "3.11", "3.12"]
413413
414414 steps :
415415 - uses : actions/checkout@v4
@@ -443,7 +443,7 @@ jobs:
443443 - build_scancode_for_release_linux
444444 - build_scancode_for_release_macos
445445
446- runs-on : ubuntu-22 .04
446+ runs-on : ubuntu-24 .04
447447 defaults :
448448 run :
449449 shell : bash
@@ -457,12 +457,6 @@ jobs:
457457 name : source_app
458458 path : dist
459459
460- - name : Download a single artifact macos_app for python 3.8
461- uses : actions/download-artifact@v3
462- with :
463- name : macos_app_py_3.8
464- path : dist
465-
466460 - name : Download a single artifact macos_app for python 3.9
467461 uses : actions/download-artifact@v3
468462 with :
@@ -487,12 +481,6 @@ jobs:
487481 name : macos_app_py_3.12
488482 path : dist
489483
490- - name : Download a single artifact linux_app for python 3.8
491- uses : actions/download-artifact@v3
492- with :
493- name : linux_app_py_3.8
494- path : dist
495-
496484 - name : Download a single artifact linux_app for python 3.9
497485 uses : actions/download-artifact@v3
498486 with :
@@ -517,12 +505,6 @@ jobs:
517505 name : linux_app_py_3.12
518506 path : dist
519507
520- - name : Download a single artifact windows_app for python 3.8
521- uses : actions/download-artifact@v3
522- with :
523- name : windows_app_py_3.8
524- path : dist
525-
526508 - name : Download a single artifact windows_app for python 3.9
527509 uses : actions/download-artifact@v3
528510 with :
@@ -566,20 +548,20 @@ jobs:
566548 - smoke_test_install_and_run_pypi_wheels_on_windows
567549 - smoke_test_install_and_run_pypi_wheels_on_posix
568550 - publish_to_gh_release
569- runs-on : ubuntu-22 .04
551+ runs-on : ubuntu-24 .04
570552 defaults :
571553 run :
572554 shell : bash
573555 strategy :
574556 fail-fast : true
575557 matrix :
576- dist_names : ["wheels-3.8", "wheels-3. 9", "wheels-3.10", "wheels-3.11", "wheels-3.12", sdists]
558+ dist_names : ["wheels-3.9", "wheels-3.10", "wheels-3.11", "wheels-3.12", sdists]
577559
578560 steps :
579561 - name : Set up Python
580562 uses : actions/setup-python@v4
581563 with :
582- python-version : 3.8
564+ python-version : 3.9
583565
584566 - name : Download a single artifact
585567 uses : actions/download-artifact@v3
0 commit comments