twilio-python icon indicating copy to clipboard operation
twilio-python copied to clipboard

Replace nose (with pytest?), as it's in maintenance mode for a few years

Open rominf opened this issue 3 years ago • 1 comments

Issue Summary

I'm a Fedora packager for python3-twilio. I've encountered an error during the build:

ERROR: InvocationError for command could not find executable nosetests

This comes from the fact that nose is apparently required for running the tests, but is not specified in tests/requirements.txt.

The obvious solution would be simply add it there, however, it is bad to add deprecated library (see: https://nose.readthedocs.io/en/latest, https://fedoraproject.org/wiki/Changes/DeprecateNose).

My proposal is to replace this invocation with pytest. I've made a patch in Fedora, and it works fine.

rominf avatar Mar 29 '22 07:03 rominf

Relates to https://github.com/twilio/twilio-python/pull/588

This issue has been added to our internal backlog to be prioritized. Pull requests and +1s on the issue summary will help it move up the backlog.

childish-sambino avatar Mar 30 '22 16:03 childish-sambino