From bf055c7c1386041cc34ac44e26f8c8c894ab84b3 Mon Sep 17 00:00:00 2001 From: masklinn Date: Sun, 29 Mar 2026 11:42:22 +0200 Subject: [PATCH 1/3] Remove license classifier License classifiers are deprecated thanks to the existence of `project.license`. Fixes #292 --- pyproject.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index d2421d6..da23da1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -28,7 +28,6 @@ classifiers = [ "Environment :: Web Environment", "Intended Audience :: Developers", "Operating System :: OS Independent", - "License :: OSI Approved :: Apache Software License", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP", "Topic :: Software Development :: Libraries :: Python Modules", From 5615a117fdfacea23e4667e3eb9cdad1dd0fc66b Mon Sep 17 00:00:00 2001 From: masklinn Date: Sun, 29 Mar 2026 11:43:15 +0200 Subject: [PATCH 2/3] Fix `project.license` - Per PEP 639 the `project.license.text` format is legacy and deprecated. - Fix the value to be the correct SPDX (short) identifier for Apache 2. Fixes #292 --- pyproject.toml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index da23da1..bc88ae4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,8 +9,7 @@ version = "1.0.1" readme = "README.rst" requires-python = ">=3.10" dependencies = ["ua-parser-builtins"] - -license = {text = "Apache 2.0"} +license = "Apache-2.0" authors = [ { name = "Stephen Lamm", email = "slamm@google.com"}, From fddec7535495c104a89113fc85dc077a76c810af Mon Sep 17 00:00:00 2001 From: masklinn Date: Sun, 29 Mar 2026 11:46:08 +0200 Subject: [PATCH 3/3] Remove setuptools-scm from build requirements It's not configured, it's not being used anywhere, it generates build warnings... Fixes #292 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index bc88ae4..230fef3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["setuptools", "setuptools-scm", "PyYaml"] +requires = ["setuptools", "PyYaml"] build-backend = "setuptools.build_meta" [project]