From 69e42c4fbd164ad7e63b92869e6ac5ff2ccc8b92 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 20 Mar 2026 15:10:52 -0700 Subject: [PATCH] python3-charset-normalizer: Upgrade to 3.4.6 Fix build with setuptools > 82.0.0 as well Signed-off-by: Khem Raj --- ...cts-Bump-setuptools-check-to-be-82.x.patch | 25 +++++++++++++++++++ ...bb => python3-charset-normalizer_3.4.6.bb} | 4 +-- 2 files changed, 27 insertions(+), 2 deletions(-) create mode 100644 meta-python/recipes-devtools/python/python3-charset-normalizer/0001-pyprojects-Bump-setuptools-check-to-be-82.x.patch rename meta-python/recipes-devtools/python/{python3-charset-normalizer_3.4.5.bb => python3-charset-normalizer_3.4.6.bb} (80%) diff --git a/meta-python/recipes-devtools/python/python3-charset-normalizer/0001-pyprojects-Bump-setuptools-check-to-be-82.x.patch b/meta-python/recipes-devtools/python/python3-charset-normalizer/0001-pyprojects-Bump-setuptools-check-to-be-82.x.patch new file mode 100644 index 0000000000..571333e44e --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-charset-normalizer/0001-pyprojects-Bump-setuptools-check-to-be-82.x.patch @@ -0,0 +1,25 @@ +From 17bc1de2c08f9303886d654572b1ba64259a8a68 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Fri, 20 Mar 2026 15:06:51 -0700 +Subject: [PATCH] pyprojects: Bump setuptools check to be <= 82.x + +This ensures build with 82.0.1 goes on + +Upstream-Status: Pending + +Signed-off-by: Khem Raj +--- + pyproject.toml | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/pyproject.toml b/pyproject.toml +index ea1c514..bbc83b7 100644 +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -1,5 +1,5 @@ + [build-system] +-requires = ["setuptools>=68,<=82.0.0"] ++requires = ["setuptools>=68,<=83.0.0"] + build-backend = "backend" + backend-path = ["_mypyc_hook"] + diff --git a/meta-python/recipes-devtools/python/python3-charset-normalizer_3.4.5.bb b/meta-python/recipes-devtools/python/python3-charset-normalizer_3.4.6.bb similarity index 80% rename from meta-python/recipes-devtools/python/python3-charset-normalizer_3.4.5.bb rename to meta-python/recipes-devtools/python/python3-charset-normalizer_3.4.6.bb index e69d7536a9..e6056a3512 100644 --- a/meta-python/recipes-devtools/python/python3-charset-normalizer_3.4.5.bb +++ b/meta-python/recipes-devtools/python/python3-charset-normalizer_3.4.6.bb @@ -3,9 +3,9 @@ HOMEPAGE = "https://github.com/ousret/charset_normalizer" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=48178f3fc1374ad7e830412f812bde05" -#SRC_URI += "file://0001-pyproject.toml-Update-mypy-requirement.patch" +SRC_URI += "file://0001-pyprojects-Bump-setuptools-check-to-be-82.x.patch" -SRC_URI[sha256sum] = "95adae7b6c42a6c5b5b559b1a99149f090a57128155daeea91732c8d970d8644" +SRC_URI[sha256sum] = "1ae6b62897110aa7c79ea2f5dd38d1abca6db663687c0b1ad9aed6f6bae3d9d6" DEPENDS += "python3-setuptools-scm-native python3-mypy-native"