Skip to content

pex 2.1.98

Compare
Choose a tag to compare
@github-actions github-actions released this 13 Jul 22:55
· 393 commits to main since this release
v2.1.98
df6e5fe

2.1.98

This releases fixes regressions in foreign --platform handling and
artifact downloading introduced by #1787 in Pex 2.1.91.

In addition, PEXes can now be used as sys.path entries. Once on the
sys.path, via PYTHONPATH or other means, the code in the PEX can be
made importable by first importing __pex__ either as its own
stand-alone import statement; e.g.: import __pex__; import psutil or
as a prefix of the code to import from the PEX; e.g.:
from __pex__ import psutil.

  • Tags should be patched for --platform. (#1846)
  • Add support for importing from PEXes. (#1845)
  • Fix artifact downloads for foreign platforms. #1851