Skip to content

Commit

Permalink
Bump minimum supported version of Pex to v2.1.129. (pantsbuild#18678)
Browse files Browse the repository at this point in the history
e8d387b made it so the "ambient"
Python interpreter used to run Pex is always the scie-provided interpreter
(currently Python 3.9). This increases the chances that the interpreter used
to run Pex won't match the interpreter constraints configured for user code
in Pants. Until Pex v2.1.129, this mismatch would cause errors when
resolving / building VCS and local project requirements (see
pex-tool/pex#2092). Bump the minimum supported
version of Pex to the first with a fix for that issue, to prevent users pinning
`[pex-cli].version` from silently breaking their setups by upgrading Pants
without also upgrading Pex.

Resolves pantsbuild#18662
  • Loading branch information
danxmoran authored Apr 5, 2023
1 parent a1dfcb9 commit 8a8f957
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 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 PexCli(TemplatedExternalTool):

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

@classproperty
def default_known_versions(cls):
Expand Down

0 comments on commit 8a8f957

Please sign in to comment.