From 79bff37b73ddb44b0717de7a1faf6afd1cb2254e Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Thu, 9 Apr 2026 15:38:36 +0300 Subject: python3-charset-normalizer: Upgrade 3.4.6 -> 3.4.7 Upgrade to release 3.4.7: - Pre-built optimized version using mypy[c] v1.20. - Relax setuptools constraint to setuptools>=68,<82.1. - Correctly remove SIG remnant in utf-7 decoded string. Signed-off-by: Leon Anavi Signed-off-by: Khem Raj --- ...projects-Bump-setuptools-check-to-be-82.x.patch | 25 ---------------------- .../python/python3-charset-normalizer_3.4.6.bb | 25 ---------------------- .../python/python3-charset-normalizer_3.4.7.bb | 23 ++++++++++++++++++++ 3 files changed, 23 insertions(+), 50 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-charset-normalizer/0001-pyprojects-Bump-setuptools-check-to-be-82.x.patch delete mode 100644 meta-python/recipes-devtools/python/python3-charset-normalizer_3.4.6.bb create mode 100644 meta-python/recipes-devtools/python/python3-charset-normalizer_3.4.7.bb (limited to 'meta-python/recipes-devtools/python') 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 deleted file mode 100644 index 571333e44e..0000000000 --- a/meta-python/recipes-devtools/python/python3-charset-normalizer/0001-pyprojects-Bump-setuptools-check-to-be-82.x.patch +++ /dev/null @@ -1,25 +0,0 @@ -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.6.bb b/meta-python/recipes-devtools/python/python3-charset-normalizer_3.4.6.bb deleted file mode 100644 index e6056a3512..0000000000 --- a/meta-python/recipes-devtools/python/python3-charset-normalizer_3.4.6.bb +++ /dev/null @@ -1,25 +0,0 @@ -SUMMARY = "The Real First Universal Charset Detector. Open, modern and actively maintained alternative to Chardet." -HOMEPAGE = "https://github.com/ousret/charset_normalizer" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=48178f3fc1374ad7e830412f812bde05" - -SRC_URI += "file://0001-pyprojects-Bump-setuptools-check-to-be-82.x.patch" - -SRC_URI[sha256sum] = "1ae6b62897110aa7c79ea2f5dd38d1abca6db663687c0b1ad9aed6f6bae3d9d6" - -DEPENDS += "python3-setuptools-scm-native python3-mypy-native" - -inherit pypi python_setuptools_build_meta ptest-python-pytest - -PYPI_PACKAGE = "charset_normalizer" -UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" - -RDEPENDS:${PN} += " \ - python3-core \ - python3-logging \ - python3-codecs \ - python3-json \ -" - -RDEPENDS:${PN}-ptest:append:libc-glibc = " glibc-charmap-gb18030 glibc-charmaps" -BBCLASSEXTEND = "native nativesdk" diff --git a/meta-python/recipes-devtools/python/python3-charset-normalizer_3.4.7.bb b/meta-python/recipes-devtools/python/python3-charset-normalizer_3.4.7.bb new file mode 100644 index 0000000000..b9dffb21e4 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-charset-normalizer_3.4.7.bb @@ -0,0 +1,23 @@ +SUMMARY = "The Real First Universal Charset Detector. Open, modern and actively maintained alternative to Chardet." +HOMEPAGE = "https://github.com/ousret/charset_normalizer" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=48178f3fc1374ad7e830412f812bde05" + +SRC_URI[sha256sum] = "ae89db9e5f98a11a4bf50407d4363e7b09b31e55bc117b4f7d80aab97ba009e5" + +DEPENDS += "python3-setuptools-scm-native python3-mypy-native" + +inherit pypi python_setuptools_build_meta ptest-python-pytest + +PYPI_PACKAGE = "charset_normalizer" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" + +RDEPENDS:${PN} += " \ + python3-core \ + python3-logging \ + python3-codecs \ + python3-json \ +" + +RDEPENDS:${PN}-ptest:append:libc-glibc = " glibc-charmap-gb18030 glibc-charmaps" +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf