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

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 and lint rules for formatters (#14903)

  • Refactor prior_formatter_result and its usage (#14987)

  • Deprecate not implementing TargetGenerator in GenerateTargetsRequest 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 and factory-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

  • add cache key for all Go SDK invocations (#14897)

  • Unify glob-matching implementations to fix malformed snapshot created by subsetting (#14889)

  • Adds ClasspathEntryRequest classification for codegen target generators (#14893)

  • Adds jvm_jdk field to protobufs when the Scala backend is enabled (#14891)

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

pantsbuild.pants.testutil-2.12.0.dev1-py37.py38.py39-none-any.whl (21.2 kB view details)

Uploaded Python 3.7 Python 3.8 Python 3.9

File details

Details for the file pantsbuild.pants.testutil-2.12.0.dev1-py37.py38.py39-none-any.whl.

File metadata

File hashes

Hashes for pantsbuild.pants.testutil-2.12.0.dev1-py37.py38.py39-none-any.whl
Algorithm Hash digest
SHA256 bb6233a806a85e82828927f5ee13e09d7db6a9ea58ee8c5c04f24cd51812e39b
MD5 086f4ebf9c9c9fbbe54ac9ec359efeed
BLAKE2b-256 2c2c23c858fdb3c67d699559da057cfdb7f4f000cbb1f5982f160c4680afd68b

See more details on using hashes here.

Provenance

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