@@ -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.8
8
+ # - Build release app archives, one for each of linux, windows, macos on Python 3.9 to 3.12
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,10 +34,10 @@ jobs:
34
34
strategy :
35
35
fail-fast : true
36
36
matrix :
37
- pyver : ["3.8", "3. 9", "3.10", "3.11", "3.12"]
37
+ pyver : ["3.9", "3.10", "3.11", "3.12"]
38
38
39
39
steps :
40
- - uses : actions/checkout@v4
40
+ - uses : actions/checkout@v3
41
41
42
42
- name : Set up Python on ${{ matrix.pyver }}
43
43
uses : actions/setup-python@v4
69
69
fail-fast : true
70
70
71
71
steps :
72
- - uses : actions/checkout@v4
72
+ - uses : actions/checkout@v3
73
73
74
74
- name : Set up Python
75
75
uses : actions/setup-python@v4
@@ -100,10 +100,11 @@ jobs:
100
100
strategy :
101
101
fail-fast : true
102
102
matrix :
103
- pyver : ["3.8", "3. 9", "3.10", "3.11", "3.12"]
103
+ pyver : ["3.9", "3.10", "3.11", "3.12"]
104
104
105
105
steps :
106
- - uses : actions/checkout@v4
106
+ - uses : actions/checkout@v3
107
+ - run : git fetch --prune --unshallow
107
108
108
109
- name : Set up Python on ${{ matrix.pyver }}
109
110
uses : actions/setup-python@v4
@@ -134,10 +135,11 @@ jobs:
134
135
strategy :
135
136
fail-fast : true
136
137
matrix :
137
- pyver : ["3.8", "3. 9", "3.10", "3.11", "3.12"]
138
+ pyver : ["3.9", "3.10", "3.11", "3.12"]
138
139
139
140
steps :
140
- - uses : actions/checkout@v4
141
+ - uses : actions/checkout@v3
142
+ - run : git fetch --prune --unshallow
141
143
142
144
- name : Set up Python on ${{ matrix.pyver }}
143
145
uses : actions/setup-python@v4
@@ -168,10 +170,11 @@ jobs:
168
170
strategy :
169
171
fail-fast : true
170
172
matrix :
171
- pyver : ["3.8", "3. 9", "3.10", "3.11", "3.12"]
173
+ pyver : ["3.9", "3.10", "3.11", "3.12"]
172
174
173
175
steps :
174
- - uses : actions/checkout@v4
176
+ - uses : actions/checkout@v3
177
+ - run : git fetch --prune --unshallow
175
178
176
179
- name : Set up Python on ${{ matrix.pyver }}
177
180
uses : actions/setup-python@v4
@@ -202,7 +205,8 @@ jobs:
202
205
fail-fast : true
203
206
204
207
steps :
205
- - uses : actions/checkout@v4
208
+ - uses : actions/checkout@v3
209
+ - run : git fetch --prune --unshallow
206
210
207
211
- name : Set up Python
208
212
uses : actions/setup-python@v4
@@ -235,11 +239,11 @@ jobs:
235
239
strategy :
236
240
fail-fast : true
237
241
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"]
242
+ os : [ubuntu-22.04, ubuntu-24 .04, macos-12, macos-13]
243
+ pyver : ["3.9", "3.10", "3.11", "3.12"]
240
244
241
245
steps :
242
- - uses : actions/checkout@v4
246
+ - uses : actions/checkout@v3
243
247
244
248
- name : Set up Python ${{ matrix.pyver }} on ${{ matrix.os }}
245
249
uses : actions/setup-python@v4
@@ -282,10 +286,10 @@ jobs:
282
286
fail-fast : true
283
287
matrix :
284
288
os : [windows-2019, windows-2022]
285
- pyver : ["3.8", "3. 9", "3.10", "3.11", "3.12"]
289
+ pyver : ["3.9", "3.10", "3.11", "3.12"]
286
290
287
291
steps :
288
- - uses : actions/checkout@v4
292
+ - uses : actions/checkout@v3
289
293
290
294
- name : Set up Python ${{ matrix.pyver }} on ${{ matrix.os }}
291
295
uses : actions/setup-python@v4
@@ -326,11 +330,11 @@ jobs:
326
330
strategy :
327
331
fail-fast : true
328
332
matrix :
329
- os : [ubuntu-22.04, ubuntu-22 .04]
330
- pyver : ["3.8", "3. 9", "3.10", "3.11", "3.12"]
333
+ os : [ubuntu-22.04, ubuntu-24 .04]
334
+ pyver : ["3.9", "3.10", "3.11", "3.12"]
331
335
332
336
steps :
333
- - uses : actions/checkout@v4
337
+ - uses : actions/checkout@v3
334
338
335
339
- name : Set up Python ${{ matrix.pyver }} on ${{ matrix.os }}
336
340
uses : actions/setup-python@v4
@@ -368,10 +372,10 @@ jobs:
368
372
fail-fast : true
369
373
matrix :
370
374
os : [macos-12, macos-13]
371
- pyver : ["3.8", "3. 9", "3.10", "3.11", "3.12"]
375
+ pyver : ["3.9", "3.10", "3.11", "3.12"]
372
376
373
377
steps :
374
- - uses : actions/checkout@v4
378
+ - uses : actions/checkout@v3
375
379
376
380
- name : Set up Python ${{ matrix.pyver }} on ${{ matrix.os }}
377
381
uses : actions/setup-python@v4
@@ -409,10 +413,10 @@ jobs:
409
413
fail-fast : true
410
414
matrix :
411
415
os : [windows-2019, windows-2022]
412
- pyver : ["3.8", "3. 9", "3.10", "3.11", "3.12"]
416
+ pyver : ["3.9", "3.10", "3.11", "3.12"]
413
417
414
418
steps :
415
- - uses : actions/checkout@v4
419
+ - uses : actions/checkout@v3
416
420
417
421
- name : Set up Python ${{ matrix.pyver }} on ${{ matrix.os }}
418
422
uses : actions/setup-python@v4
@@ -457,12 +461,6 @@ jobs:
457
461
name : source_app
458
462
path : dist
459
463
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
-
466
464
- name : Download a single artifact macos_app for python 3.9
467
465
uses : actions/download-artifact@v3
468
466
with :
@@ -487,12 +485,6 @@ jobs:
487
485
name : macos_app_py_3.12
488
486
path : dist
489
487
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
-
496
488
- name : Download a single artifact linux_app for python 3.9
497
489
uses : actions/download-artifact@v3
498
490
with :
@@ -517,12 +509,6 @@ jobs:
517
509
name : linux_app_py_3.12
518
510
path : dist
519
511
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
-
526
512
- name : Download a single artifact windows_app for python 3.9
527
513
uses : actions/download-artifact@v3
528
514
with :
@@ -573,13 +559,13 @@ jobs:
573
559
strategy :
574
560
fail-fast : true
575
561
matrix :
576
- dist_names : ["wheels-3.8", "wheels-3. 9", "wheels-3.10", "wheels-3.11", "wheels-3.12", sdists]
562
+ dist_names : ["wheels-3.9", "wheels-3.10", "wheels-3.11", "wheels-3.12", sdists]
577
563
578
564
steps :
579
565
- name : Set up Python
580
566
uses : actions/setup-python@v4
581
567
with :
582
- python-version : 3.8
568
+ python-version : 3.9
583
569
584
570
- name : Download a single artifact
585
571
uses : actions/download-artifact@v3
0 commit comments