:pants: :test_tube: 2.20 approaches! We're close ...
# general
b
👖 🧪 2.20 approaches! We're close to Pants 2.20.0 being released. If you have a chance, it would be great to test the latest RC, which will become the stable release if we don't find any problems. It'll help you if you can do some pre-release testing, even if it's only a little: catching problems that affect you early means that can be fixed quickly! For instance: • Adjust
pants.toml
to have
pants_version = "2.20.0rc2"
, and run your usual commands locally and in your CI • Look over the release notes https://github.com/pantsbuild/pants/blob/main/src/python/pants/notes/2.20.x.md and try any new features or fixes that seem exciting Thank you!
👍 2
b
I migrated to it, no regression so far. I enabled pants.backend.experimental.python.lint.ruff.format and pants.backend.build_files.fmt.ruff; and I am happy with them! Only surprise is that the build files formatter advertise itself as "ruff", which is a bit misleading:
Copy code
$ pants lint ::
18:54:57.04 [INFO] Completed: Lint with `ruff check` - ruff check succeeded.
All checks passed!



18:54:57.04 [INFO] Completed: Format with `ruff format` - ruff format made no changes.
18:54:57.09 [INFO] Completed: Format with Ruff - ruff made no changes.

✓ ruff succeeded.
✓ ruff check succeeded.
✓ ruff format succeeded.
b