new file mode 100644
@@ -0,0 +1,18 @@
+From: Xu Colin <colinxu2020@gmail.com>
+Date: Sun, 30 Aug 2026 11:34:18 +0800
+Subject: [PATCH] Permit building with flit core 4
+
+Upstream-Status: Backport [https://github.com/Kozea/tinycss2/commit/e905d8c5321be436f1478877bbcf19b0e5b6c7be]
+Signed-off-by: Tim Orling <tim.orling@konsulko.com>
+---
+diff --git a/pyproject.toml b/pyproject.toml
+index d1663a7..90243f3 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]
@@ -6,6 +6,7 @@ and generate CSS strings corresponding to these objects."
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=1d072d7e30e34f33f8ae956ada04fa2c"
+SRC_URI += "file://0001-Permit-building-with-flit-core-4.patch"
SRC_URI[sha256sum] = "d339d2b616ba90ccce58da8495a78f46e55d4d25f9fd71dfd526f07e7d53f957"
inherit pypi python_flit_core
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-Permit-building-with-flit-core-4.patch | 18 ++++++++++++++++++ .../python/python3-tinycss2_1.5.1.bb | 1 + 2 files changed, 19 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-tinycss2/0001-Permit-building-with-flit-core-4.patch