On 10-04-2024 11:57, Lumír Balhar wrote:
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.

Sure. That could probably be done independently of the "greater" goal of making pynose a drop-in replacement. Of course, it still requires the package to be added to Fedora. It's kinda ready for review. But I'd like to polish it some more. Stay tuned.

But we already saw some successors of nose and they weren't really successfull.

Well, from my preliminary examination of the packages that failed with pynose, I found six could trivially be reverted to using nosetests. Another six failed for unrelated reasons. And four need some more investigation[1].

For the trivial packages it was usually replacing `%{__python3} setup.py test` with `nosetests -v`. Going by the project's description, "pynose is an updated version of nose". Not a successor that needs adaptation, but basically a continuation. Time will tell.

[1] Ik know that adds up to 16. One package sneaked its way onto the list, though it works fine with pynose.

-- Sandro
--
_______________________________________________
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

Reply via email to