broad-processor-92400
05/16/2024, 4:58 AMpants.toml
to say pants_version = "2.21.0a1"
2. Run your favourite commands, like pants lint ::
3. Run it in your CI, if possible
4. If you have time, take a look at the new features and try out any that are relevant to you!
5. If you find some issues or have some questions, please ask here or file an issue!
This release has got a bunch of good stuff, here's some highlights:
⢠All built-in backends now support the [test].attempts_default
option to automatically retry tests.
⢠Significant speed-ups when manipulating Python dependencies, especially huge ones like PyTorch.
⢠When a pants test ...
run in CI fails, the summary now includes suggested invocation to copy-paste and re-run locally.
⢠The __defaults__
symbol now applies to targets generated by a target generator, in addition to targets written literally in BUILD files.nice-pillow-26422
05/16/2024, 10:27 AMSignificant speed-ups when manipulating Python dependencies, especially huge ones like PyTorch.
wide-midnight-78598
05/16/2024, 12:08 PMpants fix fmt lint ::
- there's about 1.5 to 2 seconds of speed-up (11ish to 13ish seconds) on already passing files.
I haven't deep dived, but it looked like it came from creating the tool pexes (since the runtime of the tools themselves is pretty solid)wide-midnight-78598
05/16/2024, 12:12 PMno-pre-install-wheels
was a tradeoff between cold start vs runtime performance, and on small deps - I assumed it was a washwide-midnight-78598
05/16/2024, 12:16 PMbroad-processor-92400
05/16/2024, 11:44 PM