Metadata-Version: 2.1
Name: pantsbuild.pants.testutil
Version: 2.4.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
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
Description-Content-Type: text/x-rst
Requires-Dist: ansicolors (==1.1.8)
Requires-Dist: pantsbuild.pants (==2.4.0.dev2)
Requires-Dist: pytest (<6.3,>=6.0.1)

Pants is an Apache2 licensed build tool written in Python.

The latest documentation can be found at `pantsbuild <https://www.pantsbuild.org/>`_.


# 2.4.x Stable Releases

See https://www.pantsbuild.org/v2.4/docs/release-notes-2-4 for an overview of the changes in this release series.

## 2.4.0.dev2 (Mar 12, 2021)

### New Features

* Add a default `module_mapping` for Python 3rd-party dependency inference. ([#11635](https://github.com/pantsbuild/pants/pull/11635))

### User API Changes

* Warn when depending on `files` targets in a `pex_binary` or `python_awslambda` ([#11659](https://github.com/pantsbuild/pants/pull/11659))

* Bump default for `[python-protobuf].mypy_plugin_version` to 2.4 ([#11662](https://github.com/pantsbuild/pants/pull/11662))

### Plugin API Changes

* Require subclassing `WorkunitsCallback` ([#11677](https://github.com/pantsbuild/pants/pull/11677))

### Bug fixes

* Fix the `local_only` option to properly disable remote execution and caching ([#11678](https://github.com/pantsbuild/pants/pull/11678))

* Fix PYTHONPATH not including protobuf targets using `python_source_root`  ([#11673](https://github.com/pantsbuild/pants/pull/11673))

* Fix streaming workunit handler plugins to log to console during run ([#11674](https://github.com/pantsbuild/pants/pull/11674))

* Avoid std::io::std usage in UI fallback. ([#11671](https://github.com/pantsbuild/pants/pull/11671))

* Improve phrasing for "unknown goal" and "unknown flag" errors. ([#11664](https://github.com/pantsbuild/pants/pull/11664))

* Do not interpret passthrough args. ([#11656](https://github.com/pantsbuild/pants/pull/11656))

### Performance

* Streaming workunit handler can finalize async when pantsd used ([#11683](https://github.com/pantsbuild/pants/pull/11683))

## 2.4.0.dev1 (Mar 08, 2021)

### New Features

* Add support for Pytest config files ([#11624](https://github.com/pantsbuild/pants/pull/11624))

### Plugin API Changes

* Add Python tool support for console scripts. ([#11620](https://github.com/pantsbuild/pants/pull/11620))

* Require explicit environment usage ([#11641](https://github.com/pantsbuild/pants/pull/11641))

### Bug fixes

* Upgrade to Pex 2.1.33 to fix `et-xmlfile` issue. ([#11647](https://github.com/pantsbuild/pants/pull/11647))

* Ensure that ancestor files at the buildroot are found. ([#11632](https://github.com/pantsbuild/pants/pull/11632))

* Handle two edge cases with `./pants tailor` ([#11625](https://github.com/pantsbuild/pants/pull/11625))

### Documentation

* Wrap `./pants help` based on actual terminal width ([#11378](https://github.com/pantsbuild/pants/pull/11378))

* Fix references to the deprecated pants log location. ([#11636](https://github.com/pantsbuild/pants/pull/11636))

## 2.4.0.dev0 (Feb 27, 2021)

### New Features

* Add `--stats-log` to log metrics at end of run ([#11599](https://github.com/pantsbuild/pants/pull/11599))

### User API Changes

* Deprecate --python-setup-resolver-version option. ([#11611](https://github.com/pantsbuild/pants/pull/11611))

* Remove deprecated --remote-store options. ([#11609](https://github.com/pantsbuild/pants/pull/11609))

* Remove deprecated --process-execution-speculation options. ([#11610](https://github.com/pantsbuild/pants/pull/11610))

* Remove deprecated `--remote-execution-server` and `--remote-store-server` options ([#11603](https://github.com/pantsbuild/pants/pull/11603))

* Deprecate unused `--process-execution-local-enable-nailgun` ([#11600](https://github.com/pantsbuild/pants/pull/11600))

### Bug fixes

* Upgrade Pex to 2.1.32 to fix venv script shebangs being too long for some Linux systems. ([#11604](https://github.com/pantsbuild/pants/pull/11604))

### Performance

* Release the Pants PEX in `--venv` mode. ([#11591](https://github.com/pantsbuild/pants/pull/11591))

### Documentation

* Less chatty plugin resolution logging ([#11593](https://github.com/pantsbuild/pants/pull/11593))



