Test support for writing Pants plugins.
Project description
Pants is an Apache2 licensed build tool written in Python and Rust.
The latest documentation can be found at pantsbuild.org.
2.12.x Release Series
2.12.0.dev2 (Apr 11, 2022)
New Features
-
Support for env var interpolation in config files. (#15087)
-
Support for finer control over which Docker images to push. (#15000)
-
Add a helpful hint to
lint
if a formatter fails (#15048) -
Add support for Helm 3rd party dependencies (#14964)
User API Changes
-
Default
[python].lockfile_generator
to Pex (#15074) -
Upgrade Pex to 2.1.78. (#15078)
-
terraform: remove
terraform_modules
generator target type (#15035) -
Upgrade to Pex 2.1.77. (#15015)
-
Change JVM defaults to use Temurin JDK distribution (#15009)
Plugin API Changes
-
Remove deprecated
register_options
support. (#15090) -
Remove deprecated target generator API affordances. (#15091)
-
Add
@rule_helper
decorator, which participates in awaitable collection (#15025)
Bug fixes
-
Enable codegen on relocated files (#15100)
-
Preserve tombstones for workunits which complete while they still have children (#15088)
-
Clean the export dir under dist/ before populating it. (#15068)
-
Do not use a repository-PEX if a PEX has platforms specified (#15031)
-
Fix default layout and use of PEX-repositories for legacy lockfiles (#15014)
-
Pin pytest 7.0.1 (#14997)
Documentation
-
files/dirs swapped in Snapshot's repr (#15101)
-
Tweak deprecation messages. (#15027)
-
Add some codegen and terraform backends to docs generator (#15036)
-
Text in angle brackets needs to be escaped for the docsite. (#15046)
-
Fix presented provider backend for rules/subsystems. (#14999)
2.12.0.dev1 (Apr 05, 2022)
New Features
-
Support restricting specific requirements to just wheels or just sdists. (#14985)
-
Add support for Helm unittest (#14849)
-
Add support for parsing address parameters to CLI specs parsing (#14949)
User API Changes
-
Merge list values across config files. (#14850)
-
Write test reports to a standard location under the distdir. (#14929)
-
Upgrade Pex to 2.1.76. (#14992)
-
Upgrade coursier to v2.1.0-M5-18-gfebf9838c (#14978)
Plugin API Changes
-
"Unify"
fmt
andlint
rules for formatters (#14903) -
Refactor
prior_formatter_result
and its usage (#14987) -
Deprecate not implementing
TargetGenerator
inGenerateTargetsRequest
implementors. (#14959)
Bug fixes
-
add go protobuf backend to init/BUILD (#14979)
-
Fix Pylint config check strings (#14946)
-
Fix missing
check
output by allowing disabled workunits to re-enable themselves (#14934) -
Fix unrecognized field error and
update-build-files
to handle target generator moved fields (#14847)
Performance
- Make PEX lockfile subsetting incremental (#14944)
Documentation
- Don't warn if no relevant targets in glob or --changed. (#14904)
2.12.0.dev0 (Mar 25, 2022)
New Features
-
Add Protobuf formatting using buf format (#14907)
-
add registration for the Go Protobuf backend (#14874)
User API Changes
-
Remove
--use-deprecated-python-macros
in favor of always using target generators (#14842) -
Add
django-dotenv
,django-safedelete
andfactory-boy
to default Python module mapping (#14848) -
Add cattrs to Python's DEFAULT_MODULE_MAPPING (#14845)
-
hcl parser 3.0.5 (#14878)
Plugin API Changes
- FmtResult now operates on Snapshots (#14865)
Bug fixes
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for pantsbuild.pants.testutil-2.12.0.dev2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f9d40ff00d29af82102ac5bf6d46bfbcd92d547a0a415dbec26e8751df241d5a |
|
MD5 | b45bf9d70da897bbc7120529272a852e |
|
BLAKE2b-256 | d7ec5af0cdb76495a3963a82f01f34cc77e859b6ba0454ef1812e6796a5a2b7f |