```[requirements] Invalidated 1...
# general
b
Copy code
[requirements]
                   Invalidated 129 targets.**** Failed to install typed-ast-1.1.0 (caused by: NonZeroExit("received exit code 1 during execution of `[u'/usr/bin/python2.7', '-', 'bdist_wheel', '--dist-dir=/tmp/tmpwfUpZj']` while trying to execute `[u'/usr/bin/python2.7', '-', 'bdist_wheel', '--dist-dir=/tmp/tmpwfUpZj']`",)
):
stdout:

stderr:
Error: typed_ast only runs on Python 3.3 and above.
e
Modern pants - I'm not sure what version you run - supports parsing environment markers (https://www.python.org/dev/peps/pep-0496/) in requirements. We have an example here: https://github.com/pantsbuild/pants/blob/master/3rdparty/python/requirements.txt#L32. Give that a go and report back.
p
1.4
And the package is introducted by a dependency which we cannot find out which one.. neither
e
Hrm, well my idea won't work. The simplest fix would be to build your pex for python 3.3+ but it may be the case that your deployment environment is limited to python2.7.