-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
urllib3 fails to install on centos7 due to old setuptools not supporting <=, < environment markers. #986
Comments
Given that you're in a virtual environment, I recommend you work around this issue by running |
Oh, I see, I didn't realise that your version of setuptools didn't support markers at all. That explains a lot. Regardless, the best solution is to update setuptools in your virtualenv and continue: that's generally a good policy. |
In the medium term, we should remove the markers from setup.py and just leave them in setup.cfg. |
Don't use urllib3 1.18 because it's not compatible with old setuptools. See also: urllib3/urllib3#986 See merge request !1468
python-etcd requires urllib3 > 1.7. If we pull urllib3 1.18.1, the build fails due to urllib3/urllib3#986. To avoid this, and future issues, pin urlib3 1.17 which is known to work.
Current urllib3 fails to install on centos7. This bug was most likely introduced after 9f5454e.
centos7 ships a very old version of setuptools (0.9.8) which does not support
<=
as an environment marker. See pypa/setuptools#380.Installing f620d99 (commit before 9f5454e) works fine.
But 9f5454e fails.
urllib3 1.17 setup.py does not ship with < or <= markers so my workaround right now is to install urllib3==1.17.
The text was updated successfully, but these errors were encountered: