diff mbox series

[meta-python,26/26] python3-truststore: allow building with flit_core 4

Message ID 20261129192919.14731-27-tim.orling@konsulko.com
State New
Headers show
Series allow building with flit_core 4 | expand

Commit Message

Tim Orling Nov. 29, 2026, 7:29 p.m. UTC
Relax the flit_core <4 build requirement to <5. The project already uses
the [project] table, so nothing flit_core 4 removed affects it. This
backports the pyproject.toml part of the upstream change.

Tested by building with flit_core 3.12.0 and 4.2.0.

AI-Generated: Uses Claude Code (Claude Opus 5.5)
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
---
 ...001-Lock-deployment-dependencies-241.patch | 21 +++++++++++++++++++
 .../python/python3-truststore_0.10.5.bb       |  1 +
 2 files changed, 22 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-truststore/0001-Lock-deployment-dependencies-241.patch
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-truststore/0001-Lock-deployment-dependencies-241.patch b/meta-python/recipes-devtools/python/python3-truststore/0001-Lock-deployment-dependencies-241.patch
new file mode 100644
index 0000000000..2a058f61a4
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-truststore/0001-Lock-deployment-dependencies-241.patch
@@ -0,0 +1,21 @@ 
+From: Damian Shaw <damian.peter.shaw@gmail.com>
+Date: Mon, 2 Nov 2026 11:34:39 -0500
+Subject: [PATCH] Lock deployment dependencies (#241)
+
+[Only the flit_core bound in pyproject.toml; the rest of the commit
+changes CI files that are not in the sdist.]
+
+Upstream-Status: Backport [https://github.com/sethmlarson/truststore/commit/187fb20e410ee14d9911fc9ce879603674fc6879]
+Signed-off-by: Tim Orling <tim.orling@konsulko.com>
+---
+diff --git a/pyproject.toml b/pyproject.toml
+index 64c6a44..100d4dc 100644
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -1,5 +1,5 @@
+ [build-system]
+-requires = ["flit_core >=3.11,<4"]
++requires = ["flit_core >=3.11,<5"]
+ build-backend = "flit_core.buildapi"
+ 
+ [project]
diff --git a/meta-python/recipes-devtools/python/python3-truststore_0.10.5.bb b/meta-python/recipes-devtools/python/python3-truststore_0.10.5.bb
index 0fe2c8e9ee..70f04e62d1 100644
--- a/meta-python/recipes-devtools/python/python3-truststore_0.10.5.bb
+++ b/meta-python/recipes-devtools/python/python3-truststore_0.10.5.bb
@@ -6,6 +6,7 @@  HOMEPAGE = "https://github.com/sethmlarson/truststore"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=74420fc3965c4558a4a1529e63c2867f"
 
+SRC_URI += "file://0001-Lock-deployment-dependencies-241.patch"
 SRC_URI[sha256sum] = "30d36967ccaded5cbb38d602c433f53600036c79d502f4533a49b60a03bbefcd"
 
 inherit pypi python_flit_core