You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This leads to problems when the PEXBuilder is being used in an interpeter that has language incompatibilites with the target interpreter; ie: when running under 2.7 and trying to contruct a pex targeted to 3.4 using python 3 only language features. An example of this is outlined in pantsbuild/pants#1658
The text was updated successfully, but these errors were encountered:
Today when calling
add_source
on aPEXBuilder
, any '.py' files are byte code compiled using the current ambient interpreter and not thePythonInterpreter
thePEXBuilder
was constructed with: https://github.com/pantsbuild/pex/blob/v1.0.0/pex/pex_builder.py#L136This leads to problems when the
PEXBuilder
is being used in an interpeter that has language incompatibilites with the target interpreter; ie: when running under 2.7 and trying to contruct a pex targeted to 3.4 using python 3 only language features. An example of this is outlined in pantsbuild/pants#1658The text was updated successfully, but these errors were encountered: