new file mode 100644
@@ -0,0 +1,19 @@
+From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= <miro@hroncok.cz>
+Date: Mon, 24 Aug 2026 18:40:42 +0200
+Subject: [PATCH] Allow building this package with flit-core 4 (#787)
+
+Upstream-Status: Backport [https://github.com/python/typing_extensions/commit/996d4d71b18eee56c53dde6a609dea188bb26a96]
+Signed-off-by: Tim Orling <tim.orling@konsulko.com>
+---
+diff --git a/pyproject.toml b/pyproject.toml
+index f8a4c45..473079e 100644
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -1,6 +1,6 @@
+ # Build system requirements.
+ [build-system]
+-requires = ["flit_core >=3.11,<4"]
++requires = ["flit_core >=3.11,<5"]
+ build-backend = "flit_core.buildapi"
+
+ # Project metadata
@@ -12,6 +12,7 @@ SECTIONS = "libs"
LICENSE = "PSF-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=fcf6b249c2641540219a727f35d8d2c2"
+SRC_URI += "file://0001-Allow-building-this-package-with-flit-core-4-787.patch"
SRC_URI[sha256sum] = "dc983d19a509c94dba722ee6abd33940f7c05a89e243c47e907eb4db6f1a43e5"
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> --- ...ng-this-package-with-flit-core-4-787.patch | 19 +++++++++++++++++++ .../python3-typing-extensions_4.16.0.bb | 1 + 2 files changed, 20 insertions(+) create mode 100644 meta/recipes-devtools/python/python3-typing-extensions/0001-Allow-building-this-package-with-flit-core-4-787.patch