Skip to content

Releases: pex-tool/pex

pex 2.1.0

28 Dec 19:49
v2.1.0
d3b542f
Compare
Choose a tag to compare

2.1.0

This release restores and improves support for building and running
multiplatform pexes. Foreign linux* platform builds now include
manylinux2014 compatible wheels by default and foreign CPython pexes now
resolve abi3 wheels correctly. In addition, error messages at both buildtime
and runtime related to resolution of dependencies are more informative.

Pex 2.1.0 should be considered the first Pex 2-series release that fully
replaces and improves upon Pex 1-series functionality.

  • Fix pex resolving for foreign platforms. (#835)
  • Use pypa/packaging. (#831)
  • Upgrade vendored setuptools to 42.0.2. (#832)
  • De-vendor pex just once per version. (#833)
  • Support VCS urls for vendoring. (#834)
  • Support python 3.8 in CI. (#829)
  • Fix pex resolution to respect --ignore-errors. (#828)
  • Kill pkg_resources finders monkey-patching. (#827)
  • Use flit to distribute pex. (#826)
  • Cleanup extras_require. (#825)

pex 2.0.3

06 Dec 08:03
v2.0.3
6b3e12a
Compare
Choose a tag to compare

2.0.3

This release fixes a regression in handling explicitly requested --index or
--find-links http (insecure) repos. In addition, performance of the pex 2.x
resolver is brought in line with the 1.x resolver in all cases and improved in
most cases.

  • Unify PEX buildtime and runtime wheel caches. #821
    PR #821 <https://github.com/pantsbuild/pex/pull/821>_

  • Parallelize resolve. (#819)
    PR #819 <https://github.com/pantsbuild/pex/pull/819>_

  • Use the resolve cache to skip installs. (#815)
    PR #815 <https://github.com/pantsbuild/pex/pull/815>_

  • Implicitly trust explicitly requested repos. (#813)
    PR #813 <https://github.com/pantsbuild/pex/pull/813>_

pex 2.0.2

22 Nov 19:42
v2.0.2
cf0a941
Compare
Choose a tag to compare

2.0.2

This is a hotfix release that fixes a bug exposed when Pex was asked to use an
interpreter with a non-canonical path as well as fixes for 'current' platform
handling in the resolver API.

  • Fix current platform handling. (#801)
  • Add a test of pypi index rendering. (#799)
  • Fix iter_compatible_interpreters path biasing. (#798)

pex 2.0.1

20 Nov 03:31
v2.0.1
b2bfa22
Compare
Choose a tag to compare

2.0.1

This is a htofix release that fixes a bug when specifying a custom index
(-i/--index/--index-url) via the CLI.

  • Fix #794 issue by add missing return statement in str (#795)

pex 2.0.0

15 Nov 03:22
v2.0.0
cf20f8f
Compare
Choose a tag to compare

2.0.0

Pex 2.0.0 is cut on the advent of a large, mostly internal change for typical
use cases: it now uses vendored pip to perform resolves and wheel builds. This
fixes a large number of compatibility and correctness bugs as well as gaining
feature support from pip including handling manylinux2010 and manylinux2014 as
well as VCS requirements and support for PEP-517 & PEP-518 builds.

API changes to be wary of:

  • The egg distribution format is no longer supported.
  • The deprecated --interpreter-cache-dir CLI option was removed.
  • The --cache-ttl CLI option and cache_ttl resolver API argument were
    removed.
  • The resolver API replaced fetchers with a list of indexes and a list
    of find_links repos.
  • The resolver API removed (http) context which is now automatically
    handled.
  • The resolver API removed precedence which is now pip default precedence:
    wheels when available and not ruled out via the --no-wheel CLI option or
    use_wheel=False API argument.
  • The --platform CLI option and platform resolver API argument now must
    be full platform strings that include platform, implementation, version and
    abi; e.g.: --platform=macosx-10.13-x86_64-cp-36-m.
  • The --manylinux CLI option and use_manylinux resolver API argument
    were removed. Instead, to resolve manylinux wheels for a foreign platform,
    specify the manylinux platform to target with an explicit --platform CLI
    flag or platform resolver API argument; e.g.:
    --platform=manylinux2010-x86_64-cp-36-m.

In addition, Pex 2.0.0 now builds reproduceable pexes by default; ie:

  • Python modules embedded in the pex are not pre-compiled (pass --compile if
    you want this).
  • The timestamps for Pex file zip entries default to midnight on
    January 1, 1980 (pass --use-system-time to change this).

This finishes off the effort tracked by #716.

Changes in this release:

  • Pex defaults to reproduceable builds. (#791)
  • Use pip for resolving and building distributions. (#788)
  • Bias selecting the current interpreter. (#783)

pex 1.6.12

17 Oct 20:15
v1.6.12
e5317cb
Compare
Choose a tag to compare

1.6.12

This release adds the --intransitive option to support pre-resolved requirements
lists and allows for python binaries built under Gentoo naming conventions.

  • Add an --intransitive option. (#775)
  • PythonInterpreter: support python binary names with single letter suffixes (#769)

pex 1.6.11

12 Sep 06:09
v1.6.11
f39285c
Compare
Choose a tag to compare

1.6.11

This release brings a consistency fix to requirement resolution and an
isolation fix that scrubs all non-stdlib PYTHONPATH entries by default,
only pre-pending or appending them to the sys.path if the
corresponding --inherit-path=(prefer|fallback) is used.

  • Avoid reordering of equivalent packages from multiple fetchers (#762)
  • Include PYTHONPATH in --inherit-path logic. (#765)

pex 1.6.10

19 Aug 23:55
v1.6.10
a6bd414
Compare
Choose a tag to compare

1.6.10

This is a hotfix release for the bug detailed in #756 that was
introduced by #752 in python 3.7 interpreters.

  • Guard against modules with a __file__ of None. (#757)

pex 1.6.9

08 Aug 15:01
v1.6.9
62df7cf
Compare
Choose a tag to compare

1.6.9

  • Fix sys.path scrubbing of pex extras modules. (#752)
  • Fix pkg resource early import (#750)

pex 1.6.8

27 Jun 03:04
v1.6.8
f5e00ad
Compare
Choose a tag to compare

1.6.8

  • Fixup pex re-exec during bootstrap. (#741)
  • Fix resolution of setup.py project extras. (#739)
  • Tighten up namespace declaration logic. (#732)
  • Fixup import sorting. (#731