Releases: pex-tool/pex
pex 2.25.1
2.25.1
This is a hotfix release that fixes a bug in the implementation of the
--elide-unused-requires-dist
lock option introduced in Pex 2.25.0.
- Fix
--elide-unused-requires-dist
for unactivated deps. (#2615)
file | sha256 | size |
---|---|---|
pex | 5daf8433125cda9f001ca25806d040bf72627ad2c07e729b4eeb49910ce193ca | 4369034 |
pex-linux-aarch64 | e7d9f3dba5966591d2cf75ca116b5662ed71587c746262b3856d2a31e82787db | 23825085 |
pex-linux-x86_64 | c7c387f055ce313e09d9c686a599dfb13ba97736d65190530f5ca932cdd76a29 | 25507565 |
pex-macos-aarch64 | 722d9d849299b188c02af46af726d51a6bc314c75df88dde2664bcfaabf8e95e | 21600187 |
pex-macos-x86_64 | 36bbe71f5b601b7ded65a85fbe0b52fcc775af0c257e975e0cf7c028c831599c | 22189925 |
pex 2.25.0
2.25.0
This release adds support for
pex3 lock {create,sync} --elide-unused-requires-dist
. This new lock
option causes any dependencies of a locked requirement that can never
be activated to be elided from the lock file. This leads to no material
difference in lock file use, but it does cut down on the lock file size.
- Add
--elide-unused-requires-dist
lock option. (#2613)
file | sha256 | size |
---|---|---|
pex | 801c8be21d757a885714def7d9e3c9a70208c32990cd154bd0e9df53e3a73191 | 4370101 |
pex-linux-aarch64 | d6e1eb855b796ab5c133b73ddc7a3c82db74c2c697ef0ae333be360bdd61f3bf | 23826153 |
pex-linux-x86_64 | 748124669568a9af34e65b0381bb8f9187c6fcd1e3baee6ae75f6fe41bb95129 | 25508621 |
pex-macos-aarch64 | ab9f24e72403b0967b6de0270b1dc2d4ea243f9dd2a54319fd308299388b72ef | 21601256 |
pex-macos-x86_64 | 7202115e933d3d73468dff8b791bed9d86eb15efa4c824681671d785141ee31c | 22190993 |
pex 2.24.3
2.24.3
This release fixes a long-standing bug in resolve checking. Previously,
only resolve dependency chains where checked, but not the resolved
distributions that satisfied the input root requirements.
In addition, the 2.24.2 release included a wheel with no compression
(~11MB instead of ~3.5MB). The Pex wheel is now fixed to be compressed.
- Fix resolve check to cover dists satisfying root reqs. (#2610)
- Fix build process to produce a compressed
.whl
. (#2609)
file | sha256 | size |
---|---|---|
pex | 495bc1a9e3ee04f7ea790dd14cacd023d3f2ba854edd7e05ae437266645881d5 | 4367926 |
pex-linux-aarch64 | 3ebccdcfe538891f65b2caff6ba2481242652cf548d06b51738e453b2c37c1e5 | 23823983 |
pex-linux-x86_64 | 8322a0a9d43542f4e47eaf1684af96a0b3f0bc18904e6c2995821f5ef300be70 | 25506456 |
pex-macos-aarch64 | 2f268523fdd61394361039d569901321d6ebfb2094ab85e9d8a44236ff199219 | 21599082 |
pex-macos-x86_64 | 49fe233e4110bc281d48d974dce3f89873e459b11184c0a44ce346b511fb57ff | 22188826 |
pex 2.24.2
2.24.2
This release fixes a long-standing bug in "YOLO-mode" foreign platform
speculative wheel builds. Previously if the speculatively built wheel
had tags that did not match the foreign platform, the process errored
pre-emptively. This was correct for complete foreign platforms, where
all tag information is known, but not for all cases of abbreviated
platforms, where the failure was overly aggressive in some cases. Now
foreign abbreviated platform speculative builds are only rejected when
there is enough information to be sure the speculatively built wheel
definitely cannot work on the foreign abbreviated platform.
- Accept more foreign
--platform
"YOLO-mode" wheels. (#2607)
file | sha256 | size |
---|---|---|
pex | 7fe02092c7b4b3f8d3ea19fe71ca14c97a85bb1531bc0629f7cabcca57b7ae2c | 4367713 |
pex-linux-aarch64 | 09642741d2cd63bc90b55653e521a9c52cf6391ba4a60f88825dbfd8f749daa6 | 23823763 |
pex-linux-x86_64 | 712ab360854570bc9da9b8dee47ab6817b361ed50c29e8325d2204b00561ab39 | 25506240 |
pex-macos-aarch64 | b4ff481f968f8d148e7d1fba353a19e66f0f1e424efc4c905e0396378c4f7427 | 21598869 |
pex-macos-x86_64 | bc469e714074d97cda4de456661d91a569a69cb9be3fd239bb0633d5aa3024fc | 22188604 |
pex 2.24.1
2.24.1
This release fixes pex3 cache prune
handling of cached Pips.
Previously, performing a pex3 cache prune
would bump the last access
time of all un-pruned cached Pips artificially. If you ran
pex3 cache prune
in a daily or weekly cron job, this would mean Pips
would never be pruned.
- Fix
pex3 cache prune
handling of cached Pips. (#2589)
file | sha256 | size |
---|---|---|
pex | 76cd4ff405618ca936b9e675a00191a29c26a93ef129754ab6824f666e6ac008 | 4361907 |
pex-linux-aarch64 | 82d1f939a0a07525d377ee9ff7016fd7cead6407e11f3e8ddc949fd82a3223c1 | 24107189 |
pex-linux-x86_64 | 633f6129c4bfbeab5e217c66acc1f3c4974af73a0a87f7682cb1e4516ae2bb08 | 27753382 |
pex-macos-aarch64 | 9043cddec0ebdcff427ed0f578138c4ee015c402796a63a53291719ad76300b8 | 21614031 |
pex-macos-x86_64 | 854092acb2c3b8da4aa5e58aaf5c6b8b60386f2a1af92a50e39016c31daa2c43 | 22125040 |
pex 2.24.0
2.24.0
This release adds pex3 cache prune
as a likely more useful Pex cache
management command than the existing pex3 cache purge
. By default
pex3 cache prune
prunes any cached items not used for the last 2
weeks and is likely suitable for use as a daily cron job to keep Pex
cache sizes down. The default age of 2 weeks can be overridden by
specifying --older-than "1 week"
or --last-access-before 14/3/2024
,
etc. See pex3 cache prune --help
for more details.
- Support
pex3 cache prune --older-than ...
. (#2586)
file | sha256 | size |
---|---|---|
pex | 4503977a1974d8ad4de66908d7be7629fcc4ce87ac7ab01b9e54aee3b05f17b2 | 4361850 |
pex-linux-aarch64 | a60523b731c1ce383656d86bc93b47db7a6e822359f8e72d87541ebd6236115e | 24107138 |
pex-linux-x86_64 | fbca4b7117e6dc472b139e1d2d974803a5461ad5b60d434de2151cb29b72d8d0 | 27753330 |
pex-macos-aarch64 | 6803f4b3eed6605234ebfff1aec04cb720b8b5768425c50b2b80870ef59b4280 | 21613981 |
pex-macos-x86_64 | b190b19aa8776dfd2c0b129bee0a2f8bd57bce3871fb5865b01e384fdbbfd0ff | 22124984 |
pex 2.23.0
2.23.0
This release adds support for drawing requirements from
PEP-735 dependency groups when creating PEXes or lock files.
Groups are requested via --group <name>@<project dir>
or just
--group <name>
if the project directory is the current working
directory.
- Add support for PEP-735 dependency groups. (#2584)
file | sha256 | size |
---|---|---|
pex | 30df3d118aeb24a5a60e6d084733462a0f049c3085cc80ae21d3dbfc446a11e4 | 4345631 |
pex-linux-aarch64 | 9e662166967be874e4e75ffa940387416d03764dc558b2cc3ef891874241d4dd | 24090906 |
pex-linux-x86_64 | faad2d7199ce259a771f25e35c056aef8f2e8c0c401c0dbfdc53a939011caca1 | 27737106 |
pex-macos-aarch64 | 310c30cd4b6c692aba2c33f0648d66c49b18b774ce4a77a45d6ee7e9da935ed5 | 21597761 |
pex-macos-x86_64 | 6397f35d525493f2fc80d1c8ec02d77ec744236a81346f072f765863123ef0e4 | 22108763 |
pex 2.22.0
2.22.0
This release adds support for --pip-version 24.3.1
.
- Add support for
--pip-version 24.3.1
. (#2582)
file | sha256 | size |
---|---|---|
pex | 4db2ae01c0a8714e5f15bfbda9429c68e2b842dff8432521751b5b8b2ee6a539 | 4319123 |
pex-linux-aarch64 | b65f723845c969090ac776618dfcf1703b7fc1030c5cc7c9c572cccaaa2ab613 | 24064382 |
pex-linux-x86_64 | b65b2305de9d30ca71bb516d563dcc50e94024b7e6d9f46f1cf3074466817208 | 27710593 |
pex-macos-aarch64 | ce72fd1edeeeea75bbaf1b5fecef8498c134446b9cee5529b213c3dc90726e34 | 21571241 |
pex-macos-x86_64 | 8131673c47ed67e8ec363d41a3886bde3bd3b0e541a3633fb5dff192daf3b2fa | 22082240 |
pex 2.21.0
2.21.0
This release adds support for --pip-version 24.3
.
- Add support for
--pip-version 24.3
. (#2580)
file | sha256 | size |
---|---|---|
pex | c06dd0da495639f429c007d9cf973197c9af034011e64a7e30de33634043b83d | 4319117 |
pex-linux-aarch64 | 10fc338b9c1b06116579c281e1e34ff7f2b97a242252915cb7411868b6a80cfa | 24064375 |
pex-linux-x86_64 | fa1ab10963b727f88b06ed7b79e245bf6a5c8bc7dd3c922ae1a679ae91f9b78c | 27710575 |
pex-macos-aarch64 | c3c21abf63bf57a86e5cb70a5b73beab003b38935f948054fc41b4550fe189ec | 21571231 |
pex-macos-x86_64 | dcc348a2f0a2a7a3a2f7a752de30e6d35299f9c50e57685629e82285d011b381 | 22082231 |
pex 2.20.4
2.20.4
This release carries several bug fixes and a performance improvement for
lock deletes.
Although there were no direct reports in the wild, @iritkatriel noticed
by inspection the Pex safe_mkdir
utility function would mask any
OSError
besides EEXIST
. This is now fixed.
It was observed by @b-x that when PEX_ROOT
was contained in a
symlinked path, PEXes would fail to execute. The most likely case
leading to this would be a symlinked HOME
dir. This is now fixed.
This release also fixes a bug where --pip-log <path>
, used multiple
times in a row against the same file could lead to pex3 lock
errors.
Now the specified path is always truncated before use and a note has
been added to the option --help
that using the same --pip-log
path
in concurrent Pex runs is not supported.
In addition, pex3 lock {update,sync}
is now optimized for the cases
where all the required updates are deletes. In this case neither Pip nor
the network are consulted leading to speed improvements proportional to
the size of the resolve.
- Fix
safe_mkdir
swallowing non-EEXIST
errors. (#2575) - Fix
PEX_ROOT
handling for symlinked paths. (#2574) - Fix
--pip-log
re-use. (#2570) - Optimize pure delete lock updates. (#2568)
file | sha256 | size |
---|---|---|
pex | bddbed460d6b504c3ce2fc3cee124a91e0a9ef157d83c074ef9375a530068785 | 4317976 |
pex-linux-aarch64 | 4dfd16cb9d7d830f88d1aeab33881f16a94c3ba83cb2a7528dfff1d171b45608 | 24063227 |
pex-linux-x86_64 | d10e04d17eae42a66470717abec1c4eb47f0562d5bc3b08425d31e1cc5ebbbe9 | 27709425 |
pex-macos-aarch64 | eae3e0c8b3f0288e0111cebe8877d06430758595e7f20d6e1ed5b677456eaab4 | 21570083 |
pex-macos-x86_64 | 1285a1bef5cefbfbfb0a8cb038ad1eba3a25b94536530dd5b4d463e2d4e5914b | 22081080 |