Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
When a pex is built and a platform-specific wheel is required, the interpreter constraints are not narrowed to the platform in question. #676
If you build a pex as such:
You may end up creating a pex that contains platform-specific wheels if thing itself or its transitive dependencies are platform-specific. In a case like this, where a ~random minimum python2.7 interpreter on the
At the time of writing I'm not sure ucs level can even be currently picked out via interpreter constraints, so some work may need to be done there, or else the runtime picking of interpreter will simply need to take this into account and fail with a meaningful error message if a matching ucs level interpreter cannot be found.
For the record, this was discovered while working on pantsbuild/pants#7235 with the CI run https://travis-ci.org/pantsbuild/pants/jobs/497208431#L891 (also see line 1931 in this run).
referenced this issue
Feb 26, 2019
>>> import sys >>> print(sys.maxunicode) 1114111 # UCS4 # or.... 65535 # UCS2