You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Warning test is deprecated and will be removed in a future version. Users
looking for a generic test entry point independent of test runner are
encouraged to use tox
However, I'm not sure how much of a big deal this is, but there doesn't appear to be an open issue on it, so filing one here and now.
The text was updated successfully, but these errors were encountered:
Thanks for the heads up! I assume we would then remove python setup.py test as an entrypoint into running the tests, and just rely on invoking pytest; that is, I don't think we need to introduce a dependency on tox (though maybe there's a good reason to use it). This might also require a few small changes to setup.py.
IIRC, python setup.py test is a bit more than an alias for cd tests && pytest: it also deals with dependencies. That would be nice to keep the possibility to run tests without installing dependencies manually.
Indeed, maybe it's just time to move away from setup.py. Poetry seems to be one of the alternatives to look at.
I'm in no way up on the world of Python packaging, but
CONTRIBUTING.rst
saysHowever
setup.py --help-commands
advises>Which appears to be confirmed by https://setuptools.readthedocs.io/en/stable/userguide/commands.html#test.
However, I'm not sure how much of a big deal this is, but there doesn't appear to be an open issue on it, so filing one here and now.
The text was updated successfully, but these errors were encountered: