osmith has uploaded this change for review.

View Change

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/#license 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/#license for details.
********************************************************************************

!!

Change-Id: I8416234ea02f337fabd075cc345af964c1b71adf
---
M pyproject.toml
1 file changed, 1 insertion(+), 2 deletions(-)

git pull ssh://gerrit.osmocom.org:29418/python/pyosmocom refs/changes/76/41376/1
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"
]


To view, visit change 41376. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newchange
Gerrit-Project: python/pyosmocom
Gerrit-Branch: master
Gerrit-Change-Id: I8416234ea02f337fabd075cc345af964c1b71adf
Gerrit-Change-Number: 41376
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith@sysmocom.de>