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.dev1 (Jul 05, 2022)

New Features

  • Add support for extra env variables in go tests (#16013)

  • Add ability to run any PythonSourceField (#15849)

  • Add --debug-adapter flag to run (#15829)

User API Changes

  • Correct deprecation warning for addressing pex_binary targets by filename to 2.15 (#16056)

  • Default scala-infer force_add_siblings_as_dependencies to False. (#16031)

  • Upgrade Pex to 2.1.94. (#16029)

  • Remove python-infer inits option. (#16036)

  • Remove golang expected_version option. (#16033)

  • Remove the filter goal. (#16032)

  • Default --use-deprecated-pex-binary-run-semantics to False. (#16034)

  • Default python tailor_pex_binary_targets to False. (#16035)

  • Deprecate not setting tailor_pex_binary_targets explictly (#15962)

  • tailor and update-build-files require specifying CLI arguments (#15941)

  • Upgrade default version of black to 22.6.0 (#15960)

  • Upgrade default version of pyupgrade to 2.34.0 (#15956)

Plugin API Changes

  • fmt plugins can add new files (#15846)

  • Pants internally uses dedicated Sources and Dependencies fields (#16037)

Bug fixes

  • Fix pantsd TTY handling. (#16038)

  • revert REAPI batch API PRs (#16016)

  • Backtrack through calls from @rules to synchronous engine methods (#15979)

Documentation

  • Fix CI provider table rendering. (#16051)

  • Update docs with 2.12 changes: default Pex lockfile generator, pants.toml env var interpolation, pip VCS requirements, and Python interpreter constraints (#16000)

  • Fix alpha release email template typo. (#16027)

  • Document Docker registries configuration options for skip_push and extra_image_tags. (#16015)

  • Update Python documentation with 2.11 changes (#15857)

  • Update the docs for fmt and test report changes (#15968)

  • Use Markdown h3 for ToC support (#15964)

  • Direct people to a quick form before they join Slack. (#15957)

2.14.0.dev0 (Jun 25, 2022)

New Features

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

  • Add __defaults__ BUILD file symbol (#15836)

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)

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)

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)

Performance

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

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)

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