From 0fbfe67815e144be9717cd73c6df9635a51e6820 Mon Sep 17 00:00:00 2001 From: Gilbert Gilb's Date: Fri, 20 Mar 2026 11:10:57 +0100 Subject: [PATCH 1/2] Fix invalid GPLv3 trove classifier "License :: OSI Approved :: GNU General Public License v3" is not a valid trove classifier; the correct value per the trove-classifiers spec is "License :: OSI Approved :: GNU General Public License v3 (GPLv3)". This causes build failures for distribution package maintainers who use `python -m build --no-isolation`, which exposes the build to a system-installed validate-pyproject that enforces the classifier spec. Isolated builds are unaffected. Signed-off-by: Gilbert Gilb's --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 9f23e468..8836e073 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -16,7 +16,7 @@ classifiers = [ "Intended Audience :: End Users/Desktop", "Topic :: Multimedia :: Sound/Audio", "Programming Language :: Python :: 3", - "License :: OSI Approved :: GNU General Public License v3", + "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", ] dependencies = [ "musicbrainzngs", From 2923ce6a85538630424dee284871a66c49aa68a0 Mon Sep 17 00:00:00 2001 From: Gilbert Gilb's Date: Fri, 20 Mar 2026 12:10:43 +0100 Subject: [PATCH 2/2] Migrate license metadata to SPDX expression per PEP 639 Replace the deprecated `license = {file = "LICENSE"}` TOML table with a plain SPDX expression (`license = "GPL-3.0-only"`) and an explicit `license-files` entry, and drop the now-redundant license trove classifier. Fixes deprecation warnings from setuptools >= 77. Signed-off-by: Gilbert Gilb's --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 8836e073..84630ffa 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,13 +10,13 @@ authors = [ description = "A CD-DA ripper prioritising accuracy over speed" requires-python = ">=3.6" readme = "README.md" -license = {file = "LICENSE"} +license = "GPL-3.0-only" +license-files = ["LICENSE"] classifiers = [ "Environment :: Console", "Intended Audience :: End Users/Desktop", "Topic :: Multimedia :: Sound/Audio", "Programming Language :: Python :: 3", - "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", ] dependencies = [ "musicbrainzngs",