Files
meta-openembedded/meta-python/recipes-devtools/python/python3-charset-normalizer/0001-pyproject.toml-relax-setuptools-upper-bound.patch
T
Jason Schonberg 63d9284f53 python3-charset-normalizer: add patch for setuptools version
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>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-12 23:01:41 -07:00

25 lines
843 B
Diff

From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
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 84.0.0).
Upstream-Status: Inappropriate [oe-core specific setuptools version]
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
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,3 +1,3 @@
[build-system]
-requires = ["setuptools>=68,<83.1"]
+requires = ["setuptools>=68"]
build-backend = "backend"