Pants 2.20.0 is released!
Photo by Jongsun Leed / Unsplash
We are pleased to announce Pants 2.20.0, the latest release of Pantsbuild, the scalable and ergonomic build system. To update, set pants_version = "2.20.0"
in your pants.toml
. If you're not using Pants yet, get started now.
Highlights in 2.20 include:
- โก Support for the Ruff formatter, for both
BUILD
files and normal Python files. - ๐ Built-in support for Terraform lockfiles.
- ๐ Support for more remote-caching providers: file system and GitHub Actions Cache.
- ๐ชฅ New helpers for defining "adhoc" code-quality tools, without requiring a full plugin.
- โ JVM third-party artifacts can now be read from
pom.xml
files, and other related improvements. - ๐ฟ Go 1.22 can now be used.
- ๐ฅ Several features of the Pex tool are now exposed by Pants including
sh_boot
executable
, andcheck
. - โ Pex's
emit_warnings
now works as advertised and comes with a global option. - ๐ Experimental support for Podman with
pants.backend.experimental.docker.podman
. - ๐ And lots of smaller features, bugfixes, and general improvements
Check out the full release notes. Pants is an open-source project, and the changes are all contributed by our community. If you want to see something more in the next changelog, join us on GitHub and become a contributor.
We also offer formal sponsorship tiers for companies, as well as individual sponsorships via GitHub. These help pay for the ongoing development and hosting costs, and are managed by the Pants Build non-profit organization.
To see Pants in action, explore our example repositories:
- example-python
- example-adhoc
- example-codegen
- example-docker
- example-golang
- example-javascript
- example-jvm
- example-kotlin
- example-visibility
And let us know what you think in Slack!
Pants wouldn't be possible without everyone who contributed to 2.20.0, including everyone who shared feedback on changes and who tested release candidates! Thank you very much!