-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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 causes a problem for other tools like tox due py
#10520
Comments
@asottile i believe we need to make our hack search for py on |
Thanks for your time with this one @RonnyPfannschmidt and @asottile |
@hloeung you need to |
HI @asottile, sorry I missed your replied in the tox tracker. I do not think that this is proper solution, because if I do not know about it, |
use a virtualenv or install py are your choices |
also you didn't miss my message, you quoted it and ignored it |
You are right, I missed it because you mention that I need install |
normally it won't but the way your packager sets things up causes this cascade |
I'd like to check if we can extend the hack in case we find py as distribution, if its reasonably trivial we can slot it for merge else we slot it for documentation |
I'm opposed to that, it's not simple and quite fragile and there's an easy solution already it's also too late (we already discussed this) |
Team, this issue still needs to be resolved. This is still broken when using Installing modules in the system-site-packages (or in the distro) and using them in conjunction with a virtual environment is a valid and supported approach even if it is not convenient for the way the pytest |
ok first off this is free software so nothing needs to be resolved -- it's not appropriate to demand work in this way
as above, the python community at large does not recommend using
it absolutely is --
you only need it for
the larger python community is not using, and does not recommend, |
I think that these changes are not well implemented, causing problems with
tox
. Whentox
andpytest
are installed at the same time,tox
will not work with an errorAttributeError: module 'py' has no attribute 'io'
.More information could be found in the bug#2540.
An example of how to reproduce an error.
System parameters:
The text was updated successfully, but these errors were encountered: