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
Pantsbuild fails to install cryptography-2.1.1 #3987
Comments
Upgrade to the latest version of |
I already tried updating that. But that didn't resolve the issue and I have already mentioned that in the question |
Can you include a full traceback? |
In the future, please post tracebacks as text, rather than as images, it makes things much simple to read. Can you try upgrading to a newer version of pants, at least 1.1.2 or great. |
I tried to update pants to 1.2.0 which is the stable version after 1.1.0 (which I had already tried). But the problem is, our codebase is large and it has several dependencies that can't be resolved by this new version of pants. Since the migration is a time consuming task, and our team is blocked by this issue, can there be any other alternative work around? |
From my reading of the pex source code, it pins the version of setuptools it uses, and the versions it supports were bumped in more recent releases. You'd have to ask the pants/pex team if there's a workaround on their side. |
Okay thanks for the info, if you come to any solution from your side, please keep us posted here. |
Is this error related to it? This error recently started to come while building my repo in Travis CI. Earlier, this issue never came.
|
That error indicates an out of date version of setuptools, please try upgrading it. |
@alex From which version of setuptools onwards, this issue should be resolved? |
18.5 or greater I believe. Closing this issue as there's no cryptography bug here. |
I try to run a dockerized pants build for a scala project and it fails with an error message "error in cryptography setup command: Invalid environment marker: python_version < '3' ". I haven't manually specified anything to install cryptography. In the documentation of cryptography I could see that it happens either because of pip or setuptools is out of date. I tried to update this and there was no difference. It was working fine till 12 October 2017 (approx) and later it turned to be not functional.
I use the following versions of
Ubuntu -14.04
python -2.7.4
pants -1.0.0 (tried upgrading to 1.1.0 but no difference).
Any guidance would be highly appreciated.
The text was updated successfully, but these errors were encountered: