-
Notifications
You must be signed in to change notification settings - Fork 34
Install failure with Python 3.4 on upgrade of tox from 2.9.0 -> 2.9.1 #76
Comments
Hi @ssteinerx, I am pretty sure this is unrelated to tox - especially if it was fine with 2.9.0 - 2.9.1 does not contain any actual changes. It was released because the changelog on pypi had a rendering error. I also tried locally just now with python3.4 and there was also no problem. Did you try to force a fresh build? |
I just had a look at the log and this looked familiar ...
This looks very much like this: pypa/setuptools#951 |
@obestwalter This is run by Travis and the only install command is:
so I'm not sure how much fresher I can make it. I'm going to poke around a bit and see what versions of |
It is definitely strange that this starts happening now in your build and only with 3.4, that's why I thought that somehow a forced rebuild would make it go away. Maybe this will help: pypa/setuptools#951 (comment) |
3.4 is the only one that fails (failed, didn't do it just now). Seems like a fixed-ish I'm going to force upgrade setuptools in my test. Maybe requiring the updated version here would prevent these spurious problems in other projects? |
What would you suggest? |
@obestwalter Perhaps a quick mention of this bug at the top of the README: As per #76, Please ensure that This can be done with:
If nothing else, this will prevent another bug report like this one. I'm also going to report on Travis/tox when I get a chance since this kind of bug can really show up in any project (as evidenced by all the referencers to pypa/setuptools#951) and should be either prevented with a Of course, these types of silly issues are what led me to discover |
Good idea. How about baking that into a PR and we'll get it merged?
So there's a good side to everything 😁 |
If we can improve the setuptools version selector to avoid this issue, I think that would be preferable to adding a note that people probably won't read to the readme. |
@ryanhiebert true - that would definitely be better, much harder to get right also though. |
Unfortunately, I'm not convinced that the "race condition" that supposedly causes the issue was ever addressed...it may have just moved around a bit. Nor am I sure, given that, that any particular intermediate version is better than any other. |
Hi all, I think we can close this here, as this is ultimately related to
That should work. Listing |
…n 3.4 Travis image, mentioned [here](tox-dev/tox-travis#76).
…n 3.4 Travis image, mentioned [here](tox-dev/tox-travis#76).
…n 3.4 Travis image, mentioned [here](tox-dev/tox-travis#76).
…n 3.4 Travis image, mentioned [here](tox-dev/tox-travis#76).
…n 3.4 Travis image, mentioned [here](tox-dev/tox-travis#76).
Worked on 2.9.0, fails on 2.9.1.
Python 3.4 is the only failure of 2.7, 3.4, 3.5, 3.6 builds.
Traceback is pretty long but the final result is:
The command "pip install -U tox-travis" failed and exited with 2 during .
This is where things went wrong:
Full log:
https://travis-ci.org/pydanny/cookiecutter-djangopackage/jobs/281635173
The text was updated successfully, but these errors were encountered: