From: Justin Bronder <jsbronder@cold-front.org>
To: openembedded-devel@lists.openembedded.org
Subject: Re: python3-mypy, python3-mypy-extensions: remove
Date: Mon, 24 Jul 2023 15:18:45 -0400 [thread overview]
Message-ID: <ZL7OlSuXlyCH/bPK@ravine.members.linode.com> (raw)
In-Reply-To: <20230724165848.3294-1-tgamblin@baylibre.com>
On 24/07/23 12:58 -0400, Trevor Gamblin wrote:
> 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
>
> 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.
>
> Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
> ---
> 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
>
> diff --git a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
> index b23d24c6d4..c12d475047 100644
> --- a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
> +++ b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
> @@ -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 \
> diff --git a/meta-python/recipes-devtools/python/python3-mypy-extensions_0.4.3.bb b/meta-python/recipes-devtools/python/python3-mypy-extensions_0.4.3.bb
> deleted file mode 100644
> index 83ac5362d6..0000000000
> --- a/meta-python/recipes-devtools/python/python3-mypy-extensions_0.4.3.bb
> +++ /dev/null
> @@ -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"
> diff --git a/meta-python/recipes-devtools/python/python3-mypy_0.971.bb b/meta-python/recipes-devtools/python/python3-mypy_0.971.bb
> deleted file mode 100644
> index 31fcb06c9e..0000000000
> --- a/meta-python/recipes-devtools/python/python3-mypy_0.971.bb
> +++ /dev/null
> @@ -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 \
> -"
> --
> 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: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [jsbronder@cold-front.org]
> -=-=-=-=-=-=-=-=-=-=-=-
>
--
Justin Bronder
next prev parent reply other threads:[~2023-07-24 19:18 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-24 16:58 [meta-python][PATCH v2] python3-mypy, python3-mypy-extensions: remove Trevor Gamblin
2023-07-24 19:18 ` Justin Bronder [this message]
[not found] ` <1774E3E404BBDB64.23395@lists.openembedded.org>
2023-07-24 19:30 ` Justin Bronder
2023-07-24 19:47 ` [oe] " Tim Orling
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ZL7OlSuXlyCH/bPK@ravine.members.linode.com \
--to=jsbronder@cold-front.org \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox