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 as well. But in case of pants I'm not very sure where should I specify this also. I specified this in pants file and in thidparty "requirements.txt" file. But no difference . It was working fine but suddenly it failed one day.
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)