Skip to content

Commit

Permalink
Upgrade Pants to Pex 2.1.40. (#11964)
Browse files Browse the repository at this point in the history
The relevant changelog:

2.1.40
------

This release brings proper support for pyenv shim interpreter
identification as well as a bug fix for venv mode.

* Fix Pex venv mode to respect ``--strip-pex-env``. (#1329)
  `PR #1329 <https://github.com/pantsbuild/pex/pull/1329>`_

* Fix pyenv shim identification. (#1325)
  `PR #1325 <https://github.com/pantsbuild/pex/pull/1325>`_

2.1.39
------

A hotfix that fixes a bug present since 2.1.25 that results in infinite
recursion in PEX runtime resolves when handling dependency cycles.

* Guard against cyclic dependency graphs. (#1317)
  `PR #1317 <https://github.com/pantsbuild/pex/pull/1317>`_

Work towards #11946.
  • Loading branch information
jsirois authored Apr 22, 2021
1 parent 6297b1c commit 8df69e3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions 3rdparty/python/constraints.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Generated by build-support/bin/generate_lockfile.sh on Tue Apr 13 10:17:21 PDT 2021
# Generated by build-support/bin/generate_lockfile.sh on Thu Apr 22 03:03:24 PM MDT 2021
ansicolors==1.1.8
attrs==20.3.0
bugout==0.1.11
bugout==0.1.12
certifi==2020.12.5
cffi==1.14.5
chardet==4.0.0
Expand All @@ -14,7 +14,7 @@ iniconfig==1.1.1
mypy==0.812
mypy-extensions==0.4.3
packaging==20.9
pex==2.1.38
pex==2.1.40
pip==20.2.3
pluggy==0.13.1
psutil==5.8.0
Expand Down
2 changes: 1 addition & 1 deletion 3rdparty/python/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ mypy==0.812

packaging==20.9
pathspec==0.8.1
pex==2.1.38
pex==2.1.40
psutil==5.8.0
pystache==0.5.4
# This should be kept in sync with `pytest.py`.
Expand Down
6 changes: 3 additions & 3 deletions src/python/pants/backend/python/util_rules/pex_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class PexBinary(TemplatedExternalTool):
name = "pex"
help = "The PEX (Python EXecutable) tool (https://github.com/pantsbuild/pex)."

default_version = "v2.1.38"
default_version = "v2.1.40"
default_url_template = "https://github.com/pantsbuild/pex/releases/download/{version}/pex"

@classproperty
Expand All @@ -47,8 +47,8 @@ def default_known_versions(cls):
(
cls.default_version,
plat,
"6f1c560b4e06d45b3015dfe28e0fcd1d7fd69e9d559f15b906dc137a83d4d8d7",
"3606563",
"a7032b391c6358dc2f7fe925eba0122f5650873e4a4fe0ef688be6aa59d2d52e",
"3613311",
)
)
for plat in ["darwin", "linux"]
Expand Down

0 comments on commit 8df69e3

Please sign in to comment.