Skip to contentSkip to conversation

python3-mypy: Upgrade 1.15.0 -> 1.17.0

PATCH Superseded Leon Anavi 2 participants 4 messages Jul 15, 2025 – Jul 17, 2025

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Leon Anavi

author
#0 lore raw

PATCH 1/2 python3-mypy: Upgrade 1.15.0 -> 1.17.0

Upgrade to release 1.17.0:

- Mypy can now optionally generate an error if a match statement does not match exhaustively, without having to use assert_never(...). Enable this by using --enable-error-code exhaustive-match.
- Handle corner case: protocol/class variable/descriptor
- Fix a few inconsistencies in protocol/type object interactions
- Refactor/unify access to static attributes
- Remove inconsistencies in operator handling
- Make protocol subtyping more consistent
- Fix nondeterministic type checking by making join with explicit Protocol and type promotion commute
- Fix nondeterministic type checking caused by nonassociative of None joins
- Fix nondeterministic type checking caused by nonassociativity of joins
- Fix nondeterministic type checking by making join between type and TypeVar commute
- Mypy only supports Python 3.9+. The --force-uppercase-builtins flag is now deprecated as unnecessary, and a no-op. It will be removed in a future version.

---
 .../python/{python3-mypy_1.15.0.bb => python3-mypy_1.17.0.bb}  | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-mypy_1.15.0.bb => python3-mypy_1.17.0.bb} (82%)
meta-python/recipes-devtools/python/python3-mypy_1.17.0.bb renamed from meta-python/recipes-devtools/python/python3-mypy_1.15.0.bb +2 -1
similarity index 82%
rename from meta-python/recipes-devtools/python/python3-mypy_1.15.0.bb
rename to meta-python/recipes-devtools/python/python3-mypy_1.17.0.bb
index ebcac51ea1..0d1e0bd16e 100644
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=8d62fd8f8648cb018e52857347e340b9"
 
 inherit pypi python_setuptools_build_meta
 
-SRC_URI[sha256sum] = "404534629d51d3efea5c800ee7c42b72a6554d6c400e6a79eafe15d11341fd43"
+SRC_URI[sha256sum] = "e5d7ccc08ba089c06e2f5629c660388ef1fee708444f1dee0b9203fa031dee03"
 
 BBCLASSEXTEND = "native"
 
@@ -14,6 +14,7 @@ DEPENDS += " \
     python3-types-psutil-native \
     python3-types-setuptools-native \
     python3-typing-extensions-native \
+    python3-pathspec-native \
 "
 
 RDEPENDS:${PN} += " \
Signature · 1 line
2.39.5
author
#1 lore raw

PATCH 2/2 python3-bandit: Upgrade 1.8.5 -> 1.8.6

Upgrade to release 1.8.6:

- Bump sigstore/cosign-installer from 3.8.2 to 3.9.0
- Bump docker/setup-buildx-action from 3.10.0 to 3.11.1
- Added hint to FreeBSD package in doc/source/integrations.rst
- Bump sigstore/cosign-installer from 3.9.0 to 3.9.1
- Huggingface revision pinning

---
 .../python/{python3-bandit_1.8.5.bb => python3-bandit_1.8.6.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-bandit_1.8.5.bb => python3-bandit_1.8.6.bb} (84%)
meta-python/recipes-devtools/python/python3-bandit_1.8.6.bb renamed from meta-python/recipes-devtools/python/python3-bandit_1.8.5.bb +1 -1
similarity index 84%
rename from meta-python/recipes-devtools/python/python3-bandit_1.8.5.bb
rename to meta-python/recipes-devtools/python/python3-bandit_1.8.6.bb
index 2cf13183e7..211d579869 100644
@@ -2,7 +2,7 @@ SUMMARY = "Security oriented static analyser for python code."
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=34400b68072d710fecd0a2940a0d1658"
 
-SRC_URI[sha256sum] = "db812e9c39b8868c0fed5278b77fffbbaba828b4891bc80e34b9c50373201cfd"
+SRC_URI[sha256sum] = "dbfe9c25fc6961c2078593de55fd19f2559f9e45b99f1272341f5b95dea4e56b"
 
 DEPENDS = "python3-pbr-native python3-git python3-pbr python3-pyyaml python3-six python3-stevedore"
 
Signature · 1 line
2.39.5
#2 lore raw
In reply to Leon Anavi

This regressed python3-charset-normalizer module

https://errors.yoctoproject.org/Errors/Details/872281/

Quoted 66 lines · Leon Anavi via lists.openembedded.org

Upgrade to release 1.17.0:

- Mypy can now optionally generate an error if a match statement does not match exhaustively, without having to use assert_never(...). Enable this by using --enable-error-code exhaustive-match.
- Handle corner case: protocol/class variable/descriptor
- Fix a few inconsistencies in protocol/type object interactions
- Refactor/unify access to static attributes
- Remove inconsistencies in operator handling
- Make protocol subtyping more consistent
- Fix nondeterministic type checking by making join with explicit Protocol and type promotion commute
- Fix nondeterministic type checking caused by nonassociative of None joins
- Fix nondeterministic type checking caused by nonassociativity of joins
- Fix nondeterministic type checking by making join between type and TypeVar commute
- Mypy only supports Python 3.9+. The --force-uppercase-builtins flag is now deprecated as unnecessary, and a no-op. It will be removed in a future version.

---
 .../python/{python3-mypy_1.15.0.bb => python3-mypy_1.17.0.bb}  | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-mypy_1.15.0.bb => python3-mypy_1.17.0.bb} (82%)
meta-python/recipes-devtools/python/python3-mypy_1.17.0.bb renamed from meta-python/recipes-devtools/python/python3-mypy_1.15.0.bb +2 -2
similarity index 82%
rename from meta-python/recipes-devtools/python/python3-mypy_1.15.0.bb
rename to meta-python/recipes-devtools/python/python3-mypy_1.17.0.bb
index ebcac51ea1..0d1e0bd16e 100644
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=8d62fd8f8648cb018e52857347e340b9"
 
 inherit pypi python_setuptools_build_meta
 
-SRC_URI[sha256sum] = "404534629d51d3efea5c800ee7c42b72a6554d6c400e6a79eafe15d11341fd43"
+SRC_URI[sha256sum] = "e5d7ccc08ba089c06e2f5629c660388ef1fee708444f1dee0b9203fa031dee03"
 
 BBCLASSEXTEND = "native"
 
@@ -14,6 +14,7 @@ DEPENDS += " \
     python3-types-psutil-native \
     python3-types-setuptools-native \
     python3-typing-extensions-native \
+    python3-pathspec-native \
 "
 
 RDEPENDS:${PN} += " \
--

2.39.5

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#118556): https://lists.openembedded.org/g/openembedded-devel/message/118556
Mute This Topic: https://lists.openembedded.org/mt/114163958/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

author
#3 lore raw

Hi Khem,

Thank you for letting me know. In a separate commit I've applied a fix for python3-charset-normalizer and submitted the v2 version. I have also opened a GitHub pull request to fix this in the upstream of
charset_normalizer: https://github.com/jawah/charset_normalizer/pull/632

Best regards,
Leon

Quoted 80 lines · Khem Raj

This regressed python3-charset-normalizer module

https://errors.yoctoproject.org/Errors/Details/872281/

Quoted 24 lines · Leon Anavi via lists.openembedded.org

Upgrade to release 1.17.0:

- Mypy can now optionally generate an error if a match statement does not match exhaustively, without having to use assert_never(...). Enable this by using --enable-error-code exhaustive-match.
- Handle corner case: protocol/class variable/descriptor
- Fix a few inconsistencies in protocol/type object interactions
- Refactor/unify access to static attributes
- Remove inconsistencies in operator handling
- Make protocol subtyping more consistent
- Fix nondeterministic type checking by making join with explicit Protocol and type promotion commute
- Fix nondeterministic type checking caused by nonassociative of None joins
- Fix nondeterministic type checking caused by nonassociativity of joins
- Fix nondeterministic type checking by making join between type and TypeVar commute
- Mypy only supports Python 3.9+. The --force-uppercase-builtins flag is now deprecated as unnecessary, and a no-op. It will be removed in a future version.

Quoted 5 lines
---
 .../python/{python3-mypy_1.15.0.bb => python3-mypy_1.17.0.bb}  | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-mypy_1.15.0.bb =>

python3-mypy_1.17.0.bb} (82%)

Review

Quoted 2 lines
(quoted diff) +0 -0

b/meta-python/recipes-devtools/python/python3-mypy_1.17.0.bb

meta-python/recipes-devtools/python/python3-mypy_1.17.0.bb LIC_FILES_CHKSUM =

Quoted 7 lines

similarity index 82%
rename from meta-python/recipes-devtools/python/python3-mypy_1.15.0.bb rename to meta-python/recipes-devtools/python/python3-mypy_1.17.0.bb index ebcac51ea1..0d1e0bd16e 100644

meta-python/recipes-devtools/python/python3-mypy_1.17.0.bb renamed from meta-python/recipes-devtools/python/python3-mypy_1.15.0.bb +0 -0
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM =

"file://LICENSE;md5=8d62fd8f8648cb018e52857347e340b9"

meta-python/recipes-devtools/python/python3-mypy_1.17.0.bb LIC_FILES_CHKSUM = "file://LICENSE;md5=8d62fd8f8648cb018e52857347e340b9"

Quoted 4 lines
meta-python/recipes-devtools/python/python3-mypy_1.17.0.bb renamed from meta-python/recipes-devtools/python/python3-mypy_1.15.0.bb +0 -1
 inherit pypi python_setuptools_build_meta
 
-SRC_URI[sha256sum] =

"404534629d51d3efea5c800ee7c42b72a6554d6c400e6a79eafe15d11341fd43"

meta-python/recipes-devtools/python/python3-mypy_1.17.0.bb LIC_FILES_CHKSUM = · line 7

Quoted 1 line
meta-python/recipes-devtools/python/python3-mypy_1.17.0.bb renamed from meta-python/recipes-devtools/python/python3-mypy_1.15.0.bb +1 -0
+SRC_URI[sha256sum] =

"e5d7ccc08ba089c06e2f5629c660388ef1fee708444f1dee0b9203fa031dee03"

Quoted 15 lines
meta-python/recipes-devtools/python/python3-mypy_1.17.0.bb renamed from meta-python/recipes-devtools/python/python3-mypy_1.15.0.bb +1 -1
 BBCLASSEXTEND = "native"
 
@@ -14,6 +14,7 @@ DEPENDS += " \
     python3-types-psutil-native \
     python3-types-setuptools-native \
     python3-typing-extensions-native \
+    python3-pathspec-native \
 "
 
 RDEPENDS:${PN} += " \
--

2.39.5

Quoted 3 lines

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#118556):

https://lists.openembedded.org/g/openembedded-devel/message/118556

Quoted 3 lines

Mute This Topic: https://lists.openembedded.org/mt/114163958/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [

[email protected]]

Quoted 2 lines

-=-=-=-=-=-=-=-=-=-=-=-

Signature · 4 lines
Leon Anavi
Software Engineer
Mob : +359 88 527 7901
konsulko.com