From 64795988da740877e865b7bdd9cab194198578f7 Mon Sep 17 00:00:00 2001 From: Akihiko Komada Date: Sat, 23 May 2026 05:40:02 +0900 Subject: [PATCH] fix: replace deprecated license classifier with SPDX expression (#46) setuptools deprecated 'License ::' trove classifiers in favor of a SPDX license expression. Drop the classifier and declare 'license = Apache-2.0' in setup.cfg [metadata]; bump the build requirement to setuptools>=77, which is where PEP 639 SPDX-expression support landed (the older >=42 pin would treat the value as free-text and not clear the warning). Fixes #46. Signed-off-by: Akihiko Komada --- kuksa-client/pyproject.toml | 2 +- kuksa-client/setup.cfg | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kuksa-client/pyproject.toml b/kuksa-client/pyproject.toml index 46cb1b0..b7a8cdb 100644 --- a/kuksa-client/pyproject.toml +++ b/kuksa-client/pyproject.toml @@ -2,7 +2,7 @@ requires = [ # Make sure to use the same exact version criteria in setup.cfg and update requirements.txt after changing "grpcio-tools==1.68.0", - "setuptools>=42", + "setuptools>=77", "setuptools-git-versioning", "wheel", ] diff --git a/kuksa-client/setup.cfg b/kuksa-client/setup.cfg index 1bf3e85..4d28912 100644 --- a/kuksa-client/setup.cfg +++ b/kuksa-client/setup.cfg @@ -1,4 +1,5 @@ [metadata] +license = Apache-2.0 name = kuksa_client author = Eclipse KUKSA Project author_email = kuksa-dev@eclipse.org @@ -14,7 +15,6 @@ classifiers = Development Status :: 5 - Production/Stable Environment :: Console Programming Language :: Python :: 3 - License :: OSI Approved :: Apache Software License Operating System :: OS Independent Topic :: Software Development