From: Jason Schonberg <schonm@gmail.com>
To: openembedded-devel@lists.openembedded.org
Cc: Jason Schonberg <schonm@gmail.com>
Subject: [meta-python][PATCH] python3-charset-normalizer: add patch for setuptools version
Date: Tue, 11 Aug 2026 01:50:21 -0400 [thread overview]
Message-ID: <20260811055021.965988-1-schonm@gmail.com> (raw)
The 3.4.9 upgrade dropped the setuptools uppper-bound patch because upstream raised its cap from <82.1 to <83.1. But oe-core ships
setuptools 84.0.0, so do_compile failed with Unmet dependencies: setuptools<83.1,>=68 ... found: 84.0.0
Refreshed patch to match 3.4.9's pyproject.toml
Signed-off-by: Jason Schonberg <schonm@gmail.com>
---
.../0001-pyproject.toml-relax-setuptools-upper-bound.patch | 4 ++--
.../python/python3-charset-normalizer_3.4.9.bb | 1 +
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/meta-python/recipes-devtools/python/python3-charset-normalizer/0001-pyproject.toml-relax-setuptools-upper-bound.patch b/meta-python/recipes-devtools/python/python3-charset-normalizer/0001-pyproject.toml-relax-setuptools-upper-bound.patch
index 8d9ee26d8f..508debc340 100644
--- a/meta-python/recipes-devtools/python/python3-charset-normalizer/0001-pyproject.toml-relax-setuptools-upper-bound.patch
+++ b/meta-python/recipes-devtools/python/python3-charset-normalizer/0001-pyproject.toml-relax-setuptools-upper-bound.patch
@@ -5,7 +5,7 @@ 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).
+oe-core ships a newer setuptools (currently 84.0.0).
Upstream-Status: Inappropriate [oe-core specific setuptools version]
Signed-off-by: Khem Raj <raj.khem@gmail.com>
@@ -19,6 +19,6 @@ index 1111111..2222222 100644
+++ b/pyproject.toml
@@ -1,3 +1,3 @@
[build-system]
--requires = ["setuptools>=68,<82.1"]
+-requires = ["setuptools>=68,<83.1"]
+requires = ["setuptools>=68"]
build-backend = "backend"
diff --git a/meta-python/recipes-devtools/python/python3-charset-normalizer_3.4.9.bb b/meta-python/recipes-devtools/python/python3-charset-normalizer_3.4.9.bb
index 70dcb9e158..6df52a23d4 100644
--- a/meta-python/recipes-devtools/python/python3-charset-normalizer_3.4.9.bb
+++ b/meta-python/recipes-devtools/python/python3-charset-normalizer_3.4.9.bb
@@ -3,6 +3,7 @@ HOMEPAGE = "https://github.com/ousret/charset_normalizer"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=48178f3fc1374ad7e830412f812bde05"
+SRC_URI += "file://0001-pyproject.toml-relax-setuptools-upper-bound.patch"
SRC_URI[sha256sum] = "673611bbd43f0810bec0b0f028ddeaaa501190339cac411f347ac76917c3ae7b"
DEPENDS += "python3-setuptools-scm-native python3-mypy-native"
--
2.43.0
reply other threads:[~2026-08-11 5:50 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260811055021.965988-1-schonm@gmail.com \
--to=schonm@gmail.com \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.