Introducing Pants Build 2.4.0
The latest stable release of Pants is out!
This version introduces opt-in anonymous telemetry, to provide the Pants maintainers with data to help detect and fix bugs and drive development decisions. We've gone to great lengths to ensure that the data is fully anonymized (see link for details) and we hope you'll choose to opt in.
Other notable new features and bugfixes include:
- A warning when an inferred dependency is skipped due to ambiguity, and allowing the ambiguity to be resolved by explicitly including or excluding dependency choices.
- Enabled use of Pytest plugins that write output to files, such as
- Support for Pytest config files (e.g.
--stats-logoption for insights on cache behavior.
- A default
module_mappingfor Python 3rd party dependency inference. Previously, when a 3rdparty top-level package name was not the same as the distribution name (such as
pkg_resourcesbeing provided by
setuptools), you had to provide explicit mapping information. Now Pants can handle many such common cases automatically.
- Fixed an issue that could in some cases prevent code-generated sources from having valid source roots.
Try out Pants 2.4.0 today! We'd love to hear from you with any impressions, opinions, questions and bug reports.
Thanks to everyone who contributed to the 2.4.0 release. Now, onward to 2.5.0!