From 81958300f23edfd2cd78eb43ee27cbd3f339f979 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Fri, 30 May 2025 12:41:42 +0300 Subject: [PATCH] python3-charset-normalizer: Upgrade 3.4.1 -> 3.4.2 Upgrade to release 3.4.2: - Addressed the DeprecationWarning in our CLI regarding argparse.FileType by backporting the target class into the package. - Improved the overall reliability of the detector with CJK Ideographs. - Optional mypyc compilation upgraded to version 1.15 for Python >= 3.8 Signed-off-by: Leon Anavi Signed-off-by: Khem Raj --- ...yproject.toml-Relax-version-for-mypy.patch | 25 ------------------- ...bb => python3-charset-normalizer_3.4.2.bb} | 3 +-- 2 files changed, 1 insertion(+), 27 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-charset-normalizer/0001-pyproject.toml-Relax-version-for-mypy.patch rename meta-python/recipes-devtools/python/{python3-charset-normalizer_3.4.1.bb => python3-charset-normalizer_3.4.2.bb} (81%) diff --git a/meta-python/recipes-devtools/python/python3-charset-normalizer/0001-pyproject.toml-Relax-version-for-mypy.patch b/meta-python/recipes-devtools/python/python3-charset-normalizer/0001-pyproject.toml-Relax-version-for-mypy.patch deleted file mode 100644 index d544caaa17..0000000000 --- a/meta-python/recipes-devtools/python/python3-charset-normalizer/0001-pyproject.toml-Relax-version-for-mypy.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 57b626d6d8c247c9203dde51a988b9401abe065c Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Wed, 9 Apr 2025 23:44:44 -0700 -Subject: [PATCH] pyproject.toml: Relax version for mypy - -It asks for mypy <= 1.14.0 but we have 1.15.x -already in meta-python - -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 bbb8227..ad42715 100644 ---- a/pyproject.toml -+++ b/pyproject.toml -@@ -1,5 +1,5 @@ - [build-system] --requires = ["setuptools", "setuptools-scm", "mypy>=1.4.1,<=1.14.0"] -+requires = ["setuptools", "setuptools-scm", "mypy>=1.4.1,<=1.16.0"] - build-backend = "setuptools.build_meta" - - [project] diff --git a/meta-python/recipes-devtools/python/python3-charset-normalizer_3.4.1.bb b/meta-python/recipes-devtools/python/python3-charset-normalizer_3.4.2.bb similarity index 81% rename from meta-python/recipes-devtools/python/python3-charset-normalizer_3.4.1.bb rename to meta-python/recipes-devtools/python/python3-charset-normalizer_3.4.2.bb index 4f9b09ef93..e62306fff3 100644 --- a/meta-python/recipes-devtools/python/python3-charset-normalizer_3.4.1.bb +++ b/meta-python/recipes-devtools/python/python3-charset-normalizer_3.4.2.bb @@ -3,8 +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-version-for-mypy.patch" -SRC_URI[sha256sum] = "44251f18cd68a75b56585dd00dae26183e102cd5e0f9f1466e6df5da2ed64ea3" +SRC_URI[sha256sum] = "5baececa9ecba31eff645232d59845c07aa030f0c81ee70184a90d35099a0e63" DEPENDS += "python3-setuptools-scm-native python3-mypy-native"