Skip to contentSkip to conversation

python3-httptools: allow building with latest setuptools

PATCH New Gyorgy Sarvari 1 participant 1 message Mar 15

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python3-httptools: allow building with latest setuptools

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.

---
 ...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
meta-python/recipes-devtools/python/python3-httptools/0001-Allow-building-with-latest-setuptools.patch new file +23 -0
new file mode 100644
index 0000000000..cad199f275
@@ -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"
meta-python/recipes-devtools/python/python3-httptools_0.7.1.bb +1 -0
index f961745a1b..01e317732b 100644
@@ -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"