From: Alexandru Ardelean Date: Mon, 10 Aug 2026 08:21:25 +0000 (+0300) Subject: python-wheel: allow flit_core 4.x as the build backend X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=9d1b631289e8a40f444016190fd29f85cfe383d6;p=openwrt-packages.git 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 --- diff --git a/lang/python/python-wheel/Makefile b/lang/python/python-wheel/Makefile index 98605ec71..62a3fe784 100644 --- a/lang/python/python-wheel/Makefile +++ b/lang/python/python-wheel/Makefile @@ -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 index 000000000..d84de6fe4 --- /dev/null +++ b/lang/python/python-wheel/patches/010-relax-flit-core-constraint.patch @@ -0,0 +1,25 @@ +From b4e5d59d7a4445690e085005dcff1e49913a5cf6 Mon Sep 17 00:00:00 2001 +From: Alexandru Ardelean +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 +--- + 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]