new file mode 100644
@@ -0,0 +1,25 @@
+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: Denied [https://github.com/pallets-eco/blinker/pull/192]
+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 c98fb02..2218dca 100644
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -20,7 +20,7 @@ Source = "https://github.com/pallets-eco/blinker/"
+ Chat = "https://discord.gg/pallets"
+
+ [build-system]
+-requires = ["flit_core<4"]
++requires = ["flit_core<5"]
+ build-backend = "flit_core.buildapi"
+
+ [tool.flit.sdist]
@@ -3,6 +3,7 @@ LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=42cd19c88fc13d1307a4efd64ee90e4e"
SRC_URI += "file://0001-Add-asyncio-fixture-to-test_async_receiver.patch"
+SRC_URI += "file://0001-pyproject.toml-allow-building-with-flit_core-4.patch"
SRC_URI[sha256sum] = "b4ce2265a7abece45e7cc896e98dbebe6cead56bcf805a3d23136d145f5445bf"
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. Upstream declined the same change, as for the other pallets projects. 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 | 25 +++++++++++++++++++ .../python/python3-blinker_1.9.0.bb | 1 + 2 files changed, 26 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-blinker/0001-pyproject.toml-allow-building-with-flit_core-4.patch