Fix: Python build failure with version 3.14 93/73693/3
authorMatthew Watkins <mwatkins@linuxfoundation.org>
Wed, 8 Oct 2025 19:56:29 +0000 (20:56 +0100)
committerMatthew Watkins <mwatkins@linuxfoundation.org>
Wed, 8 Oct 2025 20:07:21 +0000 (21:07 +0100)
Pin Python version to <3.14, as builds fail with new release.
pyproject.toml also needed updating for modern PEP standards.
Changes were needed to the license declarations.

Change-Id: Idafcacc031a333330d33e6875ffcd54b1abe28bf
Signed-off-by: Matthew Watkins <mwatkins@linuxfoundation.org>
pyproject.toml
releasenotes/notes/python-314-compatibility-fix-8683e37e7ddb389f.yaml [new file with mode: 0644]

index e079c33..7afaf4b 100644 (file)
@@ -7,7 +7,7 @@ name = "lftools"
 dynamic = ["version"]
 description = "Linux Foundation Release Engineering Tools"
 readme = "README.md"
-requires-python = ">=3.8"
+requires-python = ">=3.8,<3.14"
 license = {text = "EPL-1.0"}
 
 authors = [
@@ -23,11 +23,14 @@ maintainers = [
 classifiers = [
     "Intended Audience :: Developers",
     "Intended Audience :: Information Technology",
-    "License :: OSI Approved :: Eclipse Public License 1.0 (EPL-1.0)",
     "Operating System :: POSIX :: Linux",
     "Programming Language :: Python",
     "Programming Language :: Python :: 3.8",
-    "Programming Language :: Python :: 3.9"
+    "Programming Language :: Python :: 3.9",
+    "Programming Language :: Python :: 3.10",
+    "Programming Language :: Python :: 3.11",
+    "Programming Language :: Python :: 3.12",
+    "Programming Language :: Python :: 3.13"
 ]
 
 dependencies = [
diff --git a/releasenotes/notes/python-314-compatibility-fix-8683e37e7ddb389f.yaml b/releasenotes/notes/python-314-compatibility-fix-8683e37e7ddb389f.yaml
new file mode 100644 (file)
index 0000000..9237b3b
--- /dev/null
@@ -0,0 +1,8 @@
+---
+fixes:
+  - |
+    Fix Python build failure with version 3.14
+
+    Pin Python version to <3.14, as builds fail with new release.
+    pyproject.toml also needed updating for modern PEP standards.
+    Changes were needed to the license declarations.
\ No newline at end of file