Skip to content

Commit 87e578c

Browse files
committed
1 parent d2325bd commit 87e578c

2 files changed

Lines changed: 7 additions & 6 deletions

File tree

docs/notes/2.33.x.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,13 +70,14 @@ Fixed a bug where the Python Build Standalone provider used a host interpreter p
7070

7171
Fixed dependency validation for Python targets to honor resolve-derived interpreter constraints when `[python].default_to_resolve_interpreter_constraints` is enabled.
7272

73-
The default version of [Pex](https://github.com/pex-tool/pex) used by the Python backend has been upgraded to [`v2.96.1`](https://github.com/pex-tool/pex/releases/tag/v2.96.1). Of particular note for Pants users:
73+
The default version of [Pex](https://github.com/pex-tool/pex) used by the Python backend has been upgraded to [`v2.97.0`](https://github.com/pex-tool/pex/releases/tag/v2.97.0). Of particular note for Pants users:
7474

7575
- Support for [Pip 26.1](https://pip.pypa.io/en/stable/news/#v26-1).
7676
- In [some cases](https://github.com/pex-tool/pex/pull/3159) lockfile creation is significantly faster.
7777
- Fixed `pex3 lock sync` failing to handle multiple input requirements for the same project name.
78+
- The `scie_pbs_stripped` field of `pex_binary` targets can now be combined with `scie_pbs_free_threaded`.
7879

79-
Note that `v2.95.1` is now also the *minimum* required version of Pex. If you're pinning to an earlier version you must upgrade. Pex is very scrupulous about backwards compatibility, so this should not be a problem in general. If the pin was specifically to avoid a bug in Pex, that bug should be [reported](https://github.com/pex-tool/pex/issues/new), after first confirming that there isn't an existing [open issue](https://github.com/pex-tool/pex/issues) for it.
80+
Note that `v2.97.0` is now also the *minimum* required version of Pex. If you're pinning to an earlier version you must upgrade. Pex is very scrupulous about backwards compatibility, so this should not be a problem in general. If the pin was specifically to avoid a bug in Pex, that bug should be [reported](https://github.com/pex-tool/pex/issues/new), after first confirming that there isn't an existing [open issue](https://github.com/pex-tool/pex/issues) for it.
8081

8182
Fixed a bug in Ruff backend where ancestor `__init__.py` files were not included in `fix` partitions which changed how Ruff's importing sorting logic operated. Thie caused `pants fix` to see no need for import sorting even though `pants lint` flagged the need.
8283

src/python/pants/backend/python/util_rules/pex_cli.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@
4141
logger = logging.getLogger(__name__)
4242

4343

44-
_PEX_VERSION = "v2.96.1"
45-
_PEX_BINARY_HASH = "fcb10c5c0f560bb6c5e072f88dcee5123690d5b2aef4e76d75caed733101378b"
46-
_PEX_BINARY_SIZE = 5040040
44+
_PEX_VERSION = "v2.97.0"
45+
_PEX_BINARY_HASH = "cedb222723b5dd68d96997168943c0c932a904e360515c0edd9f85e4bb674cc9"
46+
_PEX_BINARY_SIZE = 5040201
4747

4848

4949
class PexCli(TemplatedExternalTool):
@@ -53,7 +53,7 @@ class PexCli(TemplatedExternalTool):
5353

5454
default_version = _PEX_VERSION
5555
default_url_template = "https://github.com/pex-tool/pex/releases/download/{version}/pex"
56-
version_constraints = ">=2.95.1,<3.0"
56+
version_constraints = ">=2.97.0,<3.0"
5757

5858
# extra args to be passed to the pex tool; note that they
5959
# are going to apply to all invocations of the pex tool.

0 commit comments

Comments
 (0)