Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #14366 > unrolled thread
| Started by | Dmitry Shachnev <mitya57@debian.org> |
|---|---|
| First post | 2022-08-21 15:10 +0200 |
| Last post | 2022-08-29 14:40 +0200 |
| Articles | 10 — 7 participants |
Back to article view | Back to linux.debian.maint.python
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
| From | Dmitry Shachnev <mitya57@debian.org> |
|---|---|
| Date | 2022-08-21 15:10 +0200 |
| Subject | Proposed MBF: packages still using nose |
| Message-ID | <EWSSd-24D9-1@gated-at.bofh.it> |
[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
[toc] | [next] | [standalone]
| From | Samuel Thibault <sthibault@debian.org> |
|---|---|
| Date | 2022-08-21 15:20 +0200 |
| Message-ID | <EWT1T-24Gf-15@gated-at.bofh.it> |
| In reply to | #14366 |
Hello, Dmitry Shachnev, le dim. 21 août 2022 16:04:36 +0300, a ecrit: > Samuel Thibault <sthibault@debian.org> > dogtail ? it's using python3-nose2, not python-nose. Samuel
[toc] | [prev] | [next] | [standalone]
| From | Dmitry Shachnev <mitya57@debian.org> |
|---|---|
| Date | 2022-08-21 15:20 +0200 |
| Message-ID | <EWT1T-24Gf-17@gated-at.bofh.it> |
| In reply to | #14367 |
[Multipart message — attachments visible in raw view] — view raw
Hi Samuel! On Sun, Aug 21, 2022 at 03:11:59PM +0200, Samuel Thibault wrote: > Hello, > > Dmitry Shachnev, le dim. 21 août 2022 16:04:36 +0300, a ecrit: > > Samuel Thibault <sthibault@debian.org> > > dogtail > > ? it's using python3-nose2, not python-nose. debian/tests/control uses python3-nose: https://sources.debian.org/src/dogtail/0.9.11-10/debian/tests/control/#L3 -- Dmitry Shachnev
[toc] | [prev] | [next] | [standalone]
| From | Samuel Thibault <sthibault@debian.org> |
|---|---|
| Date | 2022-08-21 15:40 +0200 |
| Message-ID | <EWTlf-24Mr-5@gated-at.bofh.it> |
| In reply to | #14368 |
Dmitry Shachnev, le dim. 21 août 2022 16:18:53 +0300, a ecrit: > On Sun, Aug 21, 2022 at 03:11:59PM +0200, Samuel Thibault wrote: > > Hello, > > > > Dmitry Shachnev, le dim. 21 août 2022 16:04:36 +0300, a ecrit: > > > Samuel Thibault <sthibault@debian.org> > > > dogtail > > > > ? it's using python3-nose2, not python-nose. > > debian/tests/control uses python3-nose: > > https://sources.debian.org/src/dogtail/0.9.11-10/debian/tests/control/#L3 Oh, right, missing update there, thanks :) Samuel
[toc] | [prev] | [next] | [standalone]
| From | Stefano Rivera <stefanor@debian.org> |
|---|---|
| Date | 2022-08-21 20:20 +0200 |
| Message-ID | <EWXId-27u5-9@gated-at.bofh.it> |
| In reply to | #14366 |
Hi Dmitry (2022.08.21_13:04:36_+0000) > Stefano Rivera <stefanor@debian.org> > dh-python (U) Fixed in git. SR -- Stefano Rivera http://tumbleweed.org.za/ +1 415 683 3272
[toc] | [prev] | [next] | [standalone]
| From | Neil Williams <codehelp@debian.org> |
|---|---|
| Date | 2022-08-22 09:00 +0200 |
| Message-ID | <EX9zH-2f1h-1@gated-at.bofh.it> |
| In reply to | #14366 |
[Multipart message — attachments visible in raw view] — view raw
On Sun, 21 Aug 2022 16:04:36 +0300 Dmitry Shachnev <mitya57@debian.org> wrote: > 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. xraylarch (U) Fixed in git. -- Neil Williams ============= https://linux.codehelp.co.uk/
[toc] | [prev] | [next] | [standalone]
| From | Antonio Terceiro <terceiro@debian.org> |
|---|---|
| Date | 2022-08-22 13:10 +0200 |
| Message-ID | <EXdtD-2hvI-11@gated-at.bofh.it> |
| In reply to | #14366 |
[Multipart message — attachments visible in raw view] — view raw
On Sun, Aug 21, 2022 at 04:04:36PM +0300, Dmitry Shachnev wrote: > Antonio Terceiro <terceiro@debian.org> > python-ofxclient (U) > rows (U) can't fix those right away, but I think you should just go ahead and do the MBF.
[toc] | [prev] | [next] | [standalone]
| From | Andrey Rahmatullin <wrar@debian.org> |
|---|---|
| Date | 2022-08-25 20:20 +0200 |
| Message-ID | <EYpCp-31Wu-9@gated-at.bofh.it> |
| In reply to | #14366 |
[Multipart message — attachments visible in raw view] — view raw
On Sun, Aug 21, 2022 at 04:04:36PM +0300, Dmitry Shachnev wrote: > Andrey Rahmatullin <wrar@debian.org> > dateparser (U) Fixing this now, thanks! Note that in this case nose usage was removed some time ago but the deps remained, some other packages may be similarly trivial to fix. -- WBR, wRAR
[toc] | [prev] | [next] | [standalone]
| From | Jakub Wilk <jwilk@jwilk.net> |
|---|---|
| Date | 2022-08-26 13:40 +0200 |
| Message-ID | <EYFQR-3c71-3@gated-at.bofh.it> |
| In reply to | #14366 |
> anorack Fixed upstream in 0.2.8. > mwic Fixed upstream in 0.7.9. > python-djvulibre Fixed upstream in 0.8.7. This one should probably be removed, though: there are no rev-deps, it's orphaned in Debian, and it's likely to be orphaned upstream soon too. -- Jakub Wilk
[toc] | [prev] | [next] | [standalone]
| From | Dmitry Shachnev <mitya57@debian.org> |
|---|---|
| Date | 2022-08-29 14:40 +0200 |
| Message-ID | <EZMdA-3Svs-1@gated-at.bofh.it> |
| In reply to | #14366 |
[Multipart message — attachments visible in raw view] — view raw
On Sun, Aug 21, 2022 at 04:04:36PM +0300, Dmitry Shachnev wrote: > 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. Thanks to everyone who replied! MBF is now done and bugs can be seen here: https://bugs.debian.org/cgi-bin/pkgreport.cgi?users=python-modules-team@lists.alioth.debian.org;tag=nose-rm -- Dmitry Shachnev
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.maint.python
csiph-web