From 2301da21b8c4b7140ade10926313c248b6729831 Mon Sep 17 00:00:00 2001 From: Jonathan Neidel Date: Tue, 10 Feb 2026 21:26:20 +0100 Subject: [PATCH 1/2] Fix pyproject project.license deprecation Deprecation notice: 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). https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license --- pyproject.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index aadd5c4..97281de 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -36,7 +36,8 @@ classifiers=[ ] authors = [{name="Karl Voit", email="tools@Karl-Voit.at"}] -license = {file = "LICENSE.txt"} +license = "GPL-3.0-or-later" +license-files = ["LICENSE.txt"] requires-python = ">=3.10" # see https://devguide.python.org/versions/ dependencies = [ "clint>=0.5.1", From 6844957f0d0b6bf112f849c31948a49ad4bfcc9f Mon Sep 17 00:00:00 2001 From: Jonathan Neidel Date: Tue, 10 Feb 2026 21:34:03 +0100 Subject: [PATCH 2/2] Bump setuptools and remove OSI --- pyproject.toml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 97281de..b9ebcf2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -24,7 +24,6 @@ classifiers=[ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Intended Audience :: End Users/Desktop", - "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", @@ -55,7 +54,7 @@ Issues = "https://github.com/novoid/filetags/issues" filetags="filetags:main" [build-system] -requires = ["setuptools>=61.0"] +requires = ["setuptools>=77.0"] build-backend = "setuptools.build_meta" [tool.setuptools.package-data]