All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tim Orling <ticotimo@gmail.com>
To: Khem Raj <raj.khem@gmail.com>
Cc: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: [OE-core] [PATCH v2 32/32] python3-nose: drop recipe
Date: Tue, 22 Feb 2022 14:33:45 -0800	[thread overview]
Message-ID: <CANx9H-Bq+s-PfsDJvTgpznL4uFaQf_z1jR5NPH+X4MR0Mj3zZA@mail.gmail.com> (raw)
In-Reply-To: <CAMKF1soENmAx+JC4A7Jvdg2nrRaA0YmEsFWyg4Z+9Aj8V4SuSg@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 4721 bytes --]

On Tue, Feb 22, 2022 at 2:24 PM Khem Raj <raj.khem@gmail.com> wrote:

> there are packages in meta-python which still need it
>
>   meta-networking/recipes-connectivity/netplan/netplan_0.103.bb:
> RDEPENDS:${PN}
> = "python3 python3-core python3-pyyaml python3-netifaces python3-nos
> e python3-coverage python3-pycodestyle python3-pyflakes
> util-linux-libuuid libnetplan"
>   meta-python/recipes-devtools/python/python3-anyjson_0.3.3.bb:
> ${PYTHON_PN}-nose \
>   meta-python/recipes-devtools/python/python3-blinker_1.4.bb:
> ${PYTHON_PN}-nose \
>   meta-python/recipes-devtools/python/python3-oauthlib_3.2.0.bb:
> PACKAGECONFIG[test]
> = ",,,${PYTHON_PN}-blinker ${PYTHON_PN}-cryptography ${PYTHON_P
> N}-nose ${PYTHON_PN}-pyjwt"
>
> I wonder if these recipes can either be also removed or made free of
> nose module.
>
>
I am thinking the same thing. While we could probably run 2to3 on the nose
plugins
that are the legacy python2 code, I would rather do the right thing.

In some cases, pytest can be a drop in replacement for nosetests, but not
always.

If anyone has any other ideas, please chime in. I am all ears.

On Mon, Feb 21, 2022 at 1:25 PM Tim Orling <ticotimo@gmail.com> wrote:
> >
> > The code has not been touched since 2016 and numerous files still have
> > Python2 syntax code in them. This causes do_compile errors when
> > packaging a wheel (PEP-517 packaging).
> >
> > Nothing in oe-core depends on python3-nose.
> >
> > [YOCTO #14638]
> >
> > Signed-off-by: Tim Orling <tim.orling@konsulko.com>
> > ---
> >  meta/conf/distro/include/maintainers.inc       |  1 -
> >  meta/recipes-devtools/python/python-nose.inc   | 18 ------------------
> >  .../python/python3-nose_1.3.7.bb               |  2 --
> >  3 files changed, 21 deletions(-)
> >  delete mode 100644 meta/recipes-devtools/python/python-nose.inc
> >  delete mode 100644 meta/recipes-devtools/python/python3-nose_1.3.7.bb
> >
> > diff --git a/meta/conf/distro/include/maintainers.inc
> b/meta/conf/distro/include/maintainers.inc
> > index 7a65612b7c6..333685cd8b8 100644
> > --- a/meta/conf/distro/include/maintainers.inc
> > +++ b/meta/conf/distro/include/maintainers.inc
> > @@ -616,7 +616,6 @@ RECIPE_MAINTAINER:pn-python3-mako = "Oleksandr
> Kravchuk <open.source@oleksandr-k
> >  RECIPE_MAINTAINER:pn-python3-markdown = "Alexander Kanavin <
> alex.kanavin@gmail.com>"
> >  RECIPE_MAINTAINER:pn-python3-markupsafe = "Richard Purdie <
> richard.purdie@linuxfoundation.org>"
> >  RECIPE_MAINTAINER:pn-python3-more-itertools = "Tim Orling <
> tim.orling@konsulko.com>"
> > -RECIPE_MAINTAINER:pn-python3-nose = "Oleksandr Kravchuk <
> open.source@oleksandr-kravchuk.com>"
> >  RECIPE_MAINTAINER:pn-python3-numpy = "Oleksandr Kravchuk <
> open.source@oleksandr-kravchuk.com>"
> >  RECIPE_MAINTAINER:pn-python3-packaging = "Tim Orling <
> tim.orling@konsulko.com>"
> >  RECIPE_MAINTAINER:pn-python3-pathlib2 = "Tim Orling <
> tim.orling@konsulko.com>"
> > diff --git a/meta/recipes-devtools/python/python-nose.inc
> b/meta/recipes-devtools/python/python-nose.inc
> > deleted file mode 100644
> > index 08c380d637c..00000000000
> > --- a/meta/recipes-devtools/python/python-nose.inc
> > +++ /dev/null
> > @@ -1,18 +0,0 @@
> > -SUMMARY = "Extends Python unittest to make testing easier"
> > -HOMEPAGE = "http://readthedocs.org/docs/nose/"
> > -DESCRIPTION = "nose extends the test loading and running features of
> unittest, \
> > -making it easier to write, find and run tests."
> > -SECTION = "devel/python"
> > -LICENSE = "LGPL-2.1-only"
> > -LIC_FILES_CHKSUM =
> "file://lgpl.txt;md5=a6f89e2100d9b6cdffcea4f398e37343"
> > -
> > -SRC_URI[md5sum] = "4d3ad0ff07b61373d2cefc89c5d0b20b"
> > -SRC_URI[sha256sum] =
> "f1bffef9cbc82628f6e7d7b40d7e255aefaa1adb6a1b1d26c69a8b79e6208a98"
> > -
> > -inherit pypi
> > -
> > -RDEPENDS:${PN} = "\
> > -  ${PYTHON_PN}-unittest \
> > -  "
> > -
> > -BBCLASSEXTEND = "native nativesdk"
> > diff --git a/meta/recipes-devtools/python/python3-nose_1.3.7.bb
> b/meta/recipes-devtools/python/python3-nose_1.3.7.bb
> > deleted file mode 100644
> > index 13dbf96179a..00000000000
> > --- a/meta/recipes-devtools/python/python3-nose_1.3.7.bb
> > +++ /dev/null
> > @@ -1,2 +0,0 @@
> > -inherit setuptools3
> > -require python-nose.inc
> > --
> > 2.30.2
> >
> >
> > -=-=-=-=-=-=-=-=-=-=-=-
> > Links: You receive all messages sent to this group.
> > View/Reply Online (#162108):
> https://lists.openembedded.org/g/openembedded-core/message/162108
> > Mute This Topic: https://lists.openembedded.org/mt/89304054/1997914
> > Group Owner: openembedded-core+owner@lists.openembedded.org
> > Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [
> raj.khem@gmail.com]
> > -=-=-=-=-=-=-=-=-=-=-=-
> >
>

[-- Attachment #2: Type: text/html, Size: 7646 bytes --]

  reply	other threads:[~2022-02-22 22:34 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-21 21:23 [PATCH v2 00/32] Python PEP-517: build wheels and install with pip Tim Orling
2022-02-21 21:23 ` [PATCH v2 01/32] python3-wheel: move 0.37.0 from meta-python Tim Orling
2022-02-23 16:01   ` [OE-core] " Khem Raj
2022-02-23 17:01     ` Tim Orling
2022-02-21 21:23 ` [PATCH v2 02/32] python3-flit-core: add recipe for 3.6.0 Tim Orling
2022-02-21 21:23 ` [PATCH v2 03/32] flit_core.bbclass: add helper for newer python packaging Tim Orling
2022-02-21 21:23 ` [PATCH v2 04/32] python3-wheel: inherit flit_core Tim Orling
2022-02-21 21:23 ` [PATCH v2 05/32] pip_install_wheel.bbclass: add helper class Tim Orling
2022-02-21 21:23 ` [PATCH v2 06/32] setuptools_build_meta.bbclass: " Tim Orling
2022-02-21 21:23 ` [PATCH v2 07/32] python3-pip: inherit setuptools_build_meta Tim Orling
2022-02-21 21:23 ` [PATCH v2 08/32] python3-attrs: " Tim Orling
2022-02-21 21:23 ` [PATCH v2 09/32] python3-git: " Tim Orling
2022-02-21 21:23 ` [PATCH v2 10/32] python3-pytest: " Tim Orling
2022-02-21 21:23 ` [PATCH v2 11/32] python3-setuptools-scm: " Tim Orling
2022-02-21 21:23 ` [PATCH v2 12/32] python3-zipp: " Tim Orling
2022-02-21 21:23 ` [PATCH v2 13/32] python3-iniconfig: " Tim Orling
2022-02-21 21:23 ` [PATCH v2 14/32] python3-py: " Tim Orling
2022-02-21 21:23 ` [PATCH v2 15/32] python3-pluggy: " Tim Orling
2022-02-21 21:23 ` [PATCH v2 16/32] python3-setuptools: inherit setuptools_base_meta Tim Orling
2022-02-21 21:23 ` [PATCH v2 17/32] setuptools3.bbclass: refactor for wheels Tim Orling
2022-02-21 21:23 ` [PATCH v2 18/32] python3-more-itertools: set PIP_INSTALL_PACKAGE Tim Orling
2022-02-21 21:23 ` [PATCH v2 19/32] meson: inherit setuptools_build_meta Tim Orling
2022-02-22  6:55   ` [OE-core] " Oleksiy Obitotskyi -X (oobitots - GLOBALLOGIC INC at Cisco)
2022-02-21 21:23 ` [PATCH v2 20/32] python3-libarchive-d: set PIP_INSTALL_PACKAGE Tim Orling
2022-02-21 21:23 ` [PATCH v2 21/32] python3-smartypants: patch hash bang to python3 Tim Orling
2022-02-21 21:23 ` [PATCH v2 22/32] python3-scons: merge -native recipe Tim Orling
2022-02-21 21:23 ` [PATCH v2 23/32] python3-subunit: merge inc; set PIP_INSTALL_PACKAGE Tim Orling
2022-02-21 21:23 ` [PATCH v2 24/32] python3-magic: " Tim Orling
2022-02-21 21:23 ` [PATCH v2 25/32] bmap-tools: set PIP_INSTALL_PACKAGE, BASEVER Tim Orling
2022-02-21 21:23 ` [PATCH v2 26/32] asciidoc: set PIP_INSTALL_PACKAGE Tim Orling
2022-02-21 21:23 ` [PATCH v2 27/32] gi-docgen: " Tim Orling
2022-02-21 21:23 ` [PATCH v2 28/32] numpy: " Tim Orling
2022-02-21 21:23 ` [PATCH v2 29/32] python3-dbusmock: " Tim Orling
2022-02-21 21:23 ` [PATCH v2 30/32] python3-mako: inherit setuptools_build_meta Tim Orling
2022-02-21 21:23 ` [PATCH v2 31/32] python3-packaging: " Tim Orling
2022-02-21 21:23 ` [PATCH v2 32/32] python3-nose: drop recipe Tim Orling
2022-02-22 22:24   ` [OE-core] " Khem Raj
2022-02-22 22:33     ` Tim Orling [this message]
2022-02-22 17:22 ` [OE-core] [PATCH v2 00/32] Python PEP-517: build wheels and install with pip Khem Raj
2022-02-22 18:21   ` Tim Orling
2022-02-22 18:23     ` Khem Raj
2022-02-22 18:39       ` Tim Orling
2022-02-22 18:43         ` Tim Orling
2022-02-22 19:18         ` Khem Raj
2022-02-22 19:22           ` Tim Orling
2022-02-24  4:06             ` Khem Raj
2022-02-24  4:50               ` Tim Orling
     [not found]               ` <16D69FA5F268A6BB.31711@lists.openembedded.org>
2022-02-24  5:42                 ` 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=CANx9H-Bq+s-PfsDJvTgpznL4uFaQf_z1jR5NPH+X4MR0Mj3zZA@mail.gmail.com \
    --to=ticotimo@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=raj.khem@gmail.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.