From 1681196b390f4e2609c5514d86a06ce08a6f78ad Mon Sep 17 00:00:00 2001 From: Matthew Watkins Date: Wed, 8 Oct 2025 20:56:29 +0100 Subject: [PATCH] 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. Change-Id: Idafcacc031a333330d33e6875ffcd54b1abe28bf Signed-off-by: Matthew Watkins --- pyproject.toml | 9 ++++++--- .../notes/python-314-compatibility-fix-8683e37e7ddb389f.yaml | 8 ++++++++ 2 files changed, 14 insertions(+), 3 deletions(-) create mode 100644 releasenotes/notes/python-314-compatibility-fix-8683e37e7ddb389f.yaml diff --git a/pyproject.toml b/pyproject.toml index e079c338..7afaf4bc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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 index 00000000..9237b3b8 --- /dev/null +++ b/releasenotes/notes/python-314-compatibility-fix-8683e37e7ddb389f.yaml @@ -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 -- 2.16.6