-
Notifications
You must be signed in to change notification settings - Fork 11
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
pytest-runner shouldn't be in setup_requires #26
Comments
@yurivict that is what pytest's docs instructs. It is said that:
From its description:
I agree it seems wrong. It looks like a hack to integrate pytest to setuptools, but maybe the best option they found? So, yeah, it will always be downloaded but the bright side is that it is a really small package and Is it a problem for the port you made? |
Actually, yes. It fails to build unless |
I only have py27-pytest-3.2.1 installed, and it is sufficient to run tests. Is |
It is needed unless you already have pytest installed. For example, removing
Maybe it could be removed from |
pytest belongs to py27-pytest-3.2.1
|
Maybe just leave it as it is. I patched out |
What I am saying is that I think entry_points={
'distutils.commands': [
'ptr = ptr:PyTest',
'pytest = ptr:PyTest',
],
}, Unexpectedly, I could not get
Will that be a PITA whenever you need to update it? I assume that might be a problem if one day we package pyaxo for Debian as well, so I will take a look at pytest's issues and see if they are working on this. @rxcomm, what do you think? |
I see. I do have the pytest-runner package available (devel/py-pytest-runner), but tests run fine with or without it installed. |
This makes something needed only for testing be required unconditionally. Should
pytest-runner
be undertests_require
?The text was updated successfully, but these errors were encountered: