By default this recipe requires Setuptools with strictly version 80.9.0.
oe-core has updated Setuptools to 82.0, and this recipe failed to build.

This patch relaxes the Setuptools version requirements.

Signed-off-by: Gyorgy Sarvari <[email protected]>
---
 ...llow-building-with-latest-setuptools.patch | 23 +++++++++++++++++++
 .../python/python3-httptools_0.7.1.bb         |  1 +
 2 files changed, 24 insertions(+)
 create mode 100644 
meta-python/recipes-devtools/python/python3-httptools/0001-Allow-building-with-latest-setuptools.patch

diff --git 
a/meta-python/recipes-devtools/python/python3-httptools/0001-Allow-building-with-latest-setuptools.patch
 
b/meta-python/recipes-devtools/python/python3-httptools/0001-Allow-building-with-latest-setuptools.patch
new file mode 100644
index 0000000000..cad199f275
--- /dev/null
+++ 
b/meta-python/recipes-devtools/python/python3-httptools/0001-Allow-building-with-latest-setuptools.patch
@@ -0,0 +1,23 @@
+From 61e4a5acc1ec27ca295f4c0f288b97208fec1f78 Mon Sep 17 00:00:00 2001
+From: Gyorgy Sarvari <[email protected]>
+Date: Sat, 14 Mar 2026 16:55:54 +0100
+Subject: [PATCH] Allow building with latest setuptools
+
+Upstream-Status: Submitted [https://github.com/MagicStack/httptools/pull/138]
+Signed-off-by: Gyorgy Sarvari <[email protected]>
+---
+ pyproject.toml | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/pyproject.toml b/pyproject.toml
+index e2acba3..86c46de 100644
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -1,6 +1,6 @@
+ [build-system]
+ build-backend = "setuptools.build_meta"
+-requires = ["setuptools==80.9.0"]
++requires = ["setuptools>=80.9.0,<=82.0.1"]
+ 
+ [project]
+ name = "httptools"
diff --git a/meta-python/recipes-devtools/python/python3-httptools_0.7.1.bb 
b/meta-python/recipes-devtools/python/python3-httptools_0.7.1.bb
index f961745a1b..01e317732b 100644
--- a/meta-python/recipes-devtools/python/python3-httptools_0.7.1.bb
+++ b/meta-python/recipes-devtools/python/python3-httptools_0.7.1.bb
@@ -6,3 +6,4 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=0a2d82955bf3facdf04cb882655e840e"
 inherit pypi python_setuptools_build_meta ptest-python-pytest
 
 SRC_URI[sha256sum] = 
"abd72556974f8e7c74a259655924a717a2365b236c882c3f6f8a45fe94703ac9"
+SRC_URI += "file://0001-Allow-building-with-latest-setuptools.patch"
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#125244): 
https://lists.openembedded.org/g/openembedded-devel/message/125244
Mute This Topic: https://lists.openembedded.org/mt/118328146/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to