]> git.99rst.org Git - openwrt-packages.git/commitdiff
python-wheel: allow flit_core 4.x as the build backend
authorAlexandru Ardelean <redacted>
Mon, 10 Aug 2026 08:21:25 +0000 (11:21 +0300)
committerAlexandru Ardelean <redacted>
Mon, 10 Aug 2026 11:29:41 +0000 (14:29 +0300)
wheel 0.47.0 caps its build requirement at "flit_core >=3.11,<4", but the
feed now ships flit-core 4.0.2, so python-wheel/host (and the whole python
host build-chain that depends on it) fails with "Missing dependencies:
flit_core<4,>=3.11". flit_core 4 builds wheel unchanged, so relax the upper
bound.

Signed-off-by: Alexandru Ardelean <redacted>
lang/python/python-wheel/Makefile
lang/python/python-wheel/patches/010-relax-flit-core-constraint.patch [new file with mode: 0644]

index 98605ec71cd047b512be52dc8342e57a8da688b1..62a3fe7844c3ba1d77b14dee946e19b8478b9f6b 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=python-wheel
 PKG_VERSION:=0.47.0
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PYPI_NAME:=wheel
 PKG_HASH:=cc72bd1009ba0cf63922e28f94d9d83b920aa2bb28f798a31d0691b02fa3c9b3
diff --git a/lang/python/python-wheel/patches/010-relax-flit-core-constraint.patch b/lang/python/python-wheel/patches/010-relax-flit-core-constraint.patch
new file mode 100644 (file)
index 0000000..d84de6f
--- /dev/null
@@ -0,0 +1,25 @@
+From b4e5d59d7a4445690e085005dcff1e49913a5cf6 Mon Sep 17 00:00:00 2001
+From: Alexandru Ardelean <alex@shruggie.ro>
+Date: Mon, 10 Aug 2026 09:00:00 +0300
+Subject: [PATCH] python-wheel: allow flit_core 4.x as the build backend
+
+wheel 0.47.0 caps its build requirement at "flit_core >=3.11,<4", but the
+feed now ships flit-core 4.0.2, so python-wheel/host (and the whole python
+host build-chain that depends on it) fails with "Missing dependencies:
+flit_core<4,>=3.11". flit_core 4 builds wheel unchanged, so 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,5 +1,5 @@
+ [build-system]
+-requires = ["flit_core >=3.11,<4"]
++requires = ["flit_core >=3.11"]
+ build-backend = "flit_core.buildapi"
+ [project]
git clone https://git.99rst.org/PROJECT