diff mbox series

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

Message ID 20261129192919.14731-23-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 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>
---
 ...01-Update-dependency-flit_core-to-v4.patch | 22 +++++++++++++++++++
 .../python/python3-webargs_8.7.1.bb           |  1 +
 2 files changed, 23 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-webargs/0001-Update-dependency-flit_core-to-v4.patch
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-webargs/0001-Update-dependency-flit_core-to-v4.patch b/meta-python/recipes-devtools/python/python3-webargs/0001-Update-dependency-flit_core-to-v4.patch
new file mode 100644
index 0000000000..cda991f429
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-webargs/0001-Update-dependency-flit_core-to-v4.patch
@@ -0,0 +1,22 @@ 
+From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
+Date: Tue, 1 Sep 2026 00:32:47 +0000
+Subject: [PATCH] Update dependency flit_core to v4
+
+[Only the flit_core build requirement is backported.]
+
+Upstream-Status: Backport [https://github.com/marshmallow-code/webargs/commit/bb5d94cfbd1042cde63b7dee092abf5ddecfe279]
+Signed-off-by: Tim Orling <tim.orling@konsulko.com>
+---
+diff --git a/pyproject.toml b/pyproject.toml
+index af05b85..ef8138d 100644
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -84,7 +84,7 @@ docs = [
+ dev = ["webargs[tests]", "tox", "pre-commit>=3.5,<5.0"]
+ 
+ [build-system]
+-requires = ["flit_core<4"]
++requires = ["flit_core<5"]
+ build-backend = "flit_core.buildapi"
+ 
+ [tool.flit.sdist]
diff --git a/meta-python/recipes-devtools/python/python3-webargs_8.7.1.bb b/meta-python/recipes-devtools/python/python3-webargs_8.7.1.bb
index 606796e287..a834d71b22 100644
--- a/meta-python/recipes-devtools/python/python3-webargs_8.7.1.bb
+++ b/meta-python/recipes-devtools/python/python3-webargs_8.7.1.bb
@@ -6,6 +6,7 @@  LIC_FILES_CHKSUM = "file://LICENSE;md5=27586b20700d7544c06933afe56f7df4"
 inherit pypi python_flit_core
 
 CVE_PRODUCT = "webargs"
+SRC_URI += "file://0001-Update-dependency-flit_core-to-v4.patch"
 SRC_URI[sha256sum] = "799bf9039c76c23fd8dc1951107a75a9e561203c15d6ae8f89c1e46e234636c1"
 
 RDEPENDS:${PN} += "\