Hi Alexandre!
First of all, thanks for your hard work on porting the packages away from
nose.
On Wed, Sep 18, 2024 at 12:32:33PM +0200, Alexandre Detiste wrote:
Hi,
While fixing/updating more random packages for the python3-nose removal;
I stumbled on this new fork:
https://pypi.org/project/pynose/
Yes, I saw that too. By the way, there is also another fork called nose3, but it seems even less active.
This fork brings it's own new problems:
- licensing needs extensive review: https://github.com/mdmintz/pynose/issues/36
- unit test are gone: https://github.com/mdmintz/pynose/issues/39
So I am not convinced it's the way to go;
It still feels like too little, too late.
I agree.
Kicking Nose out of Debian (+ Ubuntu) would
maybe make some projects reconsider their CI pipeline
to use a better maintained test runner.
That’s a nice side effect, but not more. I think the primary motivation for removal is maintenance burden, e.g. the fact that nose often breaks with new Python versions.
If we worked around some of the problems (e.g. replaced 2to3 with fissix),
I am fine with giving the maintainers (and their upstreams) more time to port away from nose.
Also, many upstream projects are using Ubuntu LTS releases, and the next such release is only in 1.5 years anyway.
python3-pika is the first project I found online that did switched to pynose as prefered test runner in upcoming release.
It looks like it needs [py]nose only for two relatively small functions from nose.twistedtools. I wonder why they didn’t just vendor that code.
Debian Code Search also hints to:
- django-cte (it's on the todo list too)
This one I don’t see why needs nose at all. The test is very simple and just calls init_db() and destroy_db(), this can be definitely done with pure unittest.
- thunderbird
https://codesearch.debian.net/search?q=pynose&literal=1&perpkg=1
We don’t seem to run Python tests during Thunderbird build.
So for now, I am not convinced that we need to update nose package to pynose upstream. However, if pynose has some patches that help us, we can always cherry-pick them (maybe after updating debian/copyright).
That said,
https://bugs.debian.org/1080224 is not fixed in pynose. Or at
least the problematic line is still there:
https://github.com/mdmintz/pynose/blob/v1.5.2/nose/commands.py#L122
--
Dmitry Shachnev
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEq2sdvrA0LydXHe1qsmYUtFL0RrYFAmbrPCUACgkQsmYUtFL0 RraQqg/+JuwjttcDCcjFm7FFg/DANEtbW9Xf4UFeCCahGMEAGAMdAHuO0zjq7bSz MiQ2DNT9o0OuWSAC5i8zlo7rHes7A777BT8dELZIJIHuhMRUNXCmZg+zwDZ+XJ3Z MU4PBEpq123nDv7ykXM02WlvBwHDm9/BMsbBjWfhMH/WV8TC0MdqkrC6adC7HWvp F4BV6R1+n9HbMqj8xmBl3aMgktVl1QMbgmgKWdbw4DJw829hZst5b2xl7WNFT7eV 6VCy8Q05eo2mdUb9F7Fn7H6U4Qz29OaD+9AAzsFRwLG0hYF5PLQLrWRddjRYJ884 iheZw+5JI8vESiWc7hOwuaoh5ZziixaJdJxD90/3fTx94v+PY1bTb1nd5heeal54 hv4Pso2w/LITGW5K5SbNcfPUj2HiBiwSDQwRqpeRVt2jI+DH+8SvDbNU5byCOuOY fM5X6RnrhCs9RnMPyZvA8BU7YCe9v/I/Zrr9ANcD+CEyS4ql1g8Q/5oQ0/nyEsM9 23wXYBVu2YVkFaEkZtD3ACnTLW/Bpq7cGs6CvMzLzixYr7tLxwgyFNzM2ZQUg0sZ ogTCU86n2fFxIApo4IGuTo+h3XXzV0h1liBfC9lNhC5K6T3xuONl21kYEp50myYw qX03aak4ctW/UHU3RKuypYACbA2t4TJNEhLXfKAUhLQwFGJ/jng=
=zby4
-----END PGP SIGNATURE-----
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)