[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Proposed MBF: packages still using nose



Dear Dmitry,

Il 21/08/22 15:04, Dmitry Shachnev ha scritto:
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


nose.dd-list.txt


...


Antonio Valentino<antonio.valentino@tiscali.it>
    pysph (U)
    python-hdf4 (U)


I have just uploaded a new version of the python-hdf4 package in which the dependency on nose has bee removed (replaced by pytest).

Regarding pysph, the package in unstable is already OK.
It should be able to migrate once #1010961 and #1015009 (removal of binary packages form unstable) are resolved. Apparently it takes some time but I hope that pysph will be able to migrate soon.


kind regards
--
Antonio Valentino


Reply to: