Skip to content

Conversation

@sureshjoshi
Copy link
Member

@sureshjoshi sureshjoshi commented Oct 27, 2025

Among other things, this comes with pip 25.3, which could lead to lockfile generation performance improvements (with some potential configuration changes):

pex-tool/pex#2968

@sureshjoshi sureshjoshi added the category:internal CI, fixes for not-yet-released features, etc. label Oct 27, 2025
@jsirois
Copy link
Contributor

jsirois commented Oct 27, 2025

There are no configuration changes besides using --pip-version {25.3,latest,latest-compatible}. The Pip 25.3 speed bump only applies to --dry-run installs which Pex switched to by default in Pex 2.64.0 (The --avoid-downloads option, which defaults on for every Pip save vendored aka 20.3.4).

N.B.: For every second saved locking, that second awaits you when later using the lock and downloading. So the speedup is only for "lock engineering" and not overall. Overall (lock create + use lock to do something) is a wash.

The Ruff tool has been upgraded from 0.12.5 to [0.13.0](https://astral.sh/blog/ruff-v0.13.0) by default.

The version of [Pex](https://github.com/pex-tool/pex) used by the Python backend has been upgraded to [`v2.61.1`](https://github.com/pex-tool/pex/releases/tag/v2.61.1). Among other changes and bugfixes, this includes support for the Python 3.15 alpha series.
The version of [Pex](https://github.com/pex-tool/pex) used by the Python backend has been upgraded to [`v2.66.0`](https://github.com/pex-tool/pex/releases/tag/v2.66.0). Among other changes and bugfixes, this includes support for the Python 3.15 alpha series and defaults to pip 25.3.
Copy link
Contributor

@jsirois jsirois Oct 27, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not True. You can use Pip 25.3 but Pex does not default to it unless you use --pip-version {latest,latest-compatible}, which I think Pants itself does, perhaps confusing you here.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, yeah, re-wrote that twice and confused myself - to different audiences. Pants gets the auto-25.3 because we use latest, and for users I meant to tack it on to the "includes support" previous part of the sentence

@sureshjoshi
Copy link
Member Author

N.B.: For every second saved locking, that second awaits you when later using the lock and downloading. So the speedup is only for "lock engineering" and not overall. Overall (lock create + use lock to do something) is a wash.

Yep

@sureshjoshi sureshjoshi enabled auto-merge (squash) October 28, 2025 01:39
@sureshjoshi sureshjoshi merged commit 238a20a into pantsbuild:main Oct 28, 2025
28 checks passed
@sureshjoshi sureshjoshi deleted the pex-266 branch October 30, 2025 18:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

category:internal CI, fixes for not-yet-released features, etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants