summaryrefslogtreecommitdiffstats
path: root/meta-python
diff options
context:
space:
mode:
authorLeon Anavi <leon.anavi@konsulko.com>2025-09-01 14:06:18 +0300
committerKhem Raj <raj.khem@gmail.com>2025-09-01 15:52:05 -0700
commit6b0c0e246a910c18b316db1f4527c03a581dc43a (patch)
treedb1322116c3f6975bc3ead64f8a0532b0b25aded /meta-python
parentaf1199a7aa2c19fd8c56b12dc865e25d549e6cfc (diff)
downloadmeta-openembedded-6b0c0e246a910c18b316db1f4527c03a581dc43a.tar.gz
python3-charset-normalizer: Upgrade 3.4.2 -> 3.4.3
Upgrade to release 3.4.3: - mypy(c) is no longer a required dependency at build time if CHARSET_NORMALIZER_USE_MYPYC isn't set to 1. - automatically lower confidence on small bytes samples that are not Unicode in detect output legacy function. - Custom build backend to overcome inability to mark mypy as an optional dependency in the build phase. - Support for Python 3.14 - sdist archive contained useless directories. - automatically fallback on valid UTF-16 or UTF-32 even if the md says it's noisy. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python')
-rw-r--r--meta-python/recipes-devtools/python/python3-charset-normalizer/0001-pyproject.toml-Update-mypy-requirement.patch28
-rw-r--r--meta-python/recipes-devtools/python/python3-charset-normalizer_3.4.3.bb (renamed from meta-python/recipes-devtools/python/python3-charset-normalizer_3.4.2.bb)5
2 files changed, 2 insertions, 31 deletions
diff --git a/meta-python/recipes-devtools/python/python3-charset-normalizer/0001-pyproject.toml-Update-mypy-requirement.patch b/meta-python/recipes-devtools/python/python3-charset-normalizer/0001-pyproject.toml-Update-mypy-requirement.patch
deleted file mode 100644
index 44b5283359..0000000000
--- a/meta-python/recipes-devtools/python/python3-charset-normalizer/0001-pyproject.toml-Update-mypy-requirement.patch
+++ /dev/null
@@ -1,28 +0,0 @@
1From ee56a688a46a2abc2ca46c061898b27b44fb9602 Mon Sep 17 00:00:00 2001
2From: Leon Anavi <leon.anavi@konsulko.com>
3Date: Thu, 17 Jul 2025 16:23:58 +0300
4Subject: [PATCH] pyproject.toml: Update mypy requirement
5
6Updates the requirements on mypy to permit the latest version.
7
8Upstream-Status: Submitted [https://github.com/jawah/charset_normalizer/pull/632]
9
10Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
11---
12 pyproject.toml | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15diff --git a/pyproject.toml b/pyproject.toml
16index e7f052a..3a75dc1 100644
17--- a/pyproject.toml
18+++ b/pyproject.toml
19@@ -1,5 +1,5 @@
20 [build-system]
21-requires = ["setuptools", "setuptools-scm", "mypy>=1.4.1,<=1.15.0"]
22+requires = ["setuptools", "setuptools-scm", "mypy>=1.4.1,<=1.17.0"]
23 build-backend = "setuptools.build_meta"
24
25 [project]
26--
272.39.5
28
diff --git a/meta-python/recipes-devtools/python/python3-charset-normalizer_3.4.2.bb b/meta-python/recipes-devtools/python/python3-charset-normalizer_3.4.3.bb
index e98f823247..c257e1fb2a 100644
--- a/meta-python/recipes-devtools/python/python3-charset-normalizer_3.4.2.bb
+++ b/meta-python/recipes-devtools/python/python3-charset-normalizer_3.4.3.bb
@@ -3,9 +3,9 @@ HOMEPAGE = "https://github.com/ousret/charset_normalizer"
3LICENSE = "MIT" 3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=48178f3fc1374ad7e830412f812bde05" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=48178f3fc1374ad7e830412f812bde05"
5 5
6SRC_URI += "file://0001-pyproject.toml-Update-mypy-requirement.patch" 6#SRC_URI += "file://0001-pyproject.toml-Update-mypy-requirement.patch"
7 7
8SRC_URI[sha256sum] = "5baececa9ecba31eff645232d59845c07aa030f0c81ee70184a90d35099a0e63" 8SRC_URI[sha256sum] = "6fce4b8500244f6fcb71465d4a4930d132ba9ab8e71a7859e6a5d59851068d14"
9 9
10DEPENDS += "python3-setuptools-scm-native python3-mypy-native" 10DEPENDS += "python3-setuptools-scm-native python3-mypy-native"
11 11
@@ -17,7 +17,6 @@ UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
17RDEPENDS:${PN} += " \ 17RDEPENDS:${PN} += " \
18 python3-core \ 18 python3-core \
19 python3-logging \ 19 python3-logging \
20 python3-mypy \
21 python3-codecs \ 20 python3-codecs \
22 python3-json \ 21 python3-json \
23" 22"