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

python setup.py test is soon to be deprecated #10

Open
sjunges opened this issue Dec 17, 2019 · 2 comments
Open

python setup.py test is soon to be deprecated #10

sjunges opened this issue Dec 17, 2019 · 2 comments
Assignees

Comments

@sjunges
Copy link
Contributor

sjunges commented Dec 17, 2019

See pypa/setuptools#1684

I think that we should therefore consider alternatives.

@volkm
Copy link
Contributor

volkm commented Dec 19, 2019

Since the test command currently does nothing more than call pytest, I think that should be no problem. I see two options how to handle this:

  1. Perform the following steps instead to use pytest:

    pip install pytest
    py.test
    

    We just have to make sure that it will still be possible to give the pytest options in setup.cfg.

  2. The second options would be to migrate to tox.

@volkm
Copy link
Contributor

volkm commented Aug 7, 2024

The latest version of setuptools has now removed the test command and CI now fails. This makes the replacement urgent.

@volkm volkm self-assigned this Aug 7, 2024
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

2 participants