The upstream pyproject.toml caps setuptools at <=82.0.1, but OE builds with --no-isolation against the native setuptools (now 83.0.0), so the build fails with "Missing dependencies: setuptools<=82.0.1,>=80.9.0". Drop the spurious upper bound.
Signed-off-by: Khem Raj <[email protected]> --- ...ct.toml-relax-setuptools-upper-bound.patch | 27 +++++++++++++++++++ .../python/python3-httptools_0.8.0.bb | 1 + 2 files changed, 28 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-httptools/0001-pyproject.toml-relax-setuptools-upper-bound.patch diff --git a/meta-python/recipes-devtools/python/python3-httptools/0001-pyproject.toml-relax-setuptools-upper-bound.patch b/meta-python/recipes-devtools/python/python3-httptools/0001-pyproject.toml-relax-setuptools-upper-bound.patch new file mode 100644 index 0000000000..16280d7074 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-httptools/0001-pyproject.toml-relax-setuptools-upper-bound.patch @@ -0,0 +1,27 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Khem Raj <[email protected]> +Date: Wed, 8 Jul 2026 00:00:00 +0000 +Subject: [PATCH] pyproject.toml: relax setuptools upper bound + +OE provides setuptools via DEPENDS and builds with --no-isolation, so the +upstream upper cap on setuptools is spurious and breaks the build whenever +oe-core ships a newer setuptools (currently 83.0.0). + +Upstream-Status: Inappropriate [oe-core specific setuptools version] +Signed-off-by: Khem Raj <[email protected]> +--- + pyproject.toml | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/pyproject.toml b/pyproject.toml +index 1111111..2222222 100644 +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -1,6 +1,6 @@ + [build-system] + build-backend = "setuptools.build_meta" +-requires = ["setuptools>=80.9.0,<=82.0.1"] ++requires = ["setuptools>=80.9.0"] + + [project] + name = "httptools" diff --git a/meta-python/recipes-devtools/python/python3-httptools_0.8.0.bb b/meta-python/recipes-devtools/python/python3-httptools_0.8.0.bb index 96565a7885..7a4d567248 100644 --- a/meta-python/recipes-devtools/python/python3-httptools_0.8.0.bb +++ b/meta-python/recipes-devtools/python/python3-httptools_0.8.0.bb @@ -5,4 +5,5 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=0a2d82955bf3facdf04cb882655e840e" inherit pypi python_setuptools_build_meta ptest-python-pytest +SRC_URI += "file://0001-pyproject.toml-relax-setuptools-upper-bound.patch" SRC_URI[sha256sum] = "6b2a32f18d97e16e90827d7a819ffa8dbd8cc245fc4e1fa9d1095b54ef4bd999"
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#128113): https://lists.openembedded.org/g/openembedded-devel/message/128113 Mute This Topic: https://lists.openembedded.org/mt/120186198/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
