From 3208f1dbfcdbe3e6190bf03fe8cb1c20349a11e1 Mon Sep 17 00:00:00 2001 From: Yann Dirson Date: Wed, 2 Jul 2025 17:39:23 +0200 Subject: [PATCH 1/2] pyproject: use a more correct requires-python Nowadays it is not very clear if "2.7" is really valid, and at least uv flags it as an error. Now ">=2.7" is not strictly correct as it includes the 3.0-3.5 range, but finding a way to express that (if there is one) is likely not worth it. Signed-off-by: Yann Dirson --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index aab8c76..3e7db8e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,7 +3,7 @@ name = "XSConsole" dynamic = ["version"] description = "Xenserver Status Report" -requires-python = "2.7" +requires-python = ">=2.7, <3.12" license = "GPL-2.0-or-later" keywords = ["xenserver", "xen-project"] authors = [ From c78b8959da7366f06fc1e46846ac95934e465ff5 Mon Sep 17 00:00:00 2001 From: Yann Dirson Date: Wed, 2 Jul 2025 17:47:23 +0200 Subject: [PATCH 2/2] pyproject: drop superseded license classifiers There is an equivalent License tag already, and uv plainly errors out too on this one. Signed-off-by: Yann Dirson --- pyproject.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 3e7db8e..064d47f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -19,7 +19,6 @@ readme = "README.md" classifiers = [ "Environment :: Console", "Development Status :: 5 - Production/Stable", - "License :: OSI Approved :: GNU General Public License v2 (GPLv2) or later", "Operating System :: POSIX :: Linux :: XenServer/XCP-ng Dom0", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.6",