diff mbox series

[meta-python,08/26] python3-flask-marshmallow: allow building with flit_core 4

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

Commit Message

Tim Orling Nov. 29, 2026, 7:28 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>
---
 .../0001-Update-all-dependencies.patch        | 22 +++++++++++++++++++
 .../python/python3-flask-marshmallow_1.5.0.bb |  1 +
 2 files changed, 23 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-flask-marshmallow/0001-Update-all-dependencies.patch
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-flask-marshmallow/0001-Update-all-dependencies.patch b/meta-python/recipes-devtools/python/python3-flask-marshmallow/0001-Update-all-dependencies.patch
new file mode 100644
index 0000000000..71137d0ff2
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-flask-marshmallow/0001-Update-all-dependencies.patch
@@ -0,0 +1,22 @@ 
+From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
+Date: Tue, 1 Sep 2026 00:57:04 +0000
+Subject: [PATCH] Update all dependencies
+
+[Only the flit_core build requirement is backported.]
+
+Upstream-Status: Backport [https://github.com/marshmallow-code/flask-marshmallow/commit/7823d9d5bac2358745b26b5af1507c5c791392c3]
+Signed-off-by: Tim Orling <tim.orling@konsulko.com>
+---
+diff --git a/pyproject.toml b/pyproject.toml
+index 2ea8982..48f0538 100644
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -39,7 +39,7 @@ dev = [{ include-group = "tests" }, "tox", "tox-uv", "pre-commit>=4.5,<5.0"]
+ default-groups = ["dev"]
+ 
+ [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-flask-marshmallow_1.5.0.bb b/meta-python/recipes-devtools/python/python3-flask-marshmallow_1.5.0.bb
index d0d3594412..b14d0ba0b8 100644
--- a/meta-python/recipes-devtools/python/python3-flask-marshmallow_1.5.0.bb
+++ b/meta-python/recipes-devtools/python/python3-flask-marshmallow_1.5.0.bb
@@ -5,6 +5,7 @@  LIC_FILES_CHKSUM = "file://LICENSE;md5=27586b20700d7544c06933afe56f7df4"
 
 inherit pypi python_flit_core
 
+SRC_URI += "file://0001-Update-all-dependencies.patch"
 SRC_URI[sha256sum] = "7c06b56e41647eccdb3cd57c25b109f19191b4c62509362bd64920cdf601a066"
 
 RDEPENDS:${PN} += "\