From: Alexandru Ardelean Date: Mon, 10 Aug 2026 12:15:27 +0000 (+0300) Subject: python-installer: allow flit_core 4.x as the build backend X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=3caf694947323cba3e2ddbe90752188a2ed43ab6;p=openwrt-packages.git python-installer: allow flit_core 4.x as the build backend installer caps flit_core<4 in its build-system, so its /host build fails with "Missing dependencies: flit_core<4" against 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-installer/Makefile b/lang/python/python-installer/Makefile index 02c879553..fcd532584 100644 --- a/lang/python/python-installer/Makefile +++ b/lang/python/python-installer/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=python-installer PKG_VERSION:=1.0.1 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PYPI_NAME:=installer PKG_HASH:=052c7fc3721d54c696e2dea019be67539d7b144e924f559f54beb3121831c364 diff --git a/lang/python/python-installer/patches/010-relax-flit-core-constraint.patch b/lang/python/python-installer/patches/010-relax-flit-core-constraint.patch new file mode 100644 index 000000000..714629c2e --- /dev/null +++ b/lang/python/python-installer/patches/010-relax-flit-core-constraint.patch @@ -0,0 +1,25 @@ +From 0896005b967075612dc66f98d33b46b9c1e689dd Mon Sep 17 00:00:00 2001 +From: Alexandru Ardelean +Date: Mon, 10 Aug 2026 15:15:26 +0300 +Subject: [PATCH] python-installer: allow flit_core 4.x as the build backend + +installer caps its flit_core build requirement below 4, so python-installer/host fails +with "Missing dependencies: flit_core<4" 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,7 +1,7 @@ + [build-system] + build-backend = "flit_core.buildapi" + requires = [ +- "flit_core<4,>=3.11", ++ "flit_core>=3.11", + ] + + [project]