Re: python3-nose removal (or revival ?)

2024-09-18 Thread Dmitry Shachnev
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


signature.asc
Description: PGP signature


to ITP hatch -- any takers?

2024-09-18 Thread Yaroslav Halchenko
Hi Team & Stefano in particular,

There is RFP from Stefano 
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1072818
for hatch https://hatch.pypa.io/latest/ which is gaining more and more
popularity.

I wondered if anyone has free cycles to ITP and package it quickly
it for the team maintenance?  If not, I will try (according to Stefano
no initial problems detected; and my codespell run did not even find any
typos ;) ).

Cheers,
-- 
Yaroslav O. Halchenko
Center for Open Neuroscience http://centerforopenneuroscience.org
Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755
WWW:   http://www.linkedin.com/in/yarik



signature.asc
Description: PGP signature