new file mode 100644
@@ -0,0 +1,23 @@
+From: Tim Orling <tim.orling@konsulko.com>
+Subject: [PATCH] pyproject.toml: allow building with flit_core 4
+
+flit_core 4 only drops features this project does not use (the
+[tool.flit.metadata] table, sdists from VCS and --setup-py), so
+raise the upper bound to <5, as the flit 4.0 release notes suggest:
+https://flit.pypa.io/en/stable/history.html#version-4-0
+
+Upstream-Status: Pending
+AI-Generated: Uses Claude Code (Claude Opus 5.5)
+Signed-off-by: Tim Orling <tim.orling@konsulko.com>
+---
+diff --git a/pyproject.toml b/pyproject.toml
+index d7d176a..0cff14a 100644
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -1,5 +1,5 @@
+ [build-system]
+-requires = ["flit_core >=3.2,<4"]
++requires = ["flit_core >=3.2,<5"]
+ build-backend = "flit_core.buildapi"
+
+ [project]
@@ -7,6 +7,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=14a2e29a9d542fb9052d75344d67619d"
SRC_URI:append = " \
file://run-ptest \
"
+SRC_URI += "file://0001-pyproject.toml-allow-building-with-flit_core-4.patch"
SRC_URI[sha256sum] = "ed0cc050e98001b8779e84d461b0098c4ac597e88704a655582b21d116e526d7"
inherit pypi python_flit_core ptest-python-pytest
Relax the flit_core <4 build requirement to <5. The project already uses the [project] table, so nothing flit_core 4 removed affects it. There is no upstream change yet. 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> --- ...toml-allow-building-with-flit_core-4.patch | 23 +++++++++++++++++++ .../python/python3-arrow_1.4.0.bb | 1 + 2 files changed, 24 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-arrow/0001-pyproject.toml-allow-building-with-flit_core-4.patch