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


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

Proposed MBF: packages still using nose

From Dmitry Shachnev <mitya57@debian.org>
Newsgroups linux.debian.devel, linux.debian.maint.python
Subject Proposed MBF: packages still using nose
Date 2022-08-21 15:10 +0200
Message-ID <EWSSd-24D9-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | 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