Re: Proposed MBF: packages still using nose

2022-08-29 Thread Dmitry Shachnev
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-t...@lists.alioth.debian.org;tag=nose-rm

--
Dmitry Shachnev


signature.asc
Description: PGP signature


Re: Proposed MBF: packages still using nose

2022-08-26 Thread Jakub Wilk

  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



Re: Proposed MBF: packages still using nose

2022-08-25 Thread Andrey Rahmatullin
On Sun, Aug 21, 2022 at 04:04:36PM +0300, Dmitry Shachnev wrote:
> Andrey Rahmatullin 
>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


signature.asc
Description: PGP signature


Re: Proposed MBF: packages still using nose

2022-08-22 Thread Antonio Terceiro
On Sun, Aug 21, 2022 at 04:04:36PM +0300, Dmitry Shachnev wrote:
> Antonio Terceiro 
>python-ofxclient (U)
>rows (U)

can't fix those right away, but I think you should just go ahead and do
the MBF.


signature.asc
Description: PGP signature


Re: Proposed MBF: packages still using nose

2022-08-21 Thread Neil Williams
On Sun, 21 Aug 2022 16:04:36 +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.

   xraylarch (U)

Fixed in git.

-- 
Neil Williams
=
https://linux.codehelp.co.uk/


pgpQG2Ls59DSX.pgp
Description: OpenPGP digital signature


Re: Proposed MBF: packages still using nose

2022-08-21 Thread Stefano Rivera
Hi Dmitry (2022.08.21_13:04:36_+)
> Stefano Rivera 
>dh-python (U)

Fixed in git.

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  +1 415 683 3272



Re: Proposed MBF: packages still using nose

2022-08-21 Thread Samuel Thibault
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 
> > >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



Re: Proposed MBF: packages still using nose

2022-08-21 Thread Dmitry Shachnev
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 
> >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


signature.asc
Description: PGP signature


Re: Proposed MBF: packages still using nose

2022-08-21 Thread Samuel Thibault
Hello,

Dmitry Shachnev, le dim. 21 août 2022 16:04:36 +0300, a ecrit:
> Samuel Thibault 
>dogtail

? it's using python3-nose2, not python-nose.

Samuel



Proposed MBF: packages still using nose

2022-08-21 Thread Dmitry Shachnev
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
Adrian Vondendriesch 
   flask-mongoengine (U)

Adrien Vergé 
   yamllint (U)

Afif Elghraoui 
   falcon (U)
   optlang (U)
   swiglpk (U)

Aggelos Avgerinos 
   imbalanced-learn (U)
   py-radix (U)

Agustin Henze 
   webassets

Aigars Mahinovs 
   isbnlib
   python-dlt
   python-zipstream

Alastair McKinstry 
   metaconfig

Alexandre Viau 
   influxdb-python (U)

Alvin Chen 
   requirement-parser

Ana Custura 
   namecheap
   python-cymruwhois
   tldextract
   yapf

Andreas Beckmann 
   piuparts (U)

Andreas Metzler 
   libvigraimpex (U)

Andreas Tille 
   fastaq (U)
   iva (U)
   paleomix (U)
   python-biom-format (U)
   python-nose-random (U)
   python-pbcore (U)
   python-pyani (U)
   python-pymummer (U)
   python-pynndescent (U)
   pyutilib (U)
   qiime (U)
   scoary (U)
   umap-learn (U)
   youtube-dl

Andrej Shadura 
   docker-compose (U)
   netplan.io (U)
   sortedcontainers (U)

Andrew Chadwick 
   mypaint (U)

Andrew Starr-Bochicchio 
   fabric (U)
   pyxdg (U)

Andrey Rahmatullin 
   dateparser (U)

Andrius Merkys 
   xraylarch (U)

anonym 
   onionshare (U)

Antoine Beaupré 
   dateparser (U)
   python-invoke (U)

Antoine Musso 
   python-statsd (U)
   voluptuous (U)

Antonio Terceiro 
   python-ofxclient (U)
   rows (U)

Antonio Valentino 
   pysph (U)
   python-hdf4 (U)

Apollon Oikonomopoulos 
   ripe-atlas-cousteau (U)
   ripe-atlas-sagan (U)
   ripe-atlas-tools

Arno Töll 
   dput-ng (U)

Arthur de Jong 
   python-pskc
   python-stdnum

Arto Jantunen 
   python-inflect (U)

Bas Couwenberg 
   python-mapnik (U)
   python-stetl (U)

Bdale Garbee 
   rocketcea

Ben Finney 
   python-lockfile

Benda Xu 
   vitables (U)

Benjamin Drung 
   python-redmine

Benjamin Drung 
   modernize (U)
   python-ipmi (U)

Bernd Zeimetz 
   flask-wtf (U)

Brian May 
   celery (U)
   django-nose (U)
   python-passlib (U)

BW Keller 
   yt (U)

Carl Chenet 
   python-memcache (U)

Carlos Maddela 
   rmlint

Carsten Schoenert 
   kicad (U)
   kopano-webapp (U)
   kopanocore (U)

ChangZhuo Chen (陳昌倬) 
   dodgy (U)
   prospector (U)
   python-requirements-detector (U)
   python-setoptconf (U)
   voltron (U)

Chris Boot 
   nrpe-ng

Chris Johnston 
   python-flake8 (U)

Chris Lamb 
   django-assets (U)

Christian Kastner 
   imbalanced-learn (U)
   scikit-learn (U)
   tpot (U)

Christian M. Amsüss 
   sparql-wrapper-python (U)

Christopher Hoskin 
   case (U)
   pytds (U)
   sphinx-celery (U)

Clément Hermann 
   onionshare (U)

Colin Watson 
   py-macaroon-bakery (U)
   python-libnacl (U)

Colin Watson 
   git-build-recipe

Corey Bryant 
   murano (U)

Dain Nilsson 
   python-yubico (U)

Daniel Kahn Gillmor 
   pdfminer (U)

Daniele Tricoli 
   pdfminer (U)

Daniele Tricoli 
   pywavelets (U)

David Douard 
   chaussette

David Paleino 
   python-nmap (U)
   uncertainties (U)

David Watson 
   python-anyjson (U)

Debian Astronomy Maintainers 
   galpy
   pytest-mpl

Debian Astronomy Team 
   yt

Debian Authentication Maintainers 
   python-yubico

Debian Cloud Team 
   python-boto

Debian Electronics Team 
   kicad

Debian FreeIPA Team 
   freeipa

Debian FreeIPA Team 
   python-jwcrypto

Debian GIS Project 
   python-descartes
   python-geopandas
   python-hdf4
   python-mapnik
   python-stetl

Debian Let's Encrypt Team 
   pyrfc3339 (U)

Debian Med Packaging Team 
   bcbio
   biomaj3
   biomaj3-cli
   biomaj3-core
   biomaj3-daemon
   biomaj3-download
   biomaj3-process
   biomaj3-user
   cwlformat
   falcon
   fastaq
   gfapy
   imbalanced-learn
   insilicoseq
   iva
   mirtop
   neo
   nibabel
   nipy
   paleomix
   pynn
   python-biom-format
   python-deeptools
   python-fitbit
   python-gffutils
   python-gtfparse
   python-mne
   python-pbcore
   python-pyani
   python-pybedtools
   python-pymummer
   python-seqcluster
   python-sqt
   pyxnat
   q2-diversity-lib
   q2-quality-filter