osmith has submitted this change. ( https://gerrit.osmocom.org/c/python/pyosmocom/+/41376?usp=email )
Change subject: pyproject: use SPDX license identifier ......................................................................
pyproject: use SPDX license identifier
Fix the following warnings during build:
!!
******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression:
License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)
See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#licens... for details. ********************************************************************************
!!
!!
******************************************************************************** Please use a simple string containing a SPDX expression for `project.license`. You can also use `project.license-files`. (Both options available on setuptools>=77.0.0).
By 2026-Feb-18, you need to update your project and remove deprecated calls or your builds will no longer be supported.
See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#licens... for details. ********************************************************************************
!!
Change-Id: I8416234ea02f337fabd075cc345af964c1b71adf --- M pyproject.toml 1 file changed, 1 insertion(+), 2 deletions(-)
Approvals: dexter: Looks good to me, approved osmith: Verified laforge: Looks good to me, approved
diff --git a/pyproject.toml b/pyproject.toml index 5f8fb39..7e33b7a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -15,11 +15,10 @@ ] description = "Python implementation of core osmocom utilities / protocols" readme = "README.md" -license = {file = "COPYING"} +license = "GPL-2.0-or-later" keywords = ["telecom", "gsm", "3gpp", "cellular"] classifiers = [ "Development Status :: 5 - Production/Stable", - "License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)", "Programming Language :: Python" ]