]> git.99rst.org Git - openwrt-packages.git/commitdiff
python-typing-extensions: allow flit_core 4.x as the build backend
authorAlexandru Ardelean <redacted>
Mon, 10 Aug 2026 12:13:35 +0000 (15:13 +0300)
committerAlexandru Ardelean <redacted>
Mon, 10 Aug 2026 13:45:20 +0000 (16:45 +0300)
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 <redacted>
lang/python/python-typing-extensions/Makefile
lang/python/python-typing-extensions/patches/010-relax-flit-core-constraint.patch [new file with mode: 0644]

index 9c785e239a3c48ffa7ce6064aaabe4a91de1c4ff..80def03ac300f0dc52e6565e25f69c068262a74c 100644 (file)
@@ -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 (file)
index 0000000..d0f140f
--- /dev/null
@@ -0,0 +1,26 @@
+From c4f17c8c6f8a2a7b242e5cc3871a5ea331b60157 Mon Sep 17 00:00:00 2001
+From: Alexandru Ardelean <alex@shruggie.ro>
+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 <alex@shruggie.ro>
+---
+ 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
git clone https://git.99rst.org/PROJECT