Skip to content

Commit

Permalink
Upgrade Pex to 2.1.126. (pantsbuild#18408)
Browse files Browse the repository at this point in the history
This picks up a fix for a long standing racy sdist build bug amongst
two or more parallel Pex processes.

The change log is here:
  https://github.com/pantsbuild/pex/releases/tag/v2.1.126
  • Loading branch information
jsirois authored Mar 4, 2023
1 parent f6147ce commit 1a44ab7
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion 3rdparty/python/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ humbug==0.2.7
importlib_resources==5.0.*
ijson==3.1.4
packaging==21.3
pex==2.1.125
pex==2.1.126
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 @@
// "importlib_resources==5.0.*",
// "mypy-typing-asserts==0.1.1",
// "packaging==21.3",
// "pex==2.1.125",
// "pex==2.1.126",
// "psutil==5.9.0",
// "pydevd-pycharm==203.5419.8",
// "pytest<7.1.0,>=6.2.4",
Expand Down Expand Up @@ -1072,21 +1072,21 @@
"artifacts": [
{
"algorithm": "sha256",
"hash": "9b56d1c4399aa25b53fe15682a6544d103a77a15cf9cc0db7019c71940ffbaf3",
"url": "https://files.pythonhosted.org/packages/91/08/1495e676efd182de386c9bb59e7d5c63c17c601fac10d9548185609a0695/pex-2.1.125-py2.py3-none-any.whl"
"hash": "fef7b5536bc07a69388b64a419164b573e25d4aeae503091d832cb5603438e99",
"url": "https://files.pythonhosted.org/packages/66/43/8c5d97f4acbfb38fd3a0e46f235e6e9d9d20f224dffacecd2bb76093e3fd/pex-2.1.126-py2.py3-none-any.whl"
},
{
"algorithm": "sha256",
"hash": "87ad0cf4d55b870051cb3e705deda479e944cf1627e8fd8ecc243a4c8559587d",
"url": "https://files.pythonhosted.org/packages/72/cb/073ae88de4b14b916c12c0786edbe53941db7fea1a6270e3fdb8c2a49544/pex-2.1.125.tar.gz"
"hash": "3fcd6cf993815f2a2ad1d826ea194e35bca3c82f485f9886e9e681e400566b15",
"url": "https://files.pythonhosted.org/packages/75/b5/f12684a46ede450a44fa985ece3a310478208a7ff866c24b8b0b6e1ea089/pex-2.1.126.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.12,>=2.7",
"version": "2.1.125"
"version": "2.1.126"
},
{
"artifacts": [
Expand Down Expand Up @@ -2771,7 +2771,7 @@
}
],
"path_mappings": {},
"pex_version": "2.1.125",
"pex_version": "2.1.126",
"pip_version": "23.0.1",
"prefer_older_binary": false,
"requirements": [
Expand All @@ -2788,7 +2788,7 @@
"importlib_resources==5.0.*",
"mypy-typing-asserts==0.1.1",
"packaging==21.3",
"pex==2.1.125",
"pex==2.1.126",
"psutil==5.9.0",
"pydevd-pycharm==203.5419.8",
"pytest<7.1.0,>=6.2.4",
Expand Down
12 changes: 6 additions & 6 deletions src/python/pants/backend/python/subsystems/lambdex.lock
Original file line number Diff line number Diff line change
Expand Up @@ -54,28 +54,28 @@
"artifacts": [
{
"algorithm": "sha256",
"hash": "9b56d1c4399aa25b53fe15682a6544d103a77a15cf9cc0db7019c71940ffbaf3",
"url": "https://files.pythonhosted.org/packages/91/08/1495e676efd182de386c9bb59e7d5c63c17c601fac10d9548185609a0695/pex-2.1.125-py2.py3-none-any.whl"
"hash": "fef7b5536bc07a69388b64a419164b573e25d4aeae503091d832cb5603438e99",
"url": "https://files.pythonhosted.org/packages/66/43/8c5d97f4acbfb38fd3a0e46f235e6e9d9d20f224dffacecd2bb76093e3fd/pex-2.1.126-py2.py3-none-any.whl"
},
{
"algorithm": "sha256",
"hash": "87ad0cf4d55b870051cb3e705deda479e944cf1627e8fd8ecc243a4c8559587d",
"url": "https://files.pythonhosted.org/packages/72/cb/073ae88de4b14b916c12c0786edbe53941db7fea1a6270e3fdb8c2a49544/pex-2.1.125.tar.gz"
"hash": "3fcd6cf993815f2a2ad1d826ea194e35bca3c82f485f9886e9e681e400566b15",
"url": "https://files.pythonhosted.org/packages/75/b5/f12684a46ede450a44fa985ece3a310478208a7ff866c24b8b0b6e1ea089/pex-2.1.126.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.12,>=2.7",
"version": "2.1.125"
"version": "2.1.126"
}
],
"platform_tag": null
}
],
"path_mappings": {},
"pex_version": "2.1.125",
"pex_version": "2.1.126",
"pip_version": "23.0.1",
"prefer_older_binary": false,
"requirements": [
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 @@ -38,7 +38,7 @@ class PexCli(TemplatedExternalTool):
name = "pex"
help = "The PEX (Python EXecutable) tool (https://github.com/pantsbuild/pex)."

default_version = "v2.1.125"
default_version = "v2.1.126"
default_url_template = "https://github.com/pantsbuild/pex/releases/download/{version}/pex"
version_constraints = ">=2.1.124,<3.0"

Expand All @@ -49,8 +49,8 @@ def default_known_versions(cls):
(
cls.default_version,
plat,
"1da1ef933429f15b218c98c6b960f30adfd0221fc5284c1d8facac09923692f8",
"4080732",
"3bfd60f037b2edd4149067266536e37b4c67263d0db681e492e6071cb1a9adda",
"4080751",
)
)
for plat in ["macos_arm64", "macos_x86_64", "linux_x86_64", "linux_arm64"]
Expand Down

0 comments on commit 1a44ab7

Please sign in to comment.