Skip to content

Commit b1ea494

Browse files
Bump SPDX License List to v3.27 and fix test failures
Signed-off-by: Ayan Sinha Mahapatra <ayansmahapatra@gmail.com>
1 parent 61180a4 commit b1ea494

27 files changed

+111
-107
lines changed

CHANGELOG.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,15 @@ v33.0.0 (next next, roadmap)
3838
- Update ABOUT files to adapt the ABOUT File Specification.
3939
See https://github.com/aboutcode-org/scancode-toolkit/issues/4181
4040

41+
- Add licenses from SPDX License List 3.27
42+
- Total Licenses: 21
43+
- Old Licenses: 13
44+
- From rules: 4
45+
- From licenses: 9
46+
- New licenses: 8
47+
https://github.com/aboutcode-org/scancode-toolkit/pull/4468
48+
49+
4150
v32.4.0 - 2025-06-26
4251
--------------------
4352

src/licensedcode/data/licenses/cryptoswift.LICENSE

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ ignorable_emails:
2323
- marcin.krzyzanowski@gmail.com
2424
---
2525

26-
Copyright (C) 2014-3099 Marcin Krzyżanowski
2726
This software is provided 'as-is', without any express or implied warranty.
2827

2928
In no event will the authors be held liable for any damages arising from the use of this software.

src/scancode_config.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,8 @@ def _create_dir(location):
146146
__output_format_version__ = '4.1.0'
147147

148148
# see https://github.com/spdx/tools-python/issues/820
149-
# this is actually `3.26.0`
150-
spdx_license_list_version = '3.26'
149+
# this is actually `3.27.0`
150+
spdx_license_list_version = '3.27'
151151

152152
################################################################################
153153
# USAGE MODE-, INSTALLATION- and IMPORT- and RUN-SPECIFIC DIRECTORIES

tests/formattedcode/data/common/manifests-expected.jsonlines

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"platform_version": "#151-Ubuntu SMP Sun May 18 21:35:19 UTC 2025",
2525
"python_version": "3.10.12 (main, Feb 4 2025, 14:57:36) [GCC 11.4.0]"
2626
},
27-
"spdx_license_list_version": "3.26",
27+
"spdx_license_list_version": "3.27",
2828
"files_count": 4
2929
}
3030
}

tests/formattedcode/data/common/manifests-expected.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ headers:
3232
platform: Linux-5.15.0-141-generic-x86_64-with-glibc2.35
3333
platform_version: '#151-Ubuntu SMP Sun May 18 21:35:19 UTC 2025'
3434
python_version: 3.10.12 (main, Feb 4 2025, 14:57:36) [GCC 11.4.0]
35-
spdx_license_list_version: '3.26'
35+
spdx_license_list_version: '3.27'
3636
files_count: 4
3737
summary:
3838
declared_license_expression: apache-2.0 AND cddl-1.0 AND lgpl-3.0 AND mit

tests/formattedcode/data/json/simple-expected.jsonlines

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"platform_version": "#151-Ubuntu SMP Sun May 18 21:35:19 UTC 2025",
2222
"python_version": "3.10.12 (main, Feb 4 2025, 14:57:36) [GCC 11.4.0]"
2323
},
24-
"spdx_license_list_version": "3.26",
24+
"spdx_license_list_version": "3.27",
2525
"files_count": 1
2626
}
2727
}

tests/formattedcode/data/spdx/license_known/expected.rdf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494
"@rdf:resource": "http://spdx.org/licenses/CC0-1.0"
9595
},
9696
"@rdf:about": "#SPDXRef-DOCUMENT",
97-
"rdfs:comment": "Generated with ScanCode and provided on an \"AS IS\" BASIS, WITHOUT WARRANTIES\nOR CONDITIONS OF ANY KIND, either express or implied. No content created from\nScanCode should be considered or used as legal advice. Consult an Attorney\nfor any legal advice.\nScanCode is a free software code scanning tool from nexB Inc. and others.\nVisit https://github.com/nexB/scancode-toolkit/ for support and download.\nSPDX License List: 3.26",
97+
"rdfs:comment": "Generated with ScanCode and provided on an \"AS IS\" BASIS, WITHOUT WARRANTIES\nOR CONDITIONS OF ANY KIND, either express or implied. No content created from\nScanCode should be considered or used as legal advice. Consult an Attorney\nfor any legal advice.\nScanCode is a free software code scanning tool from nexB Inc. and others.\nVisit https://github.com/nexB/scancode-toolkit/ for support and download.\nSPDX License List: 3.27",
9898
"spdx:name": "SPDX Document created by ScanCode Toolkit",
9999
"spdx:specVersion": "SPDX-2.2"
100100
},

tests/formattedcode/data/spdx/license_known/expected.tv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ScanCode should be considered or used as legal advice. Consult an Attorney
1010
for any legal advice.
1111
ScanCode is a free software code scanning tool from nexB Inc. and others.
1212
Visit https://github.com/nexB/scancode-toolkit/ for support and download.
13-
SPDX License List: 3.26</text>
13+
SPDX License List: 3.27</text>
1414
## Creation Information
1515
## Package Information
1616
PackageName: scan

tests/formattedcode/data/spdx/license_known/expected_with_text.rdf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494
"@rdf:resource": "http://spdx.org/licenses/CC0-1.0"
9595
},
9696
"@rdf:about": "#SPDXRef-DOCUMENT",
97-
"rdfs:comment": "Generated with ScanCode and provided on an \"AS IS\" BASIS, WITHOUT WARRANTIES\nOR CONDITIONS OF ANY KIND, either express or implied. No content created from\nScanCode should be considered or used as legal advice. Consult an Attorney\nfor any legal advice.\nScanCode is a free software code scanning tool from nexB Inc. and others.\nVisit https://github.com/nexB/scancode-toolkit/ for support and download.\nSPDX License List: 3.26",
97+
"rdfs:comment": "Generated with ScanCode and provided on an \"AS IS\" BASIS, WITHOUT WARRANTIES\nOR CONDITIONS OF ANY KIND, either express or implied. No content created from\nScanCode should be considered or used as legal advice. Consult an Attorney\nfor any legal advice.\nScanCode is a free software code scanning tool from nexB Inc. and others.\nVisit https://github.com/nexB/scancode-toolkit/ for support and download.\nSPDX License List: 3.27",
9898
"spdx:name": "SPDX Document created by ScanCode Toolkit",
9999
"spdx:specVersion": "SPDX-2.2"
100100
},

tests/formattedcode/data/spdx/license_known/expected_with_text.tv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ScanCode should be considered or used as legal advice. Consult an Attorney
1010
for any legal advice.
1111
ScanCode is a free software code scanning tool from nexB Inc. and others.
1212
Visit https://github.com/nexB/scancode-toolkit/ for support and download.
13-
SPDX License List: 3.26</text>
13+
SPDX License List: 3.27</text>
1414
## Creation Information
1515
## Package Information
1616
PackageName: scan

0 commit comments

Comments
 (0)