mariomulansky / PySpike

Python implementation of spike distance metrics
http://mariomulansky.github.io/PySpike
Other
71 stars 30 forks source link

RFE: Move away from using deprecated nose for testing #48

Closed sanjayankur31 closed 1 year ago

sanjayankur31 commented 3 years ago

Feature

nose is deprecated, so it'll be good to move to another testing tool, perhaps py.test.

Motivation

nose is deprecated upstream (the last commit was in 2016.) and is also being deprecated in Fedora.

https://github.com/nose-devs/nose/commits/master

It is still in use here, though

https://github.com/mariomulansky/PySpike/blob/master/test/test_function.py

The nose website says:

https://nose.readthedocs.io/en/latest/

"Nose has been in maintenance mode for the past several years and will likely cease without a new person/team to take over maintainership. New projects should consider using Nose2, py.test, or just plain unittest/unittest2."

Deprecation of nose in Fedora: https://fedoraproject.org/wiki/Changes/DeprecateNose

Alternatives py.test or nose2 (but nose2 doesn't seem to be at par with nose or py.test)

Additional context

This came up while working on including PySpike in Fedora as part of the NeuroFedora initiative.

gspr commented 2 years ago

To add: If PySpike does not migrate away from nose by the end of this year, roughly, I will be forced to drop its Debian package before the next Debian release (Debian 12 "Bookworm"). More information can be found starting here.