Skip to main content

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.14.x Release Series

2.14.0.dev0 (Jun 25, 2022)

New Features

  • Add repository config option to Docker registries. (#15884)

  • Add __defaults__ BUILD file symbol (#15836)

  • Add option for max wait before terminating interactive process (#15767)

User API Changes

  • Deprecate --use-deprecated-directory-cli-args-semantics and default to false (#15939)

  • Remove deprecated [golang].expected_version in favor of [golang].minimum_expected_version (#15942)

  • Upgrade default iPython to 7.34, which drops Python 3.6 (#15934)

  • Remove deprecated --excluded-target-regexp, --files-not-found-behavior, and --owners-not-found-behavior global options (#15929)

  • Deprecate implicit setting of --remote-cache-{read,write,eager-fetch} with --remote-execution (#15900)

  • Add [scala-infer].force_add_siblings_as_dependencies and deprecate it defaulting to true (#15841)

  • Add --debug-adapter flag to test goal (#15799)

Plugin API Changes

  • Plugin fields should propagate to subclassed target types. (#15876)

  • Introduce a plugin API to provide all thread local state, and deprecate stdio-specific methods (#15890)

  • Add skip_invalid_addresses field to UnparsedAddressInputs (#15864)

  • Add MaybeAddress for infallible evaluation of AddressInput (#15863)

  • Add optional StringSequenceField.valid_choices (#15684)

  • WrappedTarget now requires WrappedTargetRequest (#15789)

  • Move ResolveError from pants.base.exceptions to pants.build_graph.address (#15790)

  • _TargetParametrizations now requires _TargetParametrizationsRequest (#15759)

  • BuildFileAddress now requires BuildFileAddressRequest (#15760)

Bug fixes

  • Assorted remote metrics fixes. (#15914)

  • Fix bad "" description in invalid addresses error messages (#15859)

  • Allow JVM memory controls to bound the process pool size to less than the process parallelism (#15903)

  • Upgrade to nails 0.13.0 to pick up support for JDK >=13. (#15899)

  • Increment the missing-digest backtracking level once per attempt (#15889)

  • Scala: should visit ctor args of base type (#15880)

  • Scala: mark an object that extends another type as recursive (#15865)

  • Fix reporting of time spent downloading files (#15873)

  • Support --help for builtin goals. (#15798)

  • Handle venv path special chars in coursier fetch (#15701)

  • Fix [python-infer].inits and [python-infer].conftests to consider resolve field (#15787)

Performance

  • Dedupe load_bytes_with calls to a remote Store (#15901)

  • Backtrack execution for missing digests to make eager_fetch=false more resilient (#15850)

  • Remove synchronous remote cache lookup from remote execution (#15854)

Documentation

  • Add test debugging doc (#15948)

  • Update certificate environment variable advice for #14808. (#15943)

  • Clarify deprecation messages for tailor and update-build-files requiring CLI arguments (#15932)

  • Fix broken links to tailor documentation (#15842)

  • Update docs for redesign of CLI arguments (#15816)

  • Better error message when an address does not exist (#15788)

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

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page