From: Alexandru Ardelean Date: Mon, 10 Aug 2026 12:13:35 +0000 (+0300) Subject: python-typing-extensions: allow flit_core 4.x as the build backend X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=99a2de54f592faef7caa56c80e86510d51d1dd11;p=openwrt-packages.git python-typing-extensions: allow flit_core 4.x as the build backend Like python-wheel, typing-extensions caps its build backend at "flit_core >=3.11,<4", so python-typing-extensions/host fails with "Missing dependencies: flit_core<4,>=3.11" now that the feed ships flit-core 4.0.2. flit_core 4 builds it unchanged; relax the upper bound. Signed-off-by: Alexandru Ardelean --- diff --git a/lang/python/python-typing-extensions/Makefile b/lang/python/python-typing-extensions/Makefile index 9c785e239..80def03ac 100644 --- a/lang/python/python-typing-extensions/Makefile +++ b/lang/python/python-typing-extensions/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=python-typing-extensions PKG_VERSION:=4.15.0 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PYPI_NAME:=typing-extensions PYPI_SOURCE_NAME:=typing_extensions diff --git a/lang/python/python-typing-extensions/patches/010-relax-flit-core-constraint.patch b/lang/python/python-typing-extensions/patches/010-relax-flit-core-constraint.patch new file mode 100644 index 000000000..d0f140f88 --- /dev/null +++ b/lang/python/python-typing-extensions/patches/010-relax-flit-core-constraint.patch @@ -0,0 +1,26 @@ +From c4f17c8c6f8a2a7b242e5cc3871a5ea331b60157 Mon Sep 17 00:00:00 2001 +From: Alexandru Ardelean +Date: Mon, 10 Aug 2026 10:00:00 +0300 +Subject: [PATCH] python-typing-extensions: allow flit_core 4.x as the build + backend + +Like python-wheel, typing-extensions caps its build backend at +"flit_core >=3.11,<4", so python-typing-extensions/host fails with +"Missing dependencies: flit_core<4,>=3.11" now that the feed ships +flit-core 4.0.2. flit_core 4 builds it unchanged; relax the upper bound. + +Signed-off-by: Alexandru Ardelean +--- + pyproject.toml | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- 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"] + build-backend = "flit_core.buildapi" + + # Project metadata