-
Notifications
You must be signed in to change notification settings - Fork 111
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
v3.0.0 on PyPi fails to install with python 2.7 #77
Comments
Can confirm this! Workaround is |
Came here to Github issues to check if this was already reported as our Travis started failing recently (latest version pushed 5h ago, about the same time as our CI started failing). pypi reports v3.0.0 version is the latest. I can see PR #76 not yet merged, how was this release tested and released? I dont see any tag here for v3.0.0 neither. It can be reproduced just updating to the latest version via pip install -U, it breaks. |
I can't reproduce using This version was tested using |
Same was reproduced in our Travis |
Adding our Travis log here as well: https://travis-ci.org/ARMmbed/mbed-os/jobs/469068292 |
Python 3.7 works , tested in the env. The latest version broke python 2.7 support. I checked travis config here it should be running tests with python 2.7 , not sure how it slipped. |
It looks like the issue is that setup.py tries to import the utils. That is strange, since that import used to work in 2.1.0. |
I'll try a release on testpypi, running |
2.1.0 setup.py doesn't seem to contain import utils. import os import re |
The problem seems to be that neither If you add
|
Broke our stuff as well, on clean python 2.7.14 virtualenv same |
The reason it installs successfully in Python 3 is that pip downloads and installs from a wheel, whereas for Python 2 pip installs from a tarball. You can see the difference by running |
I've released 3.0.1. I hope this fixes it! |
Looks good to me! 3.0.1 installs successfully in both Python 2 and 3. I think you can close this issue now. Thanks! |
The text was updated successfully, but these errors were encountered: