Skip to content

Commit

Permalink
Upgrade Pex to 2.1.134. (pantsbuild#18785)
Browse files Browse the repository at this point in the history
This pulls in a fix for locking certain sdists with setuptools PEP-517 
build backends that still use setup_requires.

See the release notes here:
  https://github.com/pantsbuild/pex/releases/tag/v2.1.134
  • Loading branch information
jsirois authored Apr 22, 2023
1 parent 71a55b4 commit ce49199
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 24 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.133
pex==2.1.134
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
26 changes: 13 additions & 13 deletions 3rdparty/python/user_reqs.lock
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
// "mypy-typing-asserts==0.1.1",
// "node-semver==0.9.0",
// "packaging==21.3",
// "pex==2.1.133",
// "pex==2.1.134",
// "psutil==5.9.0",
// "pydevd-pycharm==203.5419.8",
// "pytest<7.1.0,>=6.2.4",
Expand Down Expand Up @@ -940,13 +940,13 @@
"artifacts": [
{
"algorithm": "sha256",
"hash": "03ba783c3a2c69d751b109fc0c94a62c51f581b3d6acf8ed1331b6d5729321ff",
"url": "https://files.pythonhosted.org/packages/50/a2/75da1ccf2cc043aeb866e18c9a196f0b42abfe5d421c657019c68ebec1e9/importlib_metadata-6.5.0-py3-none-any.whl"
"hash": "cd4687a8df60d9aefd424ed9364a8f29def203a9482ec8eb8e8070ef06075f89",
"url": "https://files.pythonhosted.org/packages/ab/30/ee571b05f6486a2f47954d76bd65ec357da2c59b069a5ec66a7197e6bf88/importlib_metadata-6.5.1-py3-none-any.whl"
},
{
"algorithm": "sha256",
"hash": "7a8bdf1bc3a726297f5cfbc999e6e7ff6b4fa41b26bba4afc580448624460045",
"url": "https://files.pythonhosted.org/packages/9d/ce/dc7221b3044c7382d5abad27d2599e63b0e0ccabc49491244203ee1ded96/importlib_metadata-6.5.0.tar.gz"
"hash": "b986d197242e4e9960a12743a6ec5a9fc8b3d7054612d90489452170785c98a5",
"url": "https://files.pythonhosted.org/packages/b8/dd/6bb4cf11470be75cb648812cd965b8695e121838c868b5637aaa54abd8db/importlib_metadata-6.5.1.tar.gz"
}
],
"project_name": "importlib-metadata",
Expand Down Expand Up @@ -975,7 +975,7 @@
"zipp>=0.5"
],
"requires_python": ">=3.7",
"version": "6.5.0"
"version": "6.5.1"
},
{
"artifacts": [
Expand Down Expand Up @@ -1087,21 +1087,21 @@
"artifacts": [
{
"algorithm": "sha256",
"hash": "f9eec0d04cb3b85ee0bc339c3d01ef442b633630cc1715d6a5b7121c5f56b602",
"url": "https://files.pythonhosted.org/packages/e2/98/fdd4032c9a9d9ba3db5bf837fdd2ead7bc629facad572c8edc926e8685be/pex-2.1.133-py2.py3-none-any.whl"
"hash": "13700c2c5b792b9c14576a7235b1063e01cb1c537197d606cb98c9e2191e0650",
"url": "https://files.pythonhosted.org/packages/2f/0f/9852900735ea85f793a47c35af4c28e24c2ae5b94dd5a3fdb34bc2f98b18/pex-2.1.134-py2.py3-none-any.whl"
},
{
"algorithm": "sha256",
"hash": "a02fede76ded2ddde277294c9179f82f0cac2b44d208b04c5b687c405e83fafe",
"url": "https://files.pythonhosted.org/packages/b6/82/a0b6d0a35b59d30504cfd7bc6eb38916932752e5aaef8ce5d328cb49acec/pex-2.1.133.tar.gz"
"hash": "85587c37f79324be47a7121490bb270fdf39ce6d691a70f960383027fdcde9d5",
"url": "https://files.pythonhosted.org/packages/37/b1/fd95e7c5bdf88cb92e25e5aa5e707feae2b94b72c5aace6e2037c8447bed/pex-2.1.134.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.133"
"version": "2.1.134"
},
{
"artifacts": [
Expand Down Expand Up @@ -2791,7 +2791,7 @@
}
],
"path_mappings": {},
"pex_version": "2.1.133",
"pex_version": "2.1.134",
"pip_version": "23.1",
"prefer_older_binary": false,
"requirements": [
Expand All @@ -2809,7 +2809,7 @@
"mypy-typing-asserts==0.1.1",
"node-semver==0.9.0",
"packaging==21.3",
"pex==2.1.133",
"pex==2.1.134",
"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": "f9eec0d04cb3b85ee0bc339c3d01ef442b633630cc1715d6a5b7121c5f56b602",
"url": "https://files.pythonhosted.org/packages/e2/98/fdd4032c9a9d9ba3db5bf837fdd2ead7bc629facad572c8edc926e8685be/pex-2.1.133-py2.py3-none-any.whl"
"hash": "13700c2c5b792b9c14576a7235b1063e01cb1c537197d606cb98c9e2191e0650",
"url": "https://files.pythonhosted.org/packages/2f/0f/9852900735ea85f793a47c35af4c28e24c2ae5b94dd5a3fdb34bc2f98b18/pex-2.1.134-py2.py3-none-any.whl"
},
{
"algorithm": "sha256",
"hash": "a02fede76ded2ddde277294c9179f82f0cac2b44d208b04c5b687c405e83fafe",
"url": "https://files.pythonhosted.org/packages/b6/82/a0b6d0a35b59d30504cfd7bc6eb38916932752e5aaef8ce5d328cb49acec/pex-2.1.133.tar.gz"
"hash": "85587c37f79324be47a7121490bb270fdf39ce6d691a70f960383027fdcde9d5",
"url": "https://files.pythonhosted.org/packages/37/b1/fd95e7c5bdf88cb92e25e5aa5e707feae2b94b72c5aace6e2037c8447bed/pex-2.1.134.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.133"
"version": "2.1.134"
}
],
"platform_tag": null
}
],
"path_mappings": {},
"pex_version": "2.1.133",
"pex_version": "2.1.134",
"pip_version": "23.0.1",
"prefer_older_binary": false,
"requirements": [
Expand Down
8 changes: 4 additions & 4 deletions src/python/pants/backend/python/util_rules/pex_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ class PexCli(TemplatedExternalTool):
name = "pex"
help = "The PEX (Python EXecutable) tool (https://github.com/pantsbuild/pex)."

default_version = "v2.1.133"
default_version = "v2.1.134"
default_url_template = "https://github.com/pantsbuild/pex/releases/download/{version}/pex"
version_constraints = ">=2.1.132,<3.0"
version_constraints = ">=2.1.134,<3.0"

@classproperty
def default_known_versions(cls):
Expand All @@ -46,8 +46,8 @@ def default_known_versions(cls):
(
cls.default_version,
plat,
"2b1e4eaeeebedb939af33cfdade5d260003488f55864e18a13355804586b42b6",
"4084722",
"82b24645769c19483c1306c1ba7a888471a5e1df3a2b538788bc7e0d1b20dbf0",
"4085867",
)
)
for plat in ["macos_arm64", "macos_x86_64", "linux_x86_64", "linux_arm64"]
Expand Down

0 comments on commit ce49199

Please sign in to comment.