From: Alexandru Ardelean Date: Mon, 10 Aug 2026 12:15:26 +0000 (+0300) Subject: python-pyproject-hooks: allow flit_core 4.x as the build backend X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=d32f366b1439f2b0de71900fcc3d7f59cbfc9ca4;p=openwrt-packages.git python-pyproject-hooks: allow flit_core 4.x as the build backend pyproject-hooks 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-pyproject-hooks/Makefile b/lang/python/python-pyproject-hooks/Makefile index 701a5cd43..7feafef0e 100644 --- a/lang/python/python-pyproject-hooks/Makefile +++ b/lang/python/python-pyproject-hooks/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=python-pyproject-hooks PKG_VERSION:=1.2.0 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PYPI_NAME:=pyproject_hooks PKG_HASH:=1e859bd5c40fae9448642dd871adf459e5e2084186e8d2c2a79a824c970da1f8 diff --git a/lang/python/python-pyproject-hooks/patches/010-relax-flit-core-constraint.patch b/lang/python/python-pyproject-hooks/patches/010-relax-flit-core-constraint.patch new file mode 100644 index 000000000..b99306309 --- /dev/null +++ b/lang/python/python-pyproject-hooks/patches/010-relax-flit-core-constraint.patch @@ -0,0 +1,24 @@ +From df6f6542c6a1caf2d8b91d9b27b27767df8b7bd3 Mon Sep 17 00:00:00 2001 +From: Alexandru Ardelean +Date: Mon, 10 Aug 2026 15:15:26 +0300 +Subject: [PATCH] python-pyproject-hooks: allow flit_core 4.x as the build + backend + +pyproject-hooks caps its flit_core build requirement below 4, so python-pyproject-hooks/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,5 +1,5 @@ + [build-system] +-requires = ["flit_core >=3.2,<4"] ++requires = ["flit_core >=3.2"] + build-backend = "flit_core.buildapi" + + [project]