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

setup_requires -> tests_requires, for pytest #296

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jonringer
Copy link

pytest>=5 isn't compatible with python2 https://github.com/pytest-dev/pytest/blob/eaf7ce9a992cea7506553b7d77fdf9622900ae36/setup.cfg#L43

This makes the python2 version fail, even though it may be compatible, as noted: NixOS/nixpkgs#92561 (review)

For your CI, it looks like this is irrelevant because your tox.ini will install it anyway, and the python setup.py test command is deprecated anyway.

Copy link
Contributor

@jason-fugue jason-fugue left a comment

Choose a reason for hiding this comment

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

Thanks for the PR! Left a small question about tests_requires vs tests_require inline.

setup_requires=[
'pytest>=5.4.1'
],
tests_requires=tests_requires,
Copy link
Contributor

Choose a reason for hiding this comment

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

Should this kw be tests_require?

Copy link
Author

Choose a reason for hiding this comment

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

it should, sorry this PR got buried

@jonringer
Copy link
Author

Is this is still relevant? sorry, i get ~100 notifications a day and this got buried

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.

None yet

2 participants