diff options
author | Leon Anavi <leon.anavi@konsulko.com> | 2025-07-17 17:36:39 +0300 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2025-07-17 08:53:08 -0700 |
commit | 6eec8dab28f5c525a8970efaf9b9d00de9d00d2c (patch) | |
tree | e254a508ef564e867e3a7d8180bddf2571917331 | |
parent | 20c6a4fe529284f3cf9a30ec697cca79de8afe6b (diff) | |
download | meta-openembedded-6eec8dab28f5c525a8970efaf9b9d00de9d00d2c.tar.gz |
python3-charset-normalizer: Update mypy
Apply a patch to update the requirements on mypy to permit the
latest version.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2 files changed, 30 insertions, 0 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 new file mode 100644 index 0000000000..44b5283359 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-charset-normalizer/0001-pyproject.toml-Update-mypy-requirement.patch | |||
@@ -0,0 +1,28 @@ | |||
1 | From ee56a688a46a2abc2ca46c061898b27b44fb9602 Mon Sep 17 00:00:00 2001 | ||
2 | From: Leon Anavi <leon.anavi@konsulko.com> | ||
3 | Date: Thu, 17 Jul 2025 16:23:58 +0300 | ||
4 | Subject: [PATCH] pyproject.toml: Update mypy requirement | ||
5 | |||
6 | Updates the requirements on mypy to permit the latest version. | ||
7 | |||
8 | Upstream-Status: Submitted [https://github.com/jawah/charset_normalizer/pull/632] | ||
9 | |||
10 | Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> | ||
11 | --- | ||
12 | pyproject.toml | 2 +- | ||
13 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
14 | |||
15 | diff --git a/pyproject.toml b/pyproject.toml | ||
16 | index 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 | -- | ||
27 | 2.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.2.bb index e62306fff3..e98f823247 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.2.bb | |||
@@ -3,6 +3,8 @@ HOMEPAGE = "https://github.com/ousret/charset_normalizer" | |||
3 | LICENSE = "MIT" | 3 | LICENSE = "MIT" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=48178f3fc1374ad7e830412f812bde05" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=48178f3fc1374ad7e830412f812bde05" |
5 | 5 | ||
6 | SRC_URI += "file://0001-pyproject.toml-Update-mypy-requirement.patch" | ||
7 | |||
6 | SRC_URI[sha256sum] = "5baececa9ecba31eff645232d59845c07aa030f0c81ee70184a90d35099a0e63" | 8 | SRC_URI[sha256sum] = "5baececa9ecba31eff645232d59845c07aa030f0c81ee70184a90d35099a0e63" |
7 | 9 | ||
8 | DEPENDS += "python3-setuptools-scm-native python3-mypy-native" | 10 | DEPENDS += "python3-setuptools-scm-native python3-mypy-native" |