Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New test command, update readme #57

Open
merretbuurman opened this issue Jun 24, 2022 · 2 comments
Open

New test command, update readme #57

merretbuurman opened this issue Jun 24, 2022 · 2 comments

Comments

@merretbuurman
Copy link
Collaborator

Currently README recommends running the tests via python setup.py test , but this gives a deprecated warning (in python 3.6.8), so we should recommend a different command. See error message below.

(venv3) [m@localhost PYHANDLE]$ python setup.py test
/home/merret/work/repos_and_scripts/pyhandle/PYHANDLE/pyhandle/venv3/lib/python3.6/site-packages/setuptools/dist.py:493: UserWarning: Normalizing '1.0.5-dev' to '1.0.5.dev0'
  warnings.warn(tmpl.format(**locals()))
running test
WARNING: Testing via this command 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.
/home/merret/work/repos_and_scripts/pyhandle/PYHANDLE/pyhandle/venv3/lib/python3.6/site-packages/setuptools/installer.py:30: SetuptoolsDeprecationWarning: setuptools.installer is deprecated. Requirements should be satisfied by a PEP 517 installer.
  SetuptoolsDeprecationWarning,
@merretbuurman
Copy link
Collaborator Author

Note: The Dockerfiles that jenkins runs for testing use a different method using nose library, but nose is no longer being actively maintained (https://nose.readthedocs.io/en/latest/#note-to-users).

@merretbuurman
Copy link
Collaborator Author

Let's look into pytest and possible use pytest from now on!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant