Skip to content

Commit

Permalink
Update PEX to 2.1.152 (#20149)
Browse files Browse the repository at this point in the history
- https://github.com/pantsbuild/pex/releases/tag/v2.1.152 : bug fix for
a regression in 2.1.149 that blocked this upgrade
- https://github.com/pantsbuild/pex/releases/tag/v2.1.151 : support for
an `--exclude`, that'd help with
#19552 and
#19256
- https://github.com/pantsbuild/pex/releases/tag/v2.1.150 : pip 23.3.1
(incl. 23.3) support: https://pip.pypa.io/en/stable/news/#v23-3-1
- https://github.com/pantsbuild/pex/releases/tag/v2.1.149 : bug fix for
a supposedly-rare edge case
  • Loading branch information
huonw authored Nov 12, 2023
1 parent 55dcd4a commit 0391b0a
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion 3rdparty/python/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ fasteners==0.16.3
freezegun==1.2.1
ijson==3.1.4
packaging==21.3
pex==2.1.148
pex==2.1.152
psutil==5.9.0
# This should be compatible with pytest.py, although it can be looser so that we don't
# over-constrain pantsbuild.pants.testutil
Expand Down
18 changes: 9 additions & 9 deletions 3rdparty/python/user_reqs.lock
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
// "mypy-typing-asserts==0.1.1",
// "node-semver==0.9.0",
// "packaging==21.3",
// "pex==2.1.148",
// "pex==2.1.152",
// "psutil==5.9.0",
// "pydevd-pycharm==203.5419.8",
// "pytest<7.1.0,>=6.2.4",
Expand Down Expand Up @@ -909,21 +909,21 @@
"artifacts": [
{
"algorithm": "sha256",
"hash": "b406a54e66855c537182caf618ed2c9167b021ddc8f28a6d570af88cea691101",
"url": "https://files.pythonhosted.org/packages/08/35/3aa30be9d6be587e79d22a53a3d7fea24b4e1f677e9f68fa1042db6914e5/pex-2.1.148-py2.py3-none-any.whl"
"hash": "130998cb57ff3510dba628265ab7b52c0b3f88aaf93a5ca45c06fc7eee05d331",
"url": "https://files.pythonhosted.org/packages/1a/85/c8064384619a498f6d9a35b09e04bd29da3429c1020b9cae60684289645c/pex-2.1.152-py2.py3-none-any.whl"
},
{
"algorithm": "sha256",
"hash": "5d1111dbc39b23d4ec6798792e4017844c46abe738869a04ba7da16a09295179",
"url": "https://files.pythonhosted.org/packages/44/07/05627905adaafbfc4ae71f16fbc944849ba074fa74cda2c9fc93b887361c/pex-2.1.148.tar.gz"
"hash": "b43161dc44f2631961b6ccd57cea381a986b64415e48446de9aee63657c56716",
"url": "https://files.pythonhosted.org/packages/19/8f/2539976fd05dac4cccaf4da6f4dc2907d9ce6d9627148495063c75ba6dd7/pex-2.1.152.tar.gz"
}
],
"project_name": "pex",
"requires_dists": [
"subprocess32>=3.2.7; extra == \"subprocess\" and python_version < \"3\""
],
"requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,<3.13,>=2.7",
"version": "2.1.148"
"version": "2.1.152"
},
{
"artifacts": [
Expand Down Expand Up @@ -2216,8 +2216,8 @@
}
],
"path_mappings": {},
"pex_version": "2.1.148",
"pip_version": "23.2",
"pex_version": "2.1.152",
"pip_version": "23.3.1",
"prefer_older_binary": false,
"requirements": [
"PyGithub==2.0.0rc1",
Expand All @@ -2233,7 +2233,7 @@
"mypy-typing-asserts==0.1.1",
"node-semver==0.9.0",
"packaging==21.3",
"pex==2.1.148",
"pex==2.1.152",
"psutil==5.9.0",
"pydevd-pycharm==203.5419.8",
"pytest<7.1.0,>=6.2.4",
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 @@ -35,7 +35,7 @@ class PexCli(TemplatedExternalTool):
name = "pex"
help = "The PEX (Python EXecutable) tool (https://github.com/pantsbuild/pex)."

default_version = "v2.1.148"
default_version = "v2.1.152"
default_url_template = "https://github.com/pantsbuild/pex/releases/download/{version}/pex"
version_constraints = ">=2.1.135,<3.0"

Expand All @@ -46,8 +46,8 @@ def default_known_versions(cls):
(
cls.default_version,
plat,
"5b1dee5a89fff25747753e917f96b8707ea62eed404d037d5f8cf8f2e80a13b7",
"4197604",
"64640336f60ec06c52ffa174f1b59b39ae1e3894d475ea0ae0abc62c0dda9fac",
"4205187",
)
)
for plat in ["macos_arm64", "macos_x86_64", "linux_x86_64", "linux_arm64"]
Expand Down

0 comments on commit 0391b0a

Please sign in to comment.