diff --git a/meta/recipes-devtools/python/python3-coherent-licensed/0001-pyproject.toml-allow-building-with-flit_core-4.patch b/meta/recipes-devtools/python/python3-coherent-licensed/0001-pyproject.toml-allow-building-with-flit_core-4.patch
new file mode 100644
index 0000000000..c2f6e0bb30
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-coherent-licensed/0001-pyproject.toml-allow-building-with-flit_core-4.patch
@@ -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 c313bf8..36b1be9 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/recipes-devtools/python/python3-coherent-licensed_0.5.2.bb b/meta/recipes-devtools/python/python3-coherent-licensed_0.5.2.bb
index 6bb6629a01..761dcd25fb 100644
--- a/meta/recipes-devtools/python/python3-coherent-licensed_0.5.2.bb
+++ b/meta/recipes-devtools/python/python3-coherent-licensed_0.5.2.bb
@@ -6,6 +6,7 @@ HOMEPAGE = "https://github.com/coherent-oss/coherent.licensed"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=1aeae65f25a15b1e46d4381f2f094e0a"
 
+SRC_URI += "file://0001-pyproject.toml-allow-building-with-flit_core-4.patch"
 SRC_URI[sha256sum] = "d8071403ce742d3ac3592ddc4fb7057a46caffb415b928b4d52802e5f208416d"
 
 inherit pypi python_flit_core
