Skip to content

Commit 6e42937

Browse files
Merge pull request #3952 from aboutcode-org/release-prep-v32.3.0
Prepare release v32.3.0
2 parents 20f3794 + 5c6a5c2 commit 6e42937

File tree

12 files changed

+81
-108
lines changed

12 files changed

+81
-108
lines changed

.github/workflows/scancode-release.yml

+29-43
Original file line numberDiff line numberDiff line change
@@ -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
@@ -34,10 +34,10 @@ jobs:
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:
40-
- uses: actions/checkout@v4
40+
- uses: actions/checkout@v3
4141

4242
- name: Set up Python on ${{ matrix.pyver }}
4343
uses: actions/setup-python@v4
@@ -69,7 +69,7 @@ jobs:
6969
fail-fast: true
7070

7171
steps:
72-
- uses: actions/checkout@v4
72+
- uses: actions/checkout@v3
7373

7474
- name: Set up Python
7575
uses: actions/setup-python@v4
@@ -100,10 +100,11 @@ 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:
106-
- uses: actions/checkout@v4
106+
- uses: actions/checkout@v3
107+
- run: git fetch --prune --unshallow
107108

108109
- name: Set up Python on ${{ matrix.pyver }}
109110
uses: actions/setup-python@v4
@@ -134,10 +135,11 @@ jobs:
134135
strategy:
135136
fail-fast: true
136137
matrix:
137-
pyver: ["3.8", "3.9", "3.10", "3.11", "3.12"]
138+
pyver: ["3.9", "3.10", "3.11", "3.12"]
138139

139140
steps:
140-
- uses: actions/checkout@v4
141+
- uses: actions/checkout@v3
142+
- run: git fetch --prune --unshallow
141143

142144
- name: Set up Python on ${{ matrix.pyver }}
143145
uses: actions/setup-python@v4
@@ -168,10 +170,11 @@ jobs:
168170
strategy:
169171
fail-fast: true
170172
matrix:
171-
pyver: ["3.8", "3.9", "3.10", "3.11", "3.12"]
173+
pyver: ["3.9", "3.10", "3.11", "3.12"]
172174

173175
steps:
174-
- uses: actions/checkout@v4
176+
- uses: actions/checkout@v3
177+
- run: git fetch --prune --unshallow
175178

176179
- name: Set up Python on ${{ matrix.pyver }}
177180
uses: actions/setup-python@v4
@@ -202,7 +205,8 @@ jobs:
202205
fail-fast: true
203206

204207
steps:
205-
- uses: actions/checkout@v4
208+
- uses: actions/checkout@v3
209+
- run: git fetch --prune --unshallow
206210

207211
- name: Set up Python
208212
uses: actions/setup-python@v4
@@ -235,11 +239,11 @@ jobs:
235239
strategy:
236240
fail-fast: true
237241
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"]
240244

241245
steps:
242-
- uses: actions/checkout@v4
246+
- uses: actions/checkout@v3
243247

244248
- name: Set up Python ${{ matrix.pyver }} on ${{ matrix.os }}
245249
uses: actions/setup-python@v4
@@ -282,10 +286,10 @@ jobs:
282286
fail-fast: true
283287
matrix:
284288
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"]
286290

287291
steps:
288-
- uses: actions/checkout@v4
292+
- uses: actions/checkout@v3
289293

290294
- name: Set up Python ${{ matrix.pyver }} on ${{ matrix.os }}
291295
uses: actions/setup-python@v4
@@ -326,11 +330,11 @@ jobs:
326330
strategy:
327331
fail-fast: true
328332
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"]
331335

332336
steps:
333-
- uses: actions/checkout@v4
337+
- uses: actions/checkout@v3
334338

335339
- name: Set up Python ${{ matrix.pyver }} on ${{ matrix.os }}
336340
uses: actions/setup-python@v4
@@ -368,10 +372,10 @@ jobs:
368372
fail-fast: true
369373
matrix:
370374
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"]
372376

373377
steps:
374-
- uses: actions/checkout@v4
378+
- uses: actions/checkout@v3
375379

376380
- name: Set up Python ${{ matrix.pyver }} on ${{ matrix.os }}
377381
uses: actions/setup-python@v4
@@ -409,10 +413,10 @@ jobs:
409413
fail-fast: true
410414
matrix:
411415
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"]
413417

414418
steps:
415-
- uses: actions/checkout@v4
419+
- uses: actions/checkout@v3
416420

417421
- name: Set up Python ${{ matrix.pyver }} on ${{ matrix.os }}
418422
uses: actions/setup-python@v4
@@ -457,12 +461,6 @@ jobs:
457461
name: source_app
458462
path: dist
459463

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-
466464
- name: Download a single artifact macos_app for python 3.9
467465
uses: actions/download-artifact@v3
468466
with:
@@ -487,12 +485,6 @@ jobs:
487485
name: macos_app_py_3.12
488486
path: dist
489487

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-
496488
- name: Download a single artifact linux_app for python 3.9
497489
uses: actions/download-artifact@v3
498490
with:
@@ -517,12 +509,6 @@ jobs:
517509
name: linux_app_py_3.12
518510
path: dist
519511

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-
526512
- name: Download a single artifact windows_app for python 3.9
527513
uses: actions/download-artifact@v3
528514
with:
@@ -573,13 +559,13 @@ jobs:
573559
strategy:
574560
fail-fast: true
575561
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]
577563

578564
steps:
579565
- name: Set up Python
580566
uses: actions/setup-python@v4
581567
with:
582-
python-version: 3.8
568+
python-version: 3.9
583569

584570
- name: Download a single artifact
585571
uses: actions/download-artifact@v3

CHANGELOG.rst

+12
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ v33.0.0 (next next, roadmap)
3737
of these in other summary plugins.
3838
See https://github.com/nexB/scancode-toolkit/issues/1745
3939

40+
v32.3.0 - 2024-10-21
41+
--------------------
42+
4043
Major API/other changes:
4144

4245
- Output Format Version updated to 4.0.0 (major version bump)
@@ -74,6 +77,15 @@ Changes in Output Data Structure:
7477

7578
- Fix Python ``SyntaxWarning`` in textcode module.
7679

80+
- Improve python, npm, yarn, go package detections:
81+
https://github.com/aboutcode-org/scancode-toolkit/pull/3857
82+
https://github.com/aboutcode-org/scancode-toolkit/pull/3869
83+
https://github.com/aboutcode-org/scancode-toolkit/pull/3943
84+
https://github.com/aboutcode-org/scancode-toolkit/pull/3894
85+
86+
- Drop python 3.8 support as this is end of life. Please use older releases if you
87+
are using python 3.8 but this is not recommended.
88+
7789
v32.2.1 - 2024-07-02
7890
---------------------
7991

INSTALL.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ Prerequisites
1616
-------------
1717

1818
Before installing ScanCode make sure you have installed these prerequisites.
19-
The main one is to have Python installed version 3.8, 3.9, 3.10, 3.11 or 3.12
19+
The main one is to have Python installed version 3.9, 3.10, 3.11 or 3.12
2020

21-
- For Linux(Ubuntu): ``sudo apt install python3.8-dev bzip2 xz-utils zlib1g libxml2-dev libxslt1-dev``
21+
- For Linux(Ubuntu): ``sudo apt install python3.9-dev bzip2 xz-utils zlib1g libxml2-dev libxslt1-dev``
2222
- For MacOS: Install Python 3.x from https://www.python.org/
2323
- For Windows: Install Python 3.x from https://www.python.org/ using the 64 bits amd64 variant
2424
- For FreeBSD: (this needs to be documented)

README.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -139,15 +139,15 @@ Installation
139139
============
140140

141141
Before installing ScanCode make sure that you have installed the prerequisites
142-
properly. This means installing Python 3.8 for x86/64 architectures.
143-
We support Python 3.8, 3.9, 3.10, 3.11 and 3.12.
142+
properly. This means installing Python 3.9 for x86/64 architectures.
143+
We support Python 3.9, 3.10, 3.11 and 3.12.
144144

145145
See `prerequisites <https://scancode-toolkit.readthedocs.io/en/latest/getting-started/install.html#prerequisites>`_
146146
for detailed information on the support platforms and Python versions.
147147

148148
There are a few common ways to `install ScanCode <https://scancode-toolkit.readthedocs.io/en/latest/getting-started/install.html>`_.
149149

150-
- `**Installation as an application: Install Python 3.8, download a release archive, extract and run**.
150+
- `**Installation as an application: Install Python 3.9, download a release archive, extract and run**.
151151
<https://scancode-toolkit.readthedocs.io/en/latest/getting-started/install.html#installation-as-an-application-downloading-releases>`_
152152
This is the recommended installation method.
153153

azure-pipelines.yml

+15-15
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ jobs:
123123
job_name: ubuntu20_cpython
124124
image_name: ubuntu-20.04
125125
python_architecture: x64
126-
python_versions: ['3.8', '3.9', '3.10', '3.11', '3.12']
126+
python_versions: ['3.9', '3.10', '3.11', '3.12']
127127
test_suites:
128128
all: venv/bin/pytest -n 2 -vvs tests/scancode/test_cli.py --reruns 2
129129

@@ -132,15 +132,15 @@ jobs:
132132
job_name: ubuntu22_cpython
133133
image_name: ubuntu-22.04
134134
python_architecture: x64
135-
python_versions: ['3.8', '3.9', '3.10', '3.11', '3.12']
135+
python_versions: ['3.9', '3.10', '3.11', '3.12']
136136
test_suites:
137137
all: venv/bin/pytest -n 2 -vvs tests/scancode/test_cli.py --reruns 2
138138

139139
- template: etc/ci/azure-posix.yml
140140
parameters:
141141
job_name: macos12_cpython
142142
image_name: macOS-12
143-
python_versions: ['3.8', '3.9', '3.10', '3.11', '3.12']
143+
python_versions: ['3.9', '3.10', '3.11', '3.12']
144144
python_architecture: x64
145145
test_suites:
146146
all: venv/bin/pytest -n 2 -vvs tests/scancode/test_cli.py --reruns 2
@@ -149,15 +149,15 @@ jobs:
149149
parameters:
150150
job_name: macos13_cpython
151151
image_name: macOS-13
152-
python_versions: ['3.8', '3.9', '3.10', '3.11', '3.12']
152+
python_versions: ['3.9', '3.10', '3.11', '3.12']
153153
test_suites:
154154
all: venv/bin/pytest -n 2 -vvs tests/scancode/test_cli.py --reruns 2
155155

156156
- template: etc/ci/azure-win.yml
157157
parameters:
158158
job_name: win2019_cpython_1
159159
image_name: windows-2019
160-
python_versions: ['3.8']
160+
python_versions: ['3.9']
161161
python_architecture: x64
162162
test_suites:
163163
all: venv\Scripts\pytest -n 2 -vvs tests\scancode\test_cli.py --reruns 2
@@ -167,15 +167,15 @@ jobs:
167167
job_name: win2022_cpython
168168
image_name: windows-2022
169169
python_architecture: x64
170-
python_versions: ['3.8', '3.9', '3.10', '3.11', '3.12']
170+
python_versions: ['3.9', '3.10', '3.11', '3.12']
171171
test_suites:
172172
all: venv\Scripts\pytest -n 2 -vvs tests\scancode\test_cli.py --reruns 2
173173

174174
- template: etc/ci/azure-win.yml
175175
parameters:
176176
job_name: win2022_cpython_1
177177
image_name: windows-2022
178-
python_versions: ['3.8']
178+
python_versions: ['3.9']
179179
python_architecture: x64
180180
test_suites:
181181
all: venv\Scripts\pytest -n 2 -vvs tests\scancode\test_cli.py --reruns 2
@@ -184,7 +184,7 @@ jobs:
184184
parameters:
185185
job_name: win2022_cpython_2
186186
image_name: windows-2022
187-
python_versions: ['3.8', '3.9', '3.10', '3.11', '3.12']
187+
python_versions: ['3.9', '3.10', '3.11', '3.12']
188188
python_architecture: x64
189189
test_suites:
190190
all: venv\Scripts\pytest -n 2 -vvs tests\scancode\test_cli.py --reruns 2
@@ -199,7 +199,7 @@ jobs:
199199
parameters:
200200
job_name: ubuntu20_test_all_supported_click_versions
201201
image_name: ubuntu-20.04
202-
python_versions: ['3.8', '3.9', '3.10', '3.11', '3.12']
202+
python_versions: ['3.9', '3.10', '3.11', '3.12']
203203
python_architecture: x64
204204
test_suites:
205205
click_versions: |
@@ -219,47 +219,47 @@ jobs:
219219
parameters:
220220
job_name: ubuntu22_cpython_latest_from_pip
221221
image_name: ubuntu-22.04
222-
python_versions: ['3.8', '3.9', '3.10', '3.11', '3.12']
222+
python_versions: ['3.9', '3.10', '3.11', '3.12']
223223
test_suites:
224224
all: venv/bin/pip install --upgrade-strategy eager --force-reinstall --upgrade -e .[testing] && venv/bin/pytest -n 2 -vvs tests/scancode/test_cli.py
225225

226226
- template: etc/ci/azure-posix.yml
227227
parameters:
228228
job_name: ubuntu20_cpython_latest_from_pip
229229
image_name: ubuntu-20.04
230-
python_versions: ['3.8', '3.9', '3.10', '3.11', '3.12']
230+
python_versions: ['3.9', '3.10', '3.11', '3.12']
231231
test_suites:
232232
all: venv/bin/pip install --upgrade-strategy eager --force-reinstall --upgrade -e .[testing] && venv/bin/pytest -n 2 -vvs tests/scancode/test_cli.py
233233

234234
- template: etc/ci/azure-posix.yml
235235
parameters:
236236
job_name: macos12_cpython_latest_from_pip
237237
image_name: macos-12
238-
python_versions: ['3.8', '3.9', '3.10', '3.11', '3.12']
238+
python_versions: ['3.9', '3.10', '3.11', '3.12']
239239
test_suites:
240240
all: venv/bin/pip install --upgrade-strategy eager --force-reinstall --upgrade -e .[testing] && venv/bin/pytest -n 2 -vvs tests/scancode/test_cli.py
241241

242242
- template: etc/ci/azure-posix.yml
243243
parameters:
244244
job_name: macos13_cpython_latest_from_pip
245245
image_name: macos-13
246-
python_versions: ['3.8', '3.9', '3.10', '3.11', '3.12']
246+
python_versions: ['3.9', '3.10', '3.11', '3.12']
247247
test_suites:
248248
all: venv/bin/pip install --upgrade-strategy eager --force-reinstall --upgrade -e .[testing] && venv/bin/pytest -n 2 -vvs tests/scancode/test_cli.py
249249

250250
- template: etc/ci/azure-win.yml
251251
parameters:
252252
job_name: win2019_cpython_latest_from_pip
253253
image_name: windows-2019
254-
python_versions: ['3.8', '3.9', '3.10', '3.11', '3.12']
254+
python_versions: ['3.9', '3.10', '3.11', '3.12']
255255
test_suites:
256256
all: venv\Scripts\pip install --upgrade-strategy eager --force-reinstall --upgrade -e .[testing] && venv\Scripts\pytest -n 2 -vvs tests\scancode\test_cli.py
257257

258258
- template: etc/ci/azure-win.yml
259259
parameters:
260260
job_name: win2022_cpython_latest_from_pip
261261
image_name: windows-2022
262-
python_versions: ['3.8', '3.9', '3.10', '3.11', '3.12']
262+
python_versions: ['3.9', '3.10', '3.11', '3.12']
263263
test_suites:
264264
all: venv\Scripts\pip install --upgrade-strategy eager --force-reinstall --upgrade -e .[testing] && venv\Scripts\pytest -n 2 -vvs tests\scancode\test_cli.py
265265

0 commit comments

Comments
 (0)