Hi.
This sounds like an interesting idea for one more reason. We are
currently working on the update of pytest to version 8 and that version
no longer runs nose setup/teardown functions/methods which, as far as we
know now, is a change that breaks a lot of packages we previously
migrated from nose to pytest.
For some of those it might be easier to switch them to pynose than to
try to fix their tests for pytest.
But we already saw some successors of nose and they weren't really
successfull.
Lumír
On 4/9/24 19:30, Sandro wrote:
Hi,
While looking into a package upgrade I came across pynose [1]. It
appears to be a drop-in replacement for nose [2], which has been
deprecated in Fedora 32 [3].
There are still quite a few packages depending on nose, that have not
yet moved away from it. The official successor to nose is nose2 [4].
But that package does not support all of the behavior of nose.
Therefore, I'm thinking of introducing pynose as a drop in replacement
of deprecated nose. Pynose uses the same namespace as nose, but
provides python3dist(pynose). Thus adding Provides: for nose would
make it a drop-in replacement for packages currently depending on nose.
As a preliminary smoke test I built all packages depending on nose in
Copr against pynose [5]. Packages failing to build against pynose I
also built against nose [6]. I haven't checked all packages in detail
yet, but the amount packages failing appears manageable (17).
Going by [3] I suppose this would also need to go through the changes
process. If so, I'd be willing to drive that. But I could use some
help/support since this would be my first change proposal.
In a way this e-mail is kind of an informal general rehearsal.
With that said, please shoot! 🔫
[1] https://github.com/mdmintz/pynose
[2] https://github.com/nose-devs/nose
[3] https://fedoraproject.org/wiki/Changes/DeprecateNose
[4] https://github.com/nose-devs/nose2
[5] https://copr.fedorainfracloud.org/coprs/gui1ty/pynose
[6] https://copr.fedorainfracloud.org/coprs/gui1ty/nose
Cheers,
--
_______________________________________________
python-devel mailing list -- python-devel@lists.fedoraproject.org
To unsubscribe send an email to python-devel-le...@lists.fedoraproject.org
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/python-devel@lists.fedoraproject.org
Do not reply to spam, report it:
https://pagure.io/fedora-infrastructure/new_issue