Nose is no longer maintained. Consider switch to pytest?
Cabalist opened this issue · 1 comments
Cabalist commented
As the title says. Nose hasn't seen an update since Jun 2, 2015.
The official nose
homepage says:
Note to Users
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.
Pytest is a drop in replacement that requires no changes to the tests and has widespread adoption and ongoing support.
Output from running this on my machine:
❯ pytest tests
================================== test session starts ==================================
platform darwin -- Python 3.8.2, pytest-6.0.1, py-1.9.0, pluggy-0.13.1
rootdir: /Users/work/PycharmProjects/rectpack
collected 167 items
tests/test_collisions.py ................ [ 9%]
tests/test_decimal.py ....... [ 13%]
tests/test_enclose.py .... [ 16%]
tests/test_factory.py ........ [ 20%]
tests/test_geometry.py ....................... [ 34%]
tests/test_guillotine.py .......... [ 40%]
tests/test_maxrects.py ............. [ 48%]
tests/test_packer.py .............................................. [ 76%]
tests/test_skyline.py ................................. [ 95%]
tests/test_stats.py .. [ 97%]
tests/test_waste.py ..... [100%]
===================================167 passed in 19.50s ===================================
I believe it would just be a matter of replacing install_requires = ['nose', 'unittest2'],
with install_requires = ['pytest'],
in the setup.py
Thoughts?
secnot commented
Will look into it, thank you.