Metadata-Version: 2.1
Name: pantsbuild.pants.testutil
Version: 2.6.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: pantsbuild.pants (==2.6.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.6.x Stable Releases

## 2.6.0.dev2 (Jun 16, 2021)

### New Features

* Adds `--[no-]watch-filesystem` switch ([#12210](https://github.com/pantsbuild/pants/pull/12210))

### User API Changes

* Deprecate unused `interpreter_constraints` field for `python_awslambda` ([#12208](https://github.com/pantsbuild/pants/pull/12208))

### Plugin API Changes

* Rename remote cache write start and finished metrics ([#12202](https://github.com/pantsbuild/pants/pull/12202))

* Support for custom target types in tailor. ([#12156](https://github.com/pantsbuild/pants/pull/12156))

### Bug fixes

* Fallback to `[python-setup].interpreter_constraints` for `python_distribution` targets with no first-party dependencies ([#12207](https://github.com/pantsbuild/pants/pull/12207))

* Fix remote cache write attempts metric to record even if write does not finish ([#12204](https://github.com/pantsbuild/pants/pull/12204))

* Fix Process output capture re: working_directory. ([#12197](https://github.com/pantsbuild/pants/pull/12197))

* Fix `Key` interning race. ([#12152](https://github.com/pantsbuild/pants/pull/12152))

### Documentation

* Fix relocated files help display. ([#12185](https://github.com/pantsbuild/pants/pull/12185))

* Suggest `-ldebug` and `--no-process-execution-local-cleanup` in exception messages ([#12180](https://github.com/pantsbuild/pants/pull/12180))

## 2.6.0.dev1 (May 29, 2021)

### New Features

* Allow setting `--pantsd-max-memory-usage` with `GiB`, `MiB`, and `KiB` units ([#12123](https://github.com/pantsbuild/pants/pull/12123))

* Register `strip_pex_env` field with pex_binary. ([#12147](https://github.com/pantsbuild/pants/pull/12147))

### User API Changes

* Fix `[python-setup].resolver_jobs` default value to better recognize containers ([#12139](https://github.com/pantsbuild/pants/pull/12139))

* Deprecate broken [lint].reports_dir and make mechanism more flexible ([#12122](https://github.com/pantsbuild/pants/pull/12122))

* Change Docformatter to not try to use Python 2 and Python 3.5 by default ([#12099](https://github.com/pantsbuild/pants/pull/12099))

### Plugin API Changes

* Allow overriding option default help display. ([#12128](https://github.com/pantsbuild/pants/pull/12128))

* Rename `ProcessCacheScope.NEVER` to `ProcessCacheScope.PER_SESSION` ([#12100](https://github.com/pantsbuild/pants/pull/12100))

* Replace `ProcessCacheScope.PER_RESTART` with `ProcessCacheScope.PER_RESTART_ALWAYS` and `ProcessCacheScope.PER_RESTART_SUCCESSFUL` ([#12094](https://github.com/pantsbuild/pants/pull/12094))

### Performance

* add retries for reads and writes from remote CAS ([#12132](https://github.com/pantsbuild/pants/pull/12132))

* Fix --coverage-py-global-report for >9 test files. ([#12144](https://github.com/pantsbuild/pants/pull/12144))

### Documentation

* Clarify the default values for parallelism options ([#12119](https://github.com/pantsbuild/pants/pull/12119))

* Make timeouts in tests less confusing ([#12120](https://github.com/pantsbuild/pants/pull/12120))

* Rewrite error message when Pantsd is shut down during run ([#12107](https://github.com/pantsbuild/pants/pull/12107))

* Fix scheduler initialization log ([#12105](https://github.com/pantsbuild/pants/pull/12105))

## 2.6.0.dev0 (May 19, 2021)

### New Features

* Add support for global coverage reports. ([#12080](https://github.com/pantsbuild/pants/pull/12080))

* Add `extra_env_vars` capability to `python_tests()` ([#12022](https://github.com/pantsbuild/pants/pull/12022))

* Add `pex_binary` support for `--no-strip-pex-env`. ([#12061](https://github.com/pantsbuild/pants/pull/12061))

### User API Changes

* Remove deprecated `[pytest].config` in favor of `[pytest].config_discovery` ([#12033](https://github.com/pantsbuild/pants/pull/12033))

* Remove deprecated `ignore_pants_warnings` in favor of `ignore_warnings` ([#12032](https://github.com/pantsbuild/pants/pull/12032))

* Enforce `[python-setup].resolve_all_constraints` being a bool option ([#12034](https://github.com/pantsbuild/pants/pull/12034))

* Remove experimental and unused `[python-setup].requirement_constraints_target` option and `_python_constraints` target ([#11998](https://github.com/pantsbuild/pants/pull/11998))

### Plugin API Changes

* Rename `PexInterpreterConstraints` to `InterpreterConstraints` and move to dedicated file ([#12021](https://github.com/pantsbuild/pants/pull/12021))

* Add plugin hook for setting up Pytest context ([#12091](https://github.com/pantsbuild/pants/pull/12091))

* Auth plugins can inspect the prior result, set an expiration, and override `--remote-{store,execution}-address` ([#12029](https://github.com/pantsbuild/pants/pull/12029))

### Bug fixes

* Fix `--remote-auth-plugin` and `--remote-oauth-bearer-token-path` to execute every run with Pantsd ([#12020](https://github.com/pantsbuild/pants/pull/12020))

* Fix `module_mapping` to work regardless of capitalization and `-` vs `_` ([#12068](https://github.com/pantsbuild/pants/pull/12068))

* Fix `PEX_ROOT` leak with run and repl goals. ([#12066](https://github.com/pantsbuild/pants/pull/12066))

* Fix constraints resolves to pass additional args. ([#12076](https://github.com/pantsbuild/pants/pull/12076))

* Fix `skip_tool` fields not working with `./pants fmt` ([#12073](https://github.com/pantsbuild/pants/pull/12073))

* Fix Python run for apps that re-exec themselves. ([#12060](https://github.com/pantsbuild/pants/pull/12060))

* Fix remote cache writes memory exhaustion. ([#12087](https://github.com/pantsbuild/pants/pull/12087))

* Halve memory usage for remote cache writes. ([#12083](https://github.com/pantsbuild/pants/pull/12083))

* Fix Shell dependency inference not caching ([#12052](https://github.com/pantsbuild/pants/pull/12052))


