diff mbox series

[meta-python] python3-httptools: allow building with latest setuptools

Message ID 20260315135828.1074994-1-skandigraun@gmail.com
State Under Review
Headers show
Series [meta-python] python3-httptools: allow building with latest setuptools | expand

Commit Message

Gyorgy Sarvari March 15, 2026, 1:58 p.m. UTC
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 <skandigraun@gmail.com>
---
 ...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 mbox series

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 <skandigraun@gmail.com>
+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 <skandigraun@gmail.com>
+---
+ 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"