Remove nose (stage 1) #555

Closed
opened 2025-12-29 01:24:14 +01:00 by mcepl · 0 comments
Owner

Python 3.9 (or perhaps 3.10, if that change will be postponed) will break nose1. We should at least remove all those cases where nose is used only as a test runner and replace it with pytest.

Also, https://github.com/rpm-software-management/rpmlint/issues/451


Checklist: Packages using nosetest

Trello Labels (Unmatched): deprecations

Python 3.9 (or perhaps 3.10, if that change will be postponed) will break nose1. We should at least remove all those cases where nose is used only as a test runner and replace it with pytest. Also, https://github.com/rpm-software-management/rpmlint/issues/451 --- ### Checklist: Packages using nosetest - [x] dnf-plugins-core.spec - [x] dnf-plugins-extras.spec - [x] python2-ipykernel.spec (py2 only, will be removed) - [x] python2-networkx.spec (py2 only, will be removed) - [x] python-agate-dbf.spec sr#794646 - [x] python-agate-excel.spec sr#794647 - [x] python-agate.spec sr#794616 - [x] python-agate-sql.spec sr#794648 - [x] python-amqpstorm.spec - [x] python-ana.spec - [x] python-ansi2html.spec - [x] python-arf.spec https://build.opensuse.org/request/show/822190 - [x] python-arrow.spec (upstream already did that, waiting for a new release > 0.15.5) - [x] python-astor.spec - [x] python-Beaker.spec https://build.opensuse.org/request/show/822303 - [x] python-bibtexparser.spec - [x] python-biplist.spec - [x] python-blessings.spec - [x] python-blinker.spec - [x] python-bloscpack.spec Doesn't run tests at all, will be a large effort to port to pytest https://build.opensuse.org/request/show/824685 tests are still broken https://github.com/Blosc/bloscpack/issues/99 - [x] python-blosc.spec - [x] python-boto3.spec - [x] python-botocore.spec https://build.opensuse.org/request/show/829812 - [x] python-breathe.spec (v4.14.2 should include the fixes, let's wait for it) - [x] python-cassandra-driver.spec - [x] python-catkin-pkg.spec - [x] python-chai.spec - [x] python-colander.spec sr#794806 - [x] python-colour.spec sr#811840 - [x] python-crumbs.spec (tests are not run) https://build.opensuse.org/request/show/824722 the test suite is such a mess, we don't run it, so we don't need nose anyway. Ported to pytest, but not able to test it properly. - [x] python-csvkit.spec - [x] python-curtsies.spec - [x] python-cytoolz.spec - [x] python-daemonize.spec sr#811399 - [x] python-deap.spec (not yet fully 3.8 compatible, upstream is working on it) - [x] python-Durus.spec (tests are not run) - [x] python-EasyProcess.spec https://build.opensuse.org/request/show/819618 - [x] python-emoji.spec - [x] python-entrypoint2.spec - [x] python-eventlet.spec https://build.opensuse.org/request/show/826314 test suite fails (but it did before as well ;)). https://github.com/eventlet/eventlet/issues/638 - [x] python-exam.spec - [x] python-extras.spec - [x] python-Fabric3.spec (was dropped from Factory) - [x] python-flaky.spec - this one is complicated, since it is a plugin for nose and pytest both. I would test nose until it dies. - [x] python-Flask-Admin.spec https://build.opensuse.org/request/show/844932 - [x] python-Flask-Mail.spec - [x] python-Flask-WTF.spec - [x] python-forbiddenfruit.spec (1 test is failing, I'm following up with upstream) - [x] python-FormEncode.spec - [x] python-fudge.spec sr#796348 - [x] python-funcparserlib.spec (have to wait for new release) - [x] python-glob2.spec - [x] python-googlemaps.spec - [x] python-gspread.spec - [x] python-happybase.spec - [x] python-hetznercloud.spec (tests are not executed and can not be executed without hetznercloud) -- does not need nose for testing - [x] python-holoviews.spec https://build.opensuse.org/request/show/835303 - [x] python-hvplot.spec - [x] python-inflect.spec - [x] python-influxdb.spec - [x] python-ipython_genutils.spec https://build.opensuse.org/request/show/862444 - [x] python-jsondiff.spec https://build.opensuse.org/request/show/834153 - [x] python-JsonWeb.spec - [x] python-junitxml.spec - [x] python-junos-eznc.spec - [x] python-jupyter_console.spec - [x] python-jupyter_contrib_core.spec - [x] python-jupyter_highlight_selected_word.spec (tests are not executed) - [x] python-jupyter_nbextensions_configurator.spec https://build.opensuse.org/request/show/843666 - [x] python-kazoo.spec - [x] python-kitchen.spec - [x] python-Kivy.spec - [x] python-latexcodec.spec https://build.opensuse.org/request/show/822375 (to the devel project, not yet Factory) - [x] python-lazr.config.spec - [x] python-ldap3.spec https://build.opensuse.org/request/show/822512 - [x] python-leather.spec - [x] python-libarchive.spec https://github.com/dsoprea/PyEasyArchive/issues/44#issuecomment-666469993 and https://build.opensuse.org/request/show/823708 - [x] python-liblarch.spec - [x] python-lml.spec WIP https://build.opensuse.org/request/show/824848, but nose is gone. - [x] python-logilab-astng.spec https://build.opensuse.org/request/show/835438 - [x] python-LTTL.spec - [x] python-masakariclient.spec - [x] python-minidb.spec - [x] python-mistralclient.spec - [x] python-mistune.spec - [x] python-moban.spec -- big and active project, opened an issue upstream to do the nose migration -- (https://github.com/moremoban/moban/issues/364) WIP/POC patch provided. - [x] python-morecvutils.spec - [x] python-moto.spec https://build.opensuse.org/request/show/839696 (16732 lines of patch) - [x] python-munkres.spec - [x] python-nibabel.spec - [x] python-nose-exclude.spec (useless without nose) - [x] python-nose-random.spec (useless without nose) - [x] python-nose.spec I guess, we cannot help to this one. - [x] python-nose-timer.spec (useless without nose) - [x] python-nose_warnings_filters.spec (useless without nose) - [x] python-nosexcover.spec (useless without nose) - [x] python-notebook.spec https://build.opensuse.org/request/show/843486 - [x] python-opcodes.spec - [x] python-openstack.nose_plugin.spec (useless without nose) - [x] python-pamqp.spec - [x] python-parameterized.spec https://build.opensuse.org/request/show/834328 - [x] python-param.spec https://build.opensuse.org/request/show/824171 - [x] python-passlib.spec - [x] python-patsy.spec - [x] python-pbkdf2.spec - [x] python-pdfminer.six.spec - [x] python-PeachPy.spec - [x] python-peppercorn.spec - [x] python-pika.spec sr#794817 - [x] python-podcastparser.spec - [x] python-praatio.spec - [x] python-ptyprocess.spec - [x] python-purl.spec - [x] python-Pweave.spec - [x] python-pycurl.spec https://build.opensuse.org/request/show/855998 - [x] python-Pydap.spec (done by John Vandenberg) - [x] python-PyLaTeX.spec https://build.opensuse.org/request/show/824073 - [x] python-pylibmc.spec - [x] python-pymacaroons-pynacl.spec - [x] python-pymacaroons.spec - [x] python-pyPEG2.spec - [x] python-pyrad.spec - [x] python-pyramid.spec - [x] python-pyroomacoustics.spec - [x] python-pyroute2.spec (tests are not executed) - [x] python-pysmi.spec (tests are not executed) - [x] python-pysrt.spec - [x] python-pystache.spec (I think this package is dead) - switch to pytest anyway - [x] python-python3-openid.spec - [x] python-python-datamatrix.spec - [x] python-python-dbusmock.spec - [x] python-python-lzo.spec - [x] python-python-memcached.spec - [x] python-pyudev.spec https://build.opensuse.org/request/show/840460 - [x] python-rednose.spec (this one is useless without nose) - [x] python-requirements-detector.spec - [x] python-Routes.spec - [x] python-rpyc.spec - [x] python-social-auth-core.spec - [x] python-soundcloud.spec (not in Factory) - [x] python-sqlitedict.spec - [x] python-stomper.spec - [x] python-sure.spec - [x] python-swifter.spec - [x] python-template-remover.spec - [x] python-Theano.spec https://build.opensuse.org/request/show/844472 - [x] python-tqdm.spec (https://github.com/tqdm/tqdm/pull/1052) - [x] python-traitsui.spec - [x] python-traittypes.spec - [x] python-transip.spec - [x] python-tweepy.spec (tests can not be executed) - [x] python-twython.spec - [x] python-uncertainties.spec - [x] python-URLObject.spec sr#811923 - [x] python-vcs.spec (tests are not executed) - [x] python-voluptuous.spec - [x] python-wcwidth.spec - [x] python-websockify.spec - [x] python-wikipedia.spec - [x] python-WSME.spec - [x] python-xcffib.spec (tests can not be executed) - [x] python-xlrd.spec - [x] python-xlwt.spec - [x] python-xmltodict.spec - [x] python-yapf.spec - [x] python-zake.spec - [x] python-zignal.spec - [x] torrentinfo.spec - [x] python-etcd https://build.opensuse.org/request/show/826100 - [x] python-scales https://build.opensuse.org/request/show/826842 - [x] python-numpy -- https://build.opensuse.org/request/show/818513 - [x] javapackages-tools (python-javapackages) https://build.opensuse.org/request/show/849860 **Trello Labels (Unmatched):** deprecations
mcepl closed this issue 2025-12-29 01:24:15 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: python/_ObsPrj#555