Skip to main content

Pants 2.23.0 is released!

ยท 3 min read
Benjy Weinberger
Pants Co-creator and Maintainer

We are pleased to announce Pants 2.23.0, the latest release of Pantsbuild, the scalable and ergonomic build system. To update, set pants_version = "2.23.0" in your pants.toml. If you're not using Pants yet, get started now.

The previous release, 2.22.0, suffered from delays in its release cycle. So this 2.23.0 release is a relatively fast follow, and does not introduce major upheavals.

A couple of administrative reminders:

  • The annual Pants user survey is open through the end of 2024. The results will be used to assist the Pants maintainers and contributors to better understand areas where Pants may need work, so your feedback is vital!
  • We're very proud that Pants now has its first sponsors! We are very grateful to Klayvio and Normal Computing for their Platinum tier support, and to Continua and Stormfish for their Silver tier support. Sponsoring is a way for companies that use Pants to support the project while engaging more closely with the community. Want to support Pants? Find out more about our sponsorship opportunities and the associated benefits at each tier.

Highlights in 2.23 include:

  • ๐ŸŒ– Due to deprecations by GitHub, the minimum supported glibc version for Pants wheels is now 2.28. Unless you are running Pants with in-repo plugins on a Linux distro from before 2018, this should have no effect.
  • โœจ A new backend for the buildifier BUILD file formatter.
  • ๐Ÿ” Two new experimental backends: nFPM and Trufflehog. Try them out and let us know how it goes!
  • ๐Ÿ”€ Better dependency inference for Dockerfiles.
  • ๐Ÿš‰ Improvements to platform handling in Python function-as-a-service targets.
  • โ›ฐ๏ธ Enhancements to Terraform lockfiles and caching.
  • ๐Ÿ“ˆ And lots of smaller features, update, bugfixes, and general improvements.

As in the previous release, in 2.23.x we continue to run both the new and the legacy options systems concurrently and compare the results, issuing warnings if there are any discrepancies. If you do encounter discrepancies that you can't resolve on your own, please reach out to us!.

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.

As mentioned above, we 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:

And let us know what you think in Slack!

Pants wouldn't be possible without everyone who contributed to 2.23.0, including everyone who shared feedback on changes and who tested release candidates! Thank you very much!