Pants 2.31.0 is released!

Photo by Brett Wharton on Unsplash
We are pleased to announce Pants 2.31.0, the latest release of Pantsbuild, the scalable and ergonomic build system. To update, set pants_version = "2.31.0" in your pants.toml. If you're not using Pants yet, get started now.
Highlights in 2.31 include:
- ๐
pantsdnow preserves web proxy environment variables for environments with restricted internet access. - ๐
shell_commandtargets are now "runnable" by both therungoal and targets likecode_quality_tool. - ๐น Go now compiles with trimpath for reproducible builds
- ๐ฌ
pex_binarytargets can now create fully executable binaries (that is, they "bring their own Python") by leveraging The Science Projects and Pex. - ๐ง A new
pants.backend.experimental.nfpm.native_libsbackend that simplifies the handling of native Linux binary dependency management. - ๐ And a whole bunch of updates, bugfixes, and general improvements!
NOTE: Following prior announcements, Pants 2.31 does not provide x86_64 (aka "Intel") macOS binaries. This flows from the reduced support from GitHub and continued movement in the macOS ecosystem. If you are interested in maintaining and resurrecting support for x86_64 macOS binaries, please reach out.
Check out the full release notes for the accumulation of all those little improvements.
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.
Some Pants maintainers also offer paid consulting for adopting and customizing Pants for your company's needs.
To see Pants in action, explore our example repositories:
- example-python
- example-adhoc
- example-codegen
- example-django
- example-docker
- example-golang
- example-javascript
- example-jvm
- example-kotlin
- example-serverless
- example-visibility
- example-workspace-execution
And let us know what you think in Slack!
Pants wouldn't be possible without everyone who contributed to 2.31.0, including everyone who shared feedback on changes and who tested release candidates! Thank you very much!
