Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #14366

Proposed MBF: packages still using nose

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Dmitry Shachnev <mitya57@debian.org>
Newsgroups linux.debian.devel, linux.debian.maint.python
Subject Proposed MBF: packages still using nose
Date Sun, 21 Aug 2022 15:10:01 +0200
Message-ID <EWSSd-24D9-1@gated-at.bofh.it> (permalink)
X-Mailbox-Line From debian-devel-request@lists.debian.org Sun Aug 21 13:05:11 2022
Old-Return-Path <mitya57@gmail.com>
X-Amavis-Spam-Status No, score=-4.72 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, BODY_8BITS=1.5, DIGITS_LETTERS=1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, FVGT_m_MULTI_ODD=0.02, GMAIL=1, HEADER_FROM_DIFFERENT_DOMAINS=0.25, LDO_WHITELIST=-5, MEDS2=2, MURPHY_DRUGS_REL8=0.02, PGPSIGNATURE=-5, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, WORD_WITHOUT_VOWELS=1] autolearn=ham autolearn_force=no
X-Policyd-Weight NOT_IN_SBL_XBL_SPAMHAUS=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .gmail. - helo: .mail-lf1-f52.google. - helo-domain: .google.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -5.5
X-Gm-Message-State ACgBeo3J4ID/cXK9YrD7XqwPKnBXIrZN6PF+5wMXoGxA/rQSbcZMdbls 5hifaEvVx2c5rbR7nlZdKypYMu2r+WsiXw==
X-Google-SMTP-Source AA6agR70Zktezti7faE/T61vKWLcJnoeNuxAa4tJ7V+01Aui9yCrawaZHoyEi6qsXjX/xKuGCRUoiw==
X-Received by 2002:a05:6512:4017:b0:492:d92c:a156 with SMTP id br23-20020a056512401700b00492d92ca156mr2354669lfb.519.1661087082949; Sun, 21 Aug 2022 06:04:42 -0700 (PDT)
MIME-Version 1.0
Content-Type multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="aiHVtFSZtof3Xweo"
Content-Disposition inline
X-Mailing-List <debian-devel@lists.debian.org> archive/latest/353174
List-ID <debian-devel.lists.debian.org>
List-URL <https://lists.debian.org/debian-devel/>
List-Archive https://lists.debian.org/msgid-search/YwItZCbz6Uw1g7Cz@mitya57.me
Approved robomod@news.nic.it
Lines 1431
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Cc debian-python@lists.debian.org
X-Original-Date Sun, 21 Aug 2022 16:04:36 +0300
X-Original-Message-ID <YwItZCbz6Uw1g7Cz@mitya57.me>
Xref csiph.com linux.debian.devel:105393 linux.debian.maint.python:14366

Cross-posted to 2 groups.

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi,

nose [1] is a testing framework for Python, which is dead and unmaintained
since 2015 [2][3].

The former maintainer of nose recommends projects using nose to switch to
nose2 [4], pytest [5] or unittest from Python standard library [6]. There is
a script called nose2pytest [7] which can assist with migrating from nose to
pytest.

nose has a Python 2 code base and it is difficult to keep it in working state
for new Python versions. It will probably become impossible after Python 3.13,
where lib2to3 will be removed [8].

In Debian sid, we still have 389 packages which either build-depend on nose or
use it in autopkgtests. I propose to file bugs for them asking to switch to a
supported alternative. A dd-list is attached.

[1]: https://tracker.debian.org/pkg/nose
[2]: https://github.com/nose-devs/nose/commit/0f40fa995384afad
[3]: https://pypi.org/project/nose/#history
[4]: https://docs.nose2.io/en/latest/
[5]: https://docs.pytest.org/en/latest/
[6]: https://docs.python.org/3/library/unittest.html
[7]: https://github.com/pytest-dev/nose2pytest
[8]: https://docs.python.org/3/library/2to3.html#module-lib2to3

--
Dmitry Shachnev

Back to linux.debian.maint.python | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Proposed MBF: packages still using nose Dmitry Shachnev <mitya57@debian.org> - 2022-08-21 15:10 +0200
  Re: Proposed MBF: packages still using nose Samuel Thibault <sthibault@debian.org> - 2022-08-21 15:20 +0200
    Re: Proposed MBF: packages still using nose Dmitry Shachnev <mitya57@debian.org> - 2022-08-21 15:20 +0200
      Re: Proposed MBF: packages still using nose Samuel Thibault <sthibault@debian.org> - 2022-08-21 15:40 +0200
  Re: Proposed MBF: packages still using nose Stefano Rivera <stefanor@debian.org> - 2022-08-21 20:20 +0200
  Re: Proposed MBF: packages still using nose Neil Williams <codehelp@debian.org> - 2022-08-22 09:00 +0200
  Re: Proposed MBF: packages still using nose Antonio Terceiro <terceiro@debian.org> - 2022-08-22 13:10 +0200
  Re: Proposed MBF: packages still using nose Andrey Rahmatullin <wrar@debian.org> - 2022-08-25 20:20 +0200
  Re: Proposed MBF: packages still using nose Jakub Wilk <jwilk@jwilk.net> - 2022-08-26 13:40 +0200
  Re: Proposed MBF: packages still using nose Dmitry Shachnev <mitya57@debian.org> - 2022-08-29 14:40 +0200

csiph-web