Skip to contentSkip to conversation

python3-mypy, python3-mypy-extensions: remove

PATCH In review Trevor Gamblin 3 participants 4 messages Jul 24, 2023 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 python3-mypy, python3-mypy-extensions: remove

While attempting to upgrade mypy and mypy-extensions, it was discovered that it depends on new modules, some of which have no maintenance plan in place, e.g.: https://pypi.org/project/types-typed-ast/

Since this is something we want to avoid adding to the ecosystem and mypy isn't a dependency for anything else in meta-python, remove the recipes.

---
v2 removes the recipes from the packagegroup as well.

 .../packagegroups/packagegroup-meta-python.bb |  2 --
 .../python/python3-mypy-extensions_0.4.3.bb   | 12 ----------
 .../python/python3-mypy_0.971.bb              | 23 -------------------
 3 files changed, 37 deletions(-)
 delete mode 100644 meta-python/recipes-devtools/python/python3-mypy-extensions_0.4.3.bb
 delete mode 100644 meta-python/recipes-devtools/python/python3-mypy_0.971.bb
meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb +0 -2
index b23d24c6d4..c12d475047 100644
@@ -245,8 +245,6 @@ RDEPENDS:packagegroup-meta-python3 = "\
     python3-msk \
     python3-msm \
     python3-multidict \
-    python3-mypy \
-    python3-mypy-extensions \
     python3-natsort \
     python3-netaddr \
     python3-netifaces \
meta-python/recipes-devtools/python/python3-mypy-extensions_0.4.3.bb deleted +0 -12
deleted file mode 100644
index 83ac5362d6..0000000000
@@ -1,12 +0,0 @@
-SUMMARY = "Experimental type system extensions for programs checked with the mypy typechecker"
-HOMEPAGE = "https://github.com/python/mypy_extensions"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=0fe3219e2470a78c0d1837019b8b426e"
-
-PYPI_PACKAGE = "mypy_extensions"
-
-inherit pypi setuptools3
-
-SRC_URI[sha256sum] = "2d82818f5bb3e369420cb3c4060a7970edba416647068eb4c5343488a6c604a8"
-
-BBCLASSEXTEND = "native"
meta-python/recipes-devtools/python/python3-mypy_0.971.bb deleted +0 -23
deleted file mode 100644
index 31fcb06c9e..0000000000
@@ -1,23 +0,0 @@
-SUMMARY = "Optional static typing for Python 3 and 2 (PEP 484)"
-HOMEPAGE = "https://github.com/python/mypy"
-LICENSE = "MIT & Python-2.0"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=6ba8ec528da02073b7e1f4124c0f836f"
-
-PYPI_PACKAGE = "mypy"
-
-inherit pypi python_setuptools_build_meta
-
-SRC_URI[sha256sum] = "40b0f21484238269ae6a57200c807d80debc6459d444c0489a102d7c6a75fa56"
-
-BBCLASSEXTEND = "native"
-
-RDEPENDS:${PN} += " \
-    ${PYTHON_PN}-mypy-extensions \
-    ${PYTHON_PN}-typed-ast \
-    ${PYTHON_PN}-typing-extensions \
-    ${PYTHON_PN}-json \
-    ${PYTHON_PN}-compression \
-    ${PYTHON_PN}-pprint \
-    ${PYTHON_PN}-difflib \
-    ${PYTHON_PN}-toml \
-"
Signature · 1 line
2.41.0
#1 lore raw
Quoted 3 lines · Trevor Gamblin

While attempting to upgrade mypy and mypy-extensions, it was discovered that it depends on new modules, some of which have no maintenance plan in place, e.g.: https://pypi.org/project/types-typed-ast/

That dependency has been dropped upstream as part of removing support for python 3.7 [1]. If there's other other problematic recipes, I think it'd be beneficial to have a type checker for python available.

1. https://github.com/python/mypy/commit/2edaf35ec1f91c139dfe1930b1b0d1e1cac59599

Quoted 89 lines

Since this is something we want to avoid adding to the ecosystem and mypy isn't a dependency for anything else in meta-python, remove the recipes.

---
v2 removes the recipes from the packagegroup as well.

 .../packagegroups/packagegroup-meta-python.bb |  2 --
 .../python/python3-mypy-extensions_0.4.3.bb   | 12 ----------
 .../python/python3-mypy_0.971.bb              | 23 -------------------
 3 files changed, 37 deletions(-)
 delete mode 100644 meta-python/recipes-devtools/python/python3-mypy-extensions_0.4.3.bb
 delete mode 100644 meta-python/recipes-devtools/python/python3-mypy_0.971.bb
meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb +0 -2
index b23d24c6d4..c12d475047 100644
@@ -245,8 +245,6 @@ RDEPENDS:packagegroup-meta-python3 = "\
     python3-msk \
     python3-msm \
     python3-multidict \
-    python3-mypy \
-    python3-mypy-extensions \
     python3-natsort \
     python3-netaddr \
     python3-netifaces \
meta-python/recipes-devtools/python/python3-mypy-extensions_0.4.3.bb deleted +0 -12
deleted file mode 100644
index 83ac5362d6..0000000000
@@ -1,12 +0,0 @@
-SUMMARY = "Experimental type system extensions for programs checked with the mypy typechecker"
-HOMEPAGE = "https://github.com/python/mypy_extensions"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=0fe3219e2470a78c0d1837019b8b426e"
-
-PYPI_PACKAGE = "mypy_extensions"
-
-inherit pypi setuptools3
-
-SRC_URI[sha256sum] = "2d82818f5bb3e369420cb3c4060a7970edba416647068eb4c5343488a6c604a8"
-
-BBCLASSEXTEND = "native"
meta-python/recipes-devtools/python/python3-mypy_0.971.bb deleted +0 -23
deleted file mode 100644
index 31fcb06c9e..0000000000
@@ -1,23 +0,0 @@
-SUMMARY = "Optional static typing for Python 3 and 2 (PEP 484)"
-HOMEPAGE = "https://github.com/python/mypy"
-LICENSE = "MIT & Python-2.0"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=6ba8ec528da02073b7e1f4124c0f836f"
-
-PYPI_PACKAGE = "mypy"
-
-inherit pypi python_setuptools_build_meta
-
-SRC_URI[sha256sum] = "40b0f21484238269ae6a57200c807d80debc6459d444c0489a102d7c6a75fa56"
-
-BBCLASSEXTEND = "native"
-
-RDEPENDS:${PN} += " \
-    ${PYTHON_PN}-mypy-extensions \
-    ${PYTHON_PN}-typed-ast \
-    ${PYTHON_PN}-typing-extensions \
-    ${PYTHON_PN}-json \
-    ${PYTHON_PN}-compression \
-    ${PYTHON_PN}-pprint \
-    ${PYTHON_PN}-difflib \
-    ${PYTHON_PN}-toml \
-"
Signature · 11 lines
2.41.0



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#103996): https://lists.openembedded.org/g/openembedded-devel/message/103996
Mute This Topic: https://lists.openembedded.org/mt/100333071/4454694
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Signature · 1 line
Justin Bronder

A message that is not in the archive (sent off-list or not yet received): [email protected]

#3 lore raw
Quoted 10 lines · Justin Bronder
Quoted 3 lines · Trevor Gamblin

While attempting to upgrade mypy and mypy-extensions, it was discovered that it depends on new modules, some of which have no maintenance plan in place, e.g.: https://pypi.org/project/types-typed-ast/

That dependency has been dropped upstream as part of removing support for python 3.7 [1]. If there's other other problematic recipes, I think it'd be beneficial to have a type checker for python available.

1. https://github.com/python/mypy/commit/2edaf35ec1f91c139dfe1930b1b0d1e1cac59599

1.5 looks like it'll be released soon. If there's interested in keeping mypy around, I'll volunteer to try to package it then.

https://github.com/python/mypy/issues/15588

Quoted 99 lines
Quoted 85 lines

Since this is something we want to avoid adding to the ecosystem and mypy isn't a dependency for anything else in meta-python, remove the recipes.

---
v2 removes the recipes from the packagegroup as well.

 .../packagegroups/packagegroup-meta-python.bb |  2 --
 .../python/python3-mypy-extensions_0.4.3.bb   | 12 ----------
 .../python/python3-mypy_0.971.bb              | 23 -------------------
 3 files changed, 37 deletions(-)
 delete mode 100644 meta-python/recipes-devtools/python/python3-mypy-extensions_0.4.3.bb
 delete mode 100644 meta-python/recipes-devtools/python/python3-mypy_0.971.bb
meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb +0 -2
index b23d24c6d4..c12d475047 100644
@@ -245,8 +245,6 @@ RDEPENDS:packagegroup-meta-python3 = "\
     python3-msk \
     python3-msm \
     python3-multidict \
-    python3-mypy \
-    python3-mypy-extensions \
     python3-natsort \
     python3-netaddr \
     python3-netifaces \
meta-python/recipes-devtools/python/python3-mypy-extensions_0.4.3.bb deleted +0 -12
deleted file mode 100644
index 83ac5362d6..0000000000
@@ -1,12 +0,0 @@
-SUMMARY = "Experimental type system extensions for programs checked with the mypy typechecker"
-HOMEPAGE = "https://github.com/python/mypy_extensions"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=0fe3219e2470a78c0d1837019b8b426e"
-
-PYPI_PACKAGE = "mypy_extensions"
-
-inherit pypi setuptools3
-
-SRC_URI[sha256sum] = "2d82818f5bb3e369420cb3c4060a7970edba416647068eb4c5343488a6c604a8"
-
-BBCLASSEXTEND = "native"
meta-python/recipes-devtools/python/python3-mypy_0.971.bb deleted +0 -23
deleted file mode 100644
index 31fcb06c9e..0000000000
@@ -1,23 +0,0 @@
-SUMMARY = "Optional static typing for Python 3 and 2 (PEP 484)"
-HOMEPAGE = "https://github.com/python/mypy"
-LICENSE = "MIT & Python-2.0"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=6ba8ec528da02073b7e1f4124c0f836f"
-
-PYPI_PACKAGE = "mypy"
-
-inherit pypi python_setuptools_build_meta
-
-SRC_URI[sha256sum] = "40b0f21484238269ae6a57200c807d80debc6459d444c0489a102d7c6a75fa56"
-
-BBCLASSEXTEND = "native"
-
-RDEPENDS:${PN} += " \
-    ${PYTHON_PN}-mypy-extensions \
-    ${PYTHON_PN}-typed-ast \
-    ${PYTHON_PN}-typing-extensions \
-    ${PYTHON_PN}-json \
-    ${PYTHON_PN}-compression \
-    ${PYTHON_PN}-pprint \
-    ${PYTHON_PN}-difflib \
-    ${PYTHON_PN}-toml \
-"
Signature · 1 line
2.41.0
Signature · 10 lines
Justin Bronder


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#104000): https://lists.openembedded.org/g/openembedded-devel/message/104000
Mute This Topic: https://lists.openembedded.org/mt/100336187/4454694
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Signature · 1 line
Justin Bronder
#4 lore raw
Quoted 12 lines · Justin Bronder
Quoted 6 lines · Justin Bronder
Quoted 3 lines · Trevor Gamblin

While attempting to upgrade mypy and mypy-extensions, it was discovered that it depends on new modules, some of which have no maintenance plan in place, e.g.: https://pypi.org/project/types-typed-ast/

That dependency has been dropped upstream as part of removing support

for python

Quoted 1 line

3.7 [1]. If there's other other problematic recipes, I think it'd be

beneficial

Quoted 2 lines

to have a type checker for python available.

Quoted 9 lines
Quoted 1 line

1.

https://github.com/python/mypy/commit/2edaf35ec1f91c139dfe1930b1b0d1e1cac59599

1.5 looks like it'll be released soon. If there's interested in keeping mypy
around, I'll volunteer to try to package it then.

https://github.com/python/mypy/issues/15588

That’s much appreciated. We can hold off on the deletion then. Plenty of whack-a-mole to go yet.

Quoted 125 lines
Quoted 7 lines
Quoted 7 lines

Since this is something we want to avoid adding to the ecosystem and mypy isn't a dependency for anything else in meta-python, remove the recipes.

Quoted 7 lines
Quoted 7 lines

---
v2 removes the recipes from the packagegroup as well.

 .../packagegroups/packagegroup-meta-python.bb |  2 --
 .../python/python3-mypy-extensions_0.4.3.bb   | 12 ----------
 .../python/python3-mypy_0.971.bb              | 23

-------------------

Quoted 2 lines
Quoted 2 lines
 3 files changed, 37 deletions(-)
 delete mode 100644 meta-python/recipes-devtools/python/

python3-mypy-extensions_0.4.3.bb

Quoted 1 line
Quoted 1 line
 delete mode 100644 meta-python/recipes-devtools/python/

python3-mypy_0.971.bb

Quoted 2 lines

Review

Quoted 2 lines
(quoted diff) +0 -0

packagegroup-meta-python.bb b/meta-python/recipes-core/packagegroups/ packagegroup-meta-python.bb

Quoted 2 lines
Quoted 2 lines

index b23d24c6d4..c12d475047 100644
--- a/meta-python/recipes-core/packagegroups/

packagegroup-meta-python.bb

Quoted 1 line
Quoted 1 line

+++ b/meta-python/recipes-core/packagegroups/

packagegroup-meta-python.bb

Quoted 10 lines

Review

Quoted 10 lines
meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb +0 -2
@@ -245,8 +245,6 @@ RDEPENDS:packagegroup-meta-python3 = "\
     python3-msk \
     python3-msm \
     python3-multidict \
-    python3-mypy \
-    python3-mypy-extensions \
     python3-natsort \
     python3-netaddr \
     python3-netifaces \
(quoted diff) +0 -0

python3-mypy-extensions_0.4.3.bb b/meta-python/recipes-devtools/python/ python3-mypy-extensions_0.4.3.bb

Quoted 3 lines
Quoted 3 lines

deleted file mode 100644
index 83ac5362d6..0000000000
--- a/meta-python/recipes-devtools/python/

python3-mypy-extensions_0.4.3.bb

Quoted 3 lines

Review line 1

Quoted 3 lines

+++ /dev/null

(quoted diff) +0 -1
@@ -1,12 +0,0 @@
-SUMMARY = "Experimental type system extensions for programs checked

with the mypy typechecker"

Quoted 3 lines

meta-python/recipes-devtools/python/python3-mypy-extensions_0.4.3.bb

Quoted 3 lines
meta-python/recipes-devtools/python/python3-mypy-extensions_0.4.3.bb deleted +0 -3
-HOMEPAGE = "https://github.com/python/mypy_extensions"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM =

"file://LICENSE;md5=0fe3219e2470a78c0d1837019b8b426e"

Quoted 6 lines

meta-python/recipes-devtools/python/python3-mypy-extensions_0.4.3.bb

Quoted 6 lines
meta-python/recipes-devtools/python/python3-mypy-extensions_0.4.3.bb deleted +0 -6
-
-PYPI_PACKAGE = "mypy_extensions"
-
-inherit pypi setuptools3
-
-SRC_URI[sha256sum] =

"2d82818f5bb3e369420cb3c4060a7970edba416647068eb4c5343488a6c604a8"

Quoted 3 lines

Review

Quoted 3 lines
(quoted diff) +0 -2
-
-BBCLASSEXTEND = "native"
(quoted diff) +0 -0

b/meta-python/recipes-devtools/python/python3-mypy_0.971.bb

Quoted 9 lines

meta-python/recipes-devtools/python/python3-mypy_0.971.bb line 4

Quoted 9 lines

deleted file mode 100644
index 31fcb06c9e..0000000000

meta-python/recipes-devtools/python/python3-mypy_0.971.bb deleted +0 -4
@@ -1,23 +0,0 @@
-SUMMARY = "Optional static typing for Python 3 and 2 (PEP 484)"
-HOMEPAGE = "https://github.com/python/mypy"
-LICENSE = "MIT & Python-2.0"
-LIC_FILES_CHKSUM =

"file://LICENSE;md5=6ba8ec528da02073b7e1f4124c0f836f"

Quoted 6 lines

meta-python/recipes-devtools/python/python3-mypy_0.971.bb

Quoted 6 lines
meta-python/recipes-devtools/python/python3-mypy_0.971.bb deleted +0 -6
-
-PYPI_PACKAGE = "mypy"
-
-inherit pypi python_setuptools_build_meta
-
-SRC_URI[sha256sum] =

"40b0f21484238269ae6a57200c807d80debc6459d444c0489a102d7c6a75fa56"

Quoted 22 lines
Quoted 14 lines
meta-python/recipes-devtools/python/python3-mypy_0.971.bb deleted +0 -14
-
-BBCLASSEXTEND = "native"
-
-RDEPENDS:${PN} += " \
-    ${PYTHON_PN}-mypy-extensions \
-    ${PYTHON_PN}-typed-ast \
-    ${PYTHON_PN}-typing-extensions \
-    ${PYTHON_PN}-json \
-    ${PYTHON_PN}-compression \
-    ${PYTHON_PN}-pprint \
-    ${PYTHON_PN}-difflib \
-    ${PYTHON_PN}-toml \
-"
--
Quoted 6 lines

2.41.0

Quoted 6 lines

--
Justin Bronder

--
Justin Bronder

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