-
Notifications
You must be signed in to change notification settings - Fork 36
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
Support tox-current-env by indirectly calling pytest #86
Comments
Oh. Now I understand better how you're using It's interesting that That explains why I was unable to replicate the issue - because in my tox environment, I hadn't provisioned pytest or other testing dependencies. Note that even the tox official docs suggest to use the bare At the very least, a change like this probably deserves a comment explaining why a non-standard approach is taken. But I'm also concerned - what other effects might this proposed change have? For example - it's known that Moreover, the proposed change will only help in situations where I don't feel like this is the right place to resolve this issue either - as it won't solve the problem for other projects and it alters the behavior and reduces simplicity for many unaffected environments. The skeleton project (and its derivatives) attempts to adopt best practices for the ecosystem, so I'd really like to see the recommendation of using But honestly, I doubt the project would accept that either, since I'm wondering if maybe there's a better way to handle this concern downstream, in those affected test environments. Since the issue is at the selection of Python when invoking |
I've filed another issue in that project. Let's see where that goes. I'm closing this one for now. |
The magic you are referring to is done by tox-current-env, not core tox. It is one of main purposes of
A bit newer pytest doc is okay with the
I package many Python packages for OpenIndiana and where it applies I automatically convert
In this case we are talking about direct/indirect
Please see above.
Hm. I'm not sure what is the project and downstream here :-(.
Interesting idea to have |
Using
tox
withtox-current-env
and a mixed Python 3.7 and 3.9 environment, the wrong pytest is used on Python 3.7 tests when thepytest
executable points to a Python 3.9 installation.Please note the wrong Python version for plain
pytest
command above (commands[0]
).Originally posted by @mtelka in jaraco/backports.entry_points_selectable#8 (comment)
The text was updated successfully, but these errors were encountered: