Skip to content

Commit

Permalink
Upgrade to PEX 2.1.156 (#20391)
Browse files Browse the repository at this point in the history
https://github.com/pantsbuild/pex/releases/tag/v2.1.156

Continuing from #20347, this brings additional performance
optimisations, particularly for large wheels like PyTorch, and so may
help with #18293,
#18965,
#19681
  • Loading branch information
huonw authored Jan 11, 2024
1 parent b8c5fbf commit db14a10
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 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.155
pex==2.1.156
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
16 changes: 8 additions & 8 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.155",
// "pex==2.1.156",
// "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": "c0edd74bf00c4cc73f4b0117498113d9eb6ea05c0d219936fe1686306d029d05",
"url": "https://files.pythonhosted.org/packages/07/90/1cb58e83604eb82436bc72a431a3a693d4db4cc81eed8fb56accc02ac1d2/pex-2.1.155-py2.py3-none-any.whl"
"hash": "e7c00fe6f12f6b2ed57ab8e55c4d422647b30e25a4a275cfbc3d3b0bc26e774a",
"url": "https://files.pythonhosted.org/packages/f6/88/bbee170b731c326ec90fc79ad13d10f834be56b0b449affa2b1855ee026d/pex-2.1.156-py2.py3-none-any.whl"
},
{
"algorithm": "sha256",
"hash": "ec5b4d84a227e167d9f10234f7226d2fb09d561fe0b9a92e69ca8ce9c8d9813f",
"url": "https://files.pythonhosted.org/packages/59/ab/7563b395f5a7701ca0952fecd2f5bf755fdf5565340e63e0a957bdc42e27/pex-2.1.155.tar.gz"
"hash": "542ecb457c21f5ae8fa749894098e1c54e8639628efee70ece7f89da602aa4c2",
"url": "https://files.pythonhosted.org/packages/92/2c/75759b0c4f8a909014f7a78be7e1ea237354b2b8b94c7475408e5038299a/pex-2.1.156.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.155"
"version": "2.1.156"
},
{
"artifacts": [
Expand Down Expand Up @@ -2212,7 +2212,7 @@
}
],
"path_mappings": {},
"pex_version": "2.1.155",
"pex_version": "2.1.156",
"pip_version": "23.3.2",
"prefer_older_binary": false,
"requirements": [
Expand All @@ -2229,7 +2229,7 @@
"mypy-typing-asserts==0.1.1",
"node-semver==0.9.0",
"packaging==21.3",
"pex==2.1.155",
"pex==2.1.156",
"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.155"
default_version = "v2.1.156"
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,
"421dc73e900648fbc26cb4e1f4be57bf91e4481ede224aedf174b47b9ab9f73a",
"3665792",
"b606aefcc5da71b16fd483ecf2114703332fb85e279825afdae45c05c975974b",
"3666831",
)
)
for plat in ["macos_arm64", "macos_x86_64", "linux_x86_64", "linux_arm64"]
Expand Down

0 comments on commit db14a10

Please sign in to comment.