-
-
Notifications
You must be signed in to change notification settings - Fork 533
Parallel mode disables usedevelop #1297
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
Comments
Seems like a big oversight on my part, sorry 🙅♂ |
@ionelmc looks like rename $ cat tox.ini
[tox]
envlist = py36-{a,b}
[testenv]
usedevelop = true
$ tox -p 2 -vv
using tox.ini: /private/var/folders/4x/rz_w89dx1z3bydfd6qpdjn_h0000gn/T/tmp.zkRutZYE/tox.ini (pid 76029)
using tox-3.14.0 from /usr/local/lib/python2.7/site-packages/tox/__init__.pyc (pid 76029)
skipping sdist step
⠋ [0] py36-a start: parallel py36-a
py36-b start: parallel py36-b
[76030] /private/var/folders/4x/rz_w89dx1z3bydfd6qpdjn_h0000gn/T/tmp.zkRutZYE$ /usr/local/opt/python@2/bin/python2.7 /usr/local/lib/python2.7/site-packages/tox/__main__.py -p 2 -vv >.tox/py36-a/log/py36-a-0.log
[76031] /private/var/folders/4x/rz_w89dx1z3bydfd6qpdjn_h0000gn/T/tmp.zkRutZYE$ /usr/local/opt/python@2/bin/python2.7 /usr/local/lib/python2.7/site-packages/tox/__main__.py -p 2 -vv >.tox/py36-b/log/py36-b-0.log
⠴ [2] py36-a | py36-bpy36-b finish: parallel py36-b after 5.68 seconds
✔ OK py36-b in 5.678 seconds
py36-a finish: parallel py36-a after 5.68 seconds
✔ OK py36-a in 5.679 seconds
__________________________________________________________________________________________________________________ summary ___________________________________________________________________________________________________________________
py36-a: commands succeeded
py36-b: commands succeeded
congratulations :) Note the "skipping sdist step". |
Feel free to open a PR against master and fix it. My available efforts at the moment are aimed at fixing this as part of #1394, but that probably will take a while (ETA September). |
This has now been fixed with the rewrite (version 4). |
Huh, I just saw this today. I upgraded tox to version 4.0.15, ran
Coverage showing the paths as Running Since life is short and sporadic errors like this are annoying I modified check-python-versions to no longer use usedevelop in the next commit, but I thought you might want to know that the bug is not fixed yet. |
Instead it will install an sdist.
Reproducing example:
I have found this problem while trying to figure out how to skip wheel building when not really necessary for my tox-wheel plugin. I have this feeling that whatever the fix will be it will break my plugin so lets discuss first I guess?
The text was updated successfully, but these errors were encountered: