Skip to content

Commit a500061

Browse files
Update pyproject files for releasing multiple wheels
Signed-off-by: Ayan Sinha Mahapatra <asmahapatra@aboutcode.org>
1 parent 6c0e96d commit a500061

7 files changed

+55
-40
lines changed

pyproject-licensedcode-data.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "flot.buildapi"
44

55
[project]
66
name = "licensedcode-data"
7-
version = "32.1.0"
7+
version = "32.5.0"
88
description = "A packaging of the ScanCode licensedb license and license rules database."
99
long_description_content_type = "text/x-rst"
1010
readme = "src/licensedcode/data/README.rst"

pyproject-licensedcode-index.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "flot.buildapi"
44

55
[project]
66
name = "licensedcode-index"
7-
version = "32.1.0"
7+
version = "32.5.0"
88
description = "A packaging of the ScanCode licensedb license and license rules pre-built index. Can only be used with ScanCode-Toolkit."
99
long_description_content_type = "text/x-rst"
1010
readme = "src/licensedcode/data/README.rst"

pyproject-scancode-toolkit-mini.toml

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ build-backend = "flot.buildapi"
44

55
[project]
66
name = "scancode-toolkit-mini"
7-
version = "32.1.0"
7+
version = "32.5.0"
88
description = "ScanCode is a tool to scan code for license, copyright, package and their documented dependencies and other interesting facts."
99
readme = "README.rst"
1010
license = { text = "Apache-2.0 AND CC-BY-4.0 AND LicenseRef-scancode-other-permissive AND LicenseRef-scancode-other-copyleft" }
11-
requires-python = ">=3.8"
11+
requires-python = ">=3.10"
1212
authors = [
1313
{ name = "nexB. Inc. and others", email = "info@aboutcode.org" },
1414
]
@@ -23,6 +23,7 @@ keywords = [
2323
"author",
2424
"extract",
2525
"licensing",
26+
"scan",
2627
"sca",
2728
"SBOM",
2829
"spdx",
@@ -126,7 +127,7 @@ packages = [
126127
"packagedcode_msitools >= 0.101.210706; platform_system == 'Linux'",
127128
]
128129

129-
testing = [
130+
dev = [
130131
"flot",
131132
"pytest >= 6, != 7.0.0",
132133
"pytest-xdist >= 2",
@@ -137,22 +138,20 @@ testing = [
137138
"isort",
138139
"vendorize >= 0.3.0",
139140
"pytest-rerunfailures",
141+
"ruff",
140142
"bump-my-version",
141-
]
142-
143-
docs = [
144-
"Sphinx == 5.1.0",
143+
"Sphinx >= 5.0.2",
145144
"sphinx_rtd_theme >= 0.5.1",
146-
"doc8 >= 0.8.1",
147145
"sphinx-reredirects >= 0.1.2",
146+
"doc8 >= 0.8.1",
148147
"sphinx-autobuild",
149148
"sphinx-rtd-dark-mode>=1.3.0",
150149
"sphinx-copybutton",
151150
]
152151

153152

154153
[tool.bumpversion]
155-
current_version = "32.1.0"
154+
current_version = "32.5.0"
156155
allow_dirty = true
157156

158157
files = [
@@ -244,6 +243,10 @@ scancode = "scancode.cli:scancode"
244243
scancode-reindex-licenses = "licensedcode.reindex:reindex_licenses"
245244
scancode-license-data = "licensedcode.license_db:dump_scancode_license_data"
246245
regen-package-docs = "packagedcode.regen_package_docs:regen_package_docs"
246+
scancode-reindex-package-patterns = "packagedcode.cache:cache_package_patterns"
247+
add-required-phrases = "licensedcode.required_phrases:add_required_phrases"
248+
gen-new-required-phrases-rules = "licensedcode.required_phrases:gen_required_phrases_rules"
249+
scancode-train-gibberish-model = "textcode.train_gibberish_model:train_gibberish_model"
247250

248251

249252
# These are configurations for ScanCode plugins as entry points.

pyproject-scancode-toolkit.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,6 @@ files = [
161161
{ filename = "pyproject.toml" },
162162
{ filename = "pyproject-scancode-toolkit-mini.toml" },
163163
{ filename = "pyproject-packagedcode.toml" },
164-
165164
]
166165

167166

@@ -245,6 +244,10 @@ scancode = "scancode.cli:scancode"
245244
scancode-reindex-licenses = "licensedcode.reindex:reindex_licenses"
246245
scancode-license-data = "licensedcode.license_db:dump_scancode_license_data"
247246
regen-package-docs = "packagedcode.regen_package_docs:regen_package_docs"
247+
scancode-reindex-package-patterns = "packagedcode.cache:cache_package_patterns"
248+
add-required-phrases = "licensedcode.required_phrases:add_required_phrases"
249+
gen-new-required-phrases-rules = "licensedcode.required_phrases:gen_required_phrases_rules"
250+
scancode-train-gibberish-model = "textcode.train_gibberish_model:train_gibberish_model"
248251

249252

250253
# These are configurations for ScanCode plugins as entry points.

pyproject.toml

Lines changed: 35 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ build-backend = "flot.buildapi"
77

88
[project]
99
name = "scancode-toolkit-devel"
10-
version = "32.1.0"
10+
version = "32.5.0"
1111
description = "ScanCode is a tool to scan code for license, copyright, package and their documented dependencies and other interesting facts."
1212
readme = "README.rst"
1313
license = { text = "Apache-2.0 AND CC-BY-4.0 AND LicenseRef-scancode-other-permissive AND LicenseRef-scancode-other-copyleft" }
14-
requires-python = ">=3.8"
14+
requires-python = ">=3.10"
1515
authors = [
1616
{ name = "nexB. Inc. and others", email = "info@aboutcode.org" },
1717
]
@@ -39,69 +39,74 @@ classifiers = [
3939
"Intended Audience :: Developers",
4040
"Programming Language :: Python :: 3",
4141
"Programming Language :: Python :: 3 :: Only",
42-
"Programming Language :: Python :: 3.8",
43-
"Programming Language :: Python :: 3.9",
4442
"Programming Language :: Python :: 3.10",
4543
"Programming Language :: Python :: 3.11",
4644
"Programming Language :: Python :: 3.12",
45+
"Programming Language :: Python :: 3.13",
46+
"Programming Language :: Python :: 3.14",
4747
"Topic :: Software Development",
4848
"Topic :: Utilities",
4949
]
5050

5151
dependencies = [
5252
"attrs >= 18.1,!=20.1.0;python_version<'3.11'",
5353
"attrs >= 22.1.0;python_version>='3.11'",
54-
"Beautifulsoup4 >= 4.0.0",
54+
"Beautifulsoup4[chardet] >= 4.13.0",
5555
"boolean.py >= 4.0",
5656
"chardet >= 3.0.0",
57-
"click >= 6.7, !=7.0",
57+
"click >= 6.7, !=7.0, !=8.1.8;python_version<'3.10'",
58+
"click >= 8.2.0;python_version>='3.10'",
5859
"colorama >= 0.3.9",
59-
"commoncode >= 31.0.3",
60+
"commoncode >= 32.4.2",
61+
"cyseq >= 0.1.2",
6062
"container-inspector >= 31.0.0",
6163
"debian-inspector >= 31.1.0",
6264
"dparse2 >= 0.7.0",
6365
"fasteners",
64-
"fingerprints >= 0.6.0",
66+
"fingerprints >= 0.6.0, <=1.2.3",
6567
"ftfy >= 6.0.0",
6668
"gemfileparser2 >= 0.9.0",
6769
"html5lib",
6870
"importlib_metadata",
69-
"intbitset >= 3.0.2",
71+
"intbitset >= 4.1.0",
7072
"jaraco.functools",
7173
"javaproperties >= 0.5",
7274
"jinja2 >= 2.7.0",
7375
"jsonstreams >= 0.5.0",
74-
"license_expression >= 30.1.1",
75-
"lxml >= 4.9.2",
76+
"license_expression >= 30.4.4",
77+
"lxml >= 5.4.0",
7678
"MarkupSafe >= 2.1.2",
79+
"multiregex >= 2.0.3",
80+
"normality <= 2.6.1",
7781
"packageurl_python >= 0.9.0",
7882
"packvers >= 21.0.0",
7983
# use temp advanced patched release
8084
"parameter-expansion-patched >= 0.3.1",
81-
"pdfminer.six >= 20200101",
85+
"pdfminer.six >= 20251227",
8286
"pefile >= 2020.1.1",
8387
"pip-requirements-parser >= 32.0.1",
8488
"pkginfo2 >= 30.0.0",
8589
"pluggy >= 1.0.0",
8690
"plugincode >= 32.0.0",
8791
"publicsuffix2",
88-
"pyahocorasick >= 2.0.0",
89-
"pygmars >= 0.7.0",
90-
"pygments",
92+
"pyahocorasick >= 2.3.0",
93+
"pygmars >= 1.0.0",
94+
"pygments >= 1.0.0",
9195
"pymaven_patch >= 0.2.8",
9296
"requests >= 2.7.0",
9397
"saneyaml >= 0.6.0",
9498
"spdx_tools == 0.8.2",
9599
"text_unidecode >= 1.0",
96-
"toml >= 0.10.0",
100+
"tomli >= 2",
97101
"urlpy",
98102
"xmltodict >= 0.11.0",
99103
"zipp >= 3.0.0; python_version < \"3.9\"",
100104
"typecode >= 30.0.1",
101-
"typecode[full] >= 30.0.1",
105+
"typecode[full] >= 30.1.0",
102106
"extractcode[full] >= 31.0.0",
103107
]
104108

109+
105110
[project.urls]
106111
Homepage = "https://github.com/nexB/scancode-toolkit"
107112

@@ -116,18 +121,20 @@ licenses = [
116121
# no impact but added for symmetry with the other pyproject.toml
117122
full = [
118123
"extractcode[full] >= 31.0.0",
119-
"typecode[full] >= 30.0.0",
124+
"typecode[full] >= 30.1.0",
120125
]
121126

122127
# linux-only package handling
123128
packages = [
124129
"rpm_inspector_rpm >= 4.16.1.3; platform_system == 'Linux'",
125130
"regipy >= 3.1.0; platform_system == 'Linux'",
126131
"packagedcode_msitools >= 0.101.210706; platform_system == 'Linux'",
132+
"go-inspector >= 0.5.0; platform_system == 'Linux'",
133+
"rust-inspector >= 0.2.1; platform_system == 'Linux'",
127134
]
128135

129-
testing = [
130-
"flot",
136+
dev = [
137+
"flot >= 0.7.0",
131138
"pytest >= 6, != 7.0.0",
132139
"pytest-xdist >= 2",
133140
"aboutcode-toolkit >= 7.0.2",
@@ -137,22 +144,20 @@ testing = [
137144
"isort",
138145
"vendorize >= 0.3.0",
139146
"pytest-rerunfailures",
147+
"ruff",
140148
"bump-my-version",
141-
]
142-
143-
docs = [
144-
"Sphinx == 5.1.0",
149+
"Sphinx >= 5.0.2",
145150
"sphinx_rtd_theme >= 0.5.1",
146-
"doc8 >= 0.8.1",
147151
"sphinx-reredirects >= 0.1.2",
152+
"doc8 >= 0.8.1",
148153
"sphinx-autobuild",
149154
"sphinx-rtd-dark-mode>=1.3.0",
150155
"sphinx-copybutton",
151156
]
152157

153158

154159
[tool.bumpversion]
155-
current_version = "32.1.0"
160+
current_version = "32.5.0"
156161
allow_dirty = true
157162

158163
files = [
@@ -244,6 +249,10 @@ scancode = "scancode.cli:scancode"
244249
scancode-reindex-licenses = "licensedcode.reindex:reindex_licenses"
245250
scancode-license-data = "licensedcode.license_db:dump_scancode_license_data"
246251
regen-package-docs = "packagedcode.regen_package_docs:regen_package_docs"
252+
scancode-reindex-package-patterns = "packagedcode.cache:cache_package_patterns"
253+
add-required-phrases = "licensedcode.required_phrases:add_required_phrases"
254+
gen-new-required-phrases-rules = "licensedcode.required_phrases:gen_required_phrases_rules"
255+
scancode-train-gibberish-model = "textcode.train_gibberish_model:train_gibberish_model"
247256

248257

249258
# These are configurations for ScanCode plugins as entry points.

requirements-dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ docutils==0.19
99
doc8==2.0.0
1010
et-xmlfile==1.1.0
1111
execnet==1.9.0
12-
flot==0.7.2
12+
flot==0.7.3
1313
iniconfig==1.1.1
1414
isort==5.10.1
1515
jeepney==0.8.0

requirements-linux.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
packagedcode-msitools==0.101.210706
2-
regipy==3.1.0
2+
regipy==6.2.0
33
rpm-inspector-rpm==4.16.1.3.210404
44
go-inspector==0.5.0

0 commit comments

Comments
 (0)