From aa87dfc4a318d76101e13f6806acdbab2519a405 Mon Sep 17 00:00:00 2001 From: Arthit Suriyawongkul Date: Fri, 9 Jan 2026 18:12:23 +0000 Subject: [PATCH 1/3] pyproject.toml: Update Python versions + project URLs Also remove `zip-safe` setuptools config (issue #257 got fixed; the config is also deprecated) Signed-off-by: Arthit Suriyawongkul --- pyproject.toml | 38 +++++++++++++++++++++++++++----------- 1 file changed, 27 insertions(+), 11 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 004e67347..798c95c41 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,35 +9,51 @@ maintainers = [ { name = "Philippe Ombredanne", email = "pombredanne@gmail.com" }, { name = "SPDX group at the Linux Foundation and others" }, ] -license = { text = "Apache-2.0" } +license = "Apache-2.0" description = "SPDX parser and tools." readme = "README.md" classifiers = [ "Intended Audience :: Developers", "Intended Audience :: System Administrators", "License :: OSI Approved :: Apache Software License", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", +] +requires-python = ">=3.10" +dependencies = [ + "beartype", + "click", + "license_expression", + "ply", + "pyyaml", + "rdflib", + "semantic_version", + "uritools", + "xmltodict", ] -urls = { Homepage = "https://github.com/spdx/tools-python" } -requires-python = ">=3.8" -dependencies = ["click", "pyyaml", "xmltodict", "rdflib", "beartype", "uritools", "license_expression", "ply", "semantic_version"] dynamic = ["version"] [project.optional-dependencies] -test = ["pytest", "pyshacl", "tzdata"] -code_style = ["isort", "black", "flake8"] -graph_generation = ["pygraphviz", "networkx"] -development = ["black", "flake8", "isort", "networkx", "pytest", "pyshacl"] +test = ["pyshacl", "pytest", "tzdata"] +code_style = ["black", "flake8", "isort"] +graph_generation = ["networkx", "pygraphviz"] +development = ["black", "flake8", "isort", "networkx", "pyshacl", "pytest"] [project.scripts] pyspdxtools = "spdx_tools.spdx.clitools.pyspdxtools:main" pyspdxtools3 = "spdx_tools.spdx3.clitools.pyspdxtools3:main" +[project.urls] +Homepage = "https://github.com/spdx/tools-python" +Documentation = "https://spdx.github.io/tools-python/" +Repository = "https://github.com/spdx/tools-python.git" +Issues = "https://github.com/spdx/tools-python/issues" +Changelog = "https://github.com/spdx/tools-python/blob/main/CHANGELOG.md" + [tool.setuptools] -zip-safe = false # because of the uses of __file__: https://github.com/spdx/tools-python/issues/257 include-package-data = true [tool.setuptools.packages.find] From c47a1813dc81401e3d72ef39fea15334fa79bda8 Mon Sep 17 00:00:00 2001 From: Arthit Suriyawongkul Date: Fri, 9 Jan 2026 18:19:43 +0000 Subject: [PATCH 2/3] Remove License from classifiers Signed-off-by: Arthit Suriyawongkul --- pyproject.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 798c95c41..abfec60c9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -15,12 +15,14 @@ readme = "README.md" classifiers = [ "Intended Audience :: Developers", "Intended Audience :: System Administrators", - "License :: OSI Approved :: Apache Software License", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3 :: Only", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", "Programming Language :: Python :: 3.14", + "Operating System :: OS Independent", ] requires-python = ">=3.10" dependencies = [ From fd8b54dc5a51428cbf78405ff7231790eaf3601c Mon Sep 17 00:00:00 2001 From: Arthit Suriyawongkul Date: Fri, 9 Jan 2026 18:30:25 +0000 Subject: [PATCH 3/3] Add development status Signed-off-by: Arthit Suriyawongkul --- pyproject.toml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index abfec60c9..e773d841c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -13,8 +13,10 @@ license = "Apache-2.0" description = "SPDX parser and tools." readme = "README.md" classifiers = [ + "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "Intended Audience :: System Administrators", + "Operating System :: OS Independent", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3 :: Only", "Programming Language :: Python :: 3.10", @@ -22,7 +24,9 @@ classifiers = [ "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", "Programming Language :: Python :: 3.14", - "Operating System :: OS Independent", + "Topic :: Software Development :: Documentation", + "Topic :: Software Development :: Libraries :: Python Modules", + "Topic :: Utilities", ] requires-python = ">=3.10" dependencies = [