Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Fix #148: Remove & replace python setup.py test #149

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

Merged
merged 1 commit into from
Oct 2, 2019

Conversation

tomschr
Copy link
Member

@tomschr tomschr commented Oct 2, 2019

This PR fixes #148 and contains:

As tox discouraged using "python setup.py test", we shouldn't recommend that in our documentation. Replacing it with tox.

As tox discouraged using "python setup.py test", we shouldn't
recommend that in our documentation. Replacing it with "tox".
Copy link
Member

@ppkt ppkt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM :) Would you like to also update setup.py and remove invoking tox (and use pytest instead)?

@tomschr
Copy link
Member Author

tomschr commented Oct 2, 2019

@ppkt

LGTM :) Would you like to also update setup.py and remove invoking tox (and use pytest instead)?

Just to clarify: you mean, changing the Tox class in setup.py and replacing the tox command with pytest, right?

Why not remove the class alltogether? Why not run pytest or tox directly instead of the detour with setup.py? IMHO, it doesn't make sense to run python setup.py test.

@ppkt
Copy link
Member

ppkt commented Oct 2, 2019

@tomschr yes, I think python setup.py test command should run tests for current Python instance. However, it looks like there is a discussion about removing test command at all: pypa/setuptools#1684
Maybe let's leave it as it is for now :)

@tomschr
Copy link
Member Author

tomschr commented Oct 2, 2019

@ppkt

Maybe let's leave it as it is for now :)

Ok, I'm fine with that. πŸ˜‰ πŸ‘

@s-celles s-celles merged commit 5fb1011 into python-semver:master Oct 2, 2019
@tomschr tomschr deleted the bugfix/148-rm-setup.py-test branch October 2, 2019 13:42
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

Successfully merging this pull request may close these issues.

Doc: Remove recommendation of "setup.py test" in Contribute Section
3 participants