Metadata-Version: 2.1
Name: pantsbuild.pants.testutil
Version: 2.13.0.dev2
Summary: Test support for writing Pants plugins.
Home-page: https://github.com/pantsbuild/pants
License: Apache License, Version 2.0
Project-URL: Documentation, https://www.pantsbuild.org/
Project-URL: Source, https://github.com/pantsbuild/pants
Project-URL: Tracker, https://github.com/pantsbuild/pants/issues
Project-URL: Changelog, https://www.pantsbuild.org/docs/changelog
Project-URL: Twitter, https://twitter.com/pantsbuild
Project-URL: Slack, https://pantsbuild.slack.com/join/shared_invite/zt-d0uh0mok-RLvVosDiX6JDpvStH~bFBA#/shared-invite/email
Project-URL: YouTube, https://www.youtube.com/channel/UCCcfCbDqtqlCkFEuENsHlbQ
Project-URL: Mailing lists, https://groups.google.com/g/pants-devel
Platform: UNKNOWN
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python
Classifier: Topic :: Software Development :: Build Tools
Classifier: Topic :: Software Development :: Testing
Requires-Python: >=3.7,<3.10
Description-Content-Type: text/markdown
Requires-Dist: pantsbuild.pants (==2.13.0.dev2)
Requires-Dist: pytest (<7.1.0,>=6.2.4)

Pants is an Apache2 licensed build tool written in Python and Rust.

The latest documentation can be found at [pantsbuild.org](https://www.pantsbuild.org/).


# 2.12.x Release Series

## 2.13.0.dev2 (May 14, 2022)

### New Features

* Adds JDK autoconfiguration support to scala BSP metadata setup  ([#15408](https://github.com/pantsbuild/pants/pull/15408))

* Add `lint --skip-formatters` option ([#15427](https://github.com/pantsbuild/pants/pull/15427))

* Support for sharding tests. ([#15417](https://github.com/pantsbuild/pants/pull/15417))

* Add clang-format support for the experimental c/cpp plugin ([#15395](https://github.com/pantsbuild/pants/pull/15395))

* Support setting env vars in individual distribution builds. ([#15422](https://github.com/pantsbuild/pants/pull/15422))

* kotlin: add support for junit tests ([#15382](https://github.com/pantsbuild/pants/pull/15382))

### User API Changes

* Upgrade Pex to 2.1.87. ([#15472](https://github.com/pantsbuild/pants/pull/15472))

* Deprecate `[python].tailor_ignore_solitary_init_files` in favor of more useful `[python].tailor_ignore_empty_init_files` ([#15469](https://github.com/pantsbuild/pants/pull/15469))

* Upgrade default Protoc version to 3.20.1 (native Apple Silicon support) ([#15424](https://github.com/pantsbuild/pants/pull/15424))

* Require that a target's `interpreter_constraints` are a subset of their dependencies' ([#15373](https://github.com/pantsbuild/pants/pull/15373))

* Add `[python-infer].init_files` as more intuitive replacement for `[python-infer].inits` ([#15397](https://github.com/pantsbuild/pants/pull/15397))

### Plugin API Changes

* Move `get_git` deprecation to start in `2.14.0.dev0` ([#15423](https://github.com/pantsbuild/pants/pull/15423))

### Bug fixes

* Only infer an __init__.py dep on a python_sources-generated target. ([#15471](https://github.com/pantsbuild/pants/pull/15471))

* kotlin: the `plugin_id` field on `kotlinc_plugin` target is optional ([#15459](https://github.com/pantsbuild/pants/pull/15459))

* support relative address syntax for JVM compiler plugin artifacts ([#15462](https://github.com/pantsbuild/pants/pull/15462))

* Fix lockfile generation for Docker, Terraform, and Clang-format to not require Python backend ([#15453](https://github.com/pantsbuild/pants/pull/15453))

* Fix boolean logic when merging interpreter constraints. ([#15414](https://github.com/pantsbuild/pants/pull/15414))

* Fix `tags` to work with filesystem arguments, `overrides` field, and `python_tests` ([#15394](https://github.com/pantsbuild/pants/pull/15394))

* Support the `{chroot}` env placeholder for all interactive processes that are not executed in the workspace. ([#15401](https://github.com/pantsbuild/pants/pull/15401))

* Fix `[]` in file names with target generators ([#15383](https://github.com/pantsbuild/pants/pull/15383))

* BSP consumes thirdparty artifacts via their classpath entries, rather than directly from the lockfile. ([#15392](https://github.com/pantsbuild/pants/pull/15392))

### Documentation

* Improve error message for `dependencies` on incompatible Python resolves ([#15416](https://github.com/pantsbuild/pants/pull/15416))

## 2.13.0.dev1 (May 10, 2022)

### New Features

* Initial support for building dists using mypyc. ([#15380](https://github.com/pantsbuild/pants/pull/15380))

* Support dependency inference on vcs_version targets. ([#15385](https://github.com/pantsbuild/pants/pull/15385))

* Support for getting a version string from git. ([#15374](https://github.com/pantsbuild/pants/pull/15374))

* Add `tailor` for `poetry_requirements` and `pipenv_requirements` ([#15352](https://github.com/pantsbuild/pants/pull/15352))

### User API Changes

* Add default mapping for pygithub ([#15361](https://github.com/pantsbuild/pants/pull/15361))

### Bug fixes

* Generalize Docker dep inference for all packageables. ([#15375](https://github.com/pantsbuild/pants/pull/15375))

* Fix `tailor` detection of existing `python_requirements` targets ([#15363](https://github.com/pantsbuild/pants/pull/15363))

* Add the "named args explanation" to other relevant `parametrize` error messages. ([#15362](https://github.com/pantsbuild/pants/pull/15362))

* Use abspath to sandbox in PATH for docker tool shims. ([#15341](https://github.com/pantsbuild/pants/pull/15341))

### Documentation

* Improve `help` and error message for `[python-infer].unowned_dependency_behavior` ([#15334](https://github.com/pantsbuild/pants/pull/15334))

* Disallow `!` patterns in `build_ignore`. ([#15366](https://github.com/pantsbuild/pants/pull/15366))

## 2.13.0.dev0 (May 05, 2022)

### New Features

* BSP compile exposes loose classfiles to allow IntelliJ to invoke tests ([#15347](https://github.com/pantsbuild/pants/pull/15347))

* Add options to turn off `tailor` on a per-language basis ([#15335](https://github.com/pantsbuild/pants/pull/15335))

* Add lz4 support to archive extraction ([#15245](https://github.com/pantsbuild/pants/pull/15245))

* Implement `tailor` goal for Helm charts ([#15191](https://github.com/pantsbuild/pants/pull/15191))

* Write virtualenvs for Python tools as part of `export` ([#15098](https://github.com/pantsbuild/pants/pull/15098))

### User API Changes

* Upgrade hadolint to 2.10.0 and add linux arm64 support ([#15317](https://github.com/pantsbuild/pants/pull/15317))

* Remove `[test].xml_dir`, `[update-build-files].fix_python_macros`, and `[java-infer].third_party_imports` ([#15311](https://github.com/pantsbuild/pants/pull/15311))

* Deprecate `[golang].expected_version` in favor of more flexible `[golang].minimum_expected_version` ([#15306](https://github.com/pantsbuild/pants/pull/15306))

* Upgrade Pex to 2.1.84. ([#15288](https://github.com/pantsbuild/pants/pull/15288))


### Plugin API Changes

* Add `update_env` to `process_execution::local`. ([#15340](https://github.com/pantsbuild/pants/pull/15340))

* Allow for arbitrary suffixes when extracting ([#15257](https://github.com/pantsbuild/pants/pull/15257))

### Bug fixes

* Fix error output of `parametrize()` ([#15339](https://github.com/pantsbuild/pants/pull/15339))

* Don't strip source roots when building dists with an existing setup.py ([#15303](https://github.com/pantsbuild/pants/pull/15303))

* Fix a bug in the python venv export logic. ([#15294](https://github.com/pantsbuild/pants/pull/15294))

* Fix non-determinism of `package_data` in generated `setup.py` files ([#15292](https://github.com/pantsbuild/pants/pull/15292))

* Simplify BSP metadata merging, and handle the empty list. ([#15283](https://github.com/pantsbuild/pants/pull/15283))

* BSP resolve filtering observes computed default values of resolve fields ([#15282](https://github.com/pantsbuild/pants/pull/15282))

* Memoize equality for `CoarsenedTarget(s)` to avoid exponential runtime in `check`. ([#15277](https://github.com/pantsbuild/pants/pull/15277))

* Fix ambiguity of Scala `package object`s with `class` or `object` definitions ([#15265](https://github.com/pantsbuild/pants/pull/15265))

* Fix issue with Docker publish when using `[docker] tools`. ([#15255](https://github.com/pantsbuild/pants/pull/15255))

* Do not lowercase Docker image tags. ([#15254](https://github.com/pantsbuild/pants/pull/15254))

* Fix the placement of the pex verbosity args. ([#15243](https://github.com/pantsbuild/pants/pull/15243))

* Fix use of `@` in path names. ([#15226](https://github.com/pantsbuild/pants/pull/15226))

* Fix lockfile generation for duplicate `jvm_artifact` targets with `jar` fields. ([#15219](https://github.com/pantsbuild/pants/pull/15219))

* Support poetry wildcard requirements. ([#15213](https://github.com/pantsbuild/pants/pull/15213))

* golang: add more cache keys based on tool IDs ([#15205](https://github.com/pantsbuild/pants/pull/15205))

### Performance

* Eagerly skip tools with default lockfiles in `export-lockfiles` goal ([#15304](https://github.com/pantsbuild/pants/pull/15304))

* `MyPy` and `Pylint` partition inputs via `CoarsenedTarget` ([#15141](https://github.com/pantsbuild/pants/pull/15141))

### Documentation

* Improve error message for resolves x interpreter constraints issues ([#15314](https://github.com/pantsbuild/pants/pull/15314))

* Fix `ProtobufSourcesOverridesField` help message ([#15272](https://github.com/pantsbuild/pants/pull/15272))

* Update `help` for python resolves with recent improvements ([#15228](https://github.com/pantsbuild/pants/pull/15228))

* Don't log set up of binary shims ([#15203](https://github.com/pantsbuild/pants/pull/15203))

* Mention resolve when partitioning Mypy and Pylint ([#15172](https://github.com/pantsbuild/pants/pull/15172))


