Metadata-Version: 2.1
Name: pantsbuild.pants.testutil
Version: 2.9.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
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/markdown
Requires-Dist: pantsbuild.pants (==2.9.0.dev2)
Requires-Dist: pytest (<6.3,>=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.9.x Release Series

## 2.9.0.dev2 (Nov 18, 2021)

### New Features

* [jvm] Add support for compiling cycles between Java and Scala ([#13653](https://github.com/pantsbuild/pants/pull/13653))

* [jvm]: Add Export types to dependency inference code and include exports in compile results for Java sources ([#13603](https://github.com/pantsbuild/pants/pull/13603))

* Allow tailor to pick up `docker_image` targets for any file with "Dockerfile" in it ([#13601](https://github.com/pantsbuild/pants/pull/13601))

* [jvm] Add Scala consumed-symbols inference. ([#13632](https://github.com/pantsbuild/pants/pull/13632))

* [jvm] Add basic extraction of consumed symbols for Scala ([#13628](https://github.com/pantsbuild/pants/pull/13628))

### User API Changes

* Report standard backends in anonymous telemetry ([#13670](https://github.com/pantsbuild/pants/pull/13670))

* Add `[twine].ca_certs_path` option. ([#13593](https://github.com/pantsbuild/pants/pull/13593))

* Bump twine to 3.6.0 and add tool lockfile ([#13594](https://github.com/pantsbuild/pants/pull/13594))

* Ban `*` globs and `!` ignores in `source: str` field ([#13629](https://github.com/pantsbuild/pants/pull/13629))

### Bug fixes

* Pass Docker env vars to `docker publish`. ([#13669](https://github.com/pantsbuild/pants/pull/13669))

* Fix download URL for `grpc_python_plugin` on macos. ([#13656](https://github.com/pantsbuild/pants/pull/13656))

* Fix Python dependency inference breaking with `python_source` targets ([#13627](https://github.com/pantsbuild/pants/pull/13627))

* Fix swallowing of git stderr. ([#13626](https://github.com/pantsbuild/pants/pull/13626))

* Register skip fields for python linters and mypy also on the `python_test_utils` target. ([#13616](https://github.com/pantsbuild/pants/pull/13616))

## 2.9.0.dev1 (Nov 13, 2021)

### New Features

* Add `instructions` field to `docker_image` to support generating the Dockerfile ([#13386](https://github.com/pantsbuild/pants/pull/13386))

* Add `--unowned-dependency-behavior` option for Python ([#13491](https://github.com/pantsbuild/pants/pull/13491))

### User API Changes

* Upgrade default pylint to v2.11.1 ([#13585](https://github.com/pantsbuild/pants/pull/13585))

### Plugin API Changes

* [plugin-api] Add `default_glob_match_error_behavior` to `SourcesField`. ([#13578](https://github.com/pantsbuild/pants/pull/13578))

### Bug fixes

* Fix `--no-print-stacktrace`. ([#13539](https://github.com/pantsbuild/pants/pull/13539))

### Performance

* Do not invalidate parent paths when only file content has changed ([#13566](https://github.com/pantsbuild/pants/pull/13566))

* Fix caching of binary lookups and avoid re-running `pytest` setup for environment changes ([#13559](https://github.com/pantsbuild/pants/pull/13559))

* Fix slow performance from recursive `__repr__` and `__hash__` for Go ([#13492](https://github.com/pantsbuild/pants/pull/13492))

* Go: improve performance of first-party package analysis ([#13476](https://github.com/pantsbuild/pants/pull/13476))

### Documentation

* Fix `tailor` confusion with macros vs. targets ([#13574](https://github.com/pantsbuild/pants/pull/13574))

## 2.9.0.dev0 (Nov 03, 2021)

### New Features

* Add overrides to python_requirements and poetry_requirements ([#13458](https://github.com/pantsbuild/pants/pull/13458))

* Add `--tailor-check` ([#13432](https://github.com/pantsbuild/pants/pull/13432))

* An option to not clean up the binary chroot for the run goal. ([#13427](https://github.com/pantsbuild/pants/pull/13427))

* Add `[tailor].ignore_paths` and `[tailor].ignore_adding_targets` ([#13422](https://github.com/pantsbuild/pants/pull/13422))

* Validate that `[tailor].build_file_name` is compatible with `[GLOBAL].build_patterns` ([#13420](https://github.com/pantsbuild/pants/pull/13420))

### User API Changes

* Remove deprecated `pex_binary` fields. ([#13479](https://github.com/pantsbuild/pants/pull/13479))

* Remove deprecated --pants-supportdir. ([#13473](https://github.com/pantsbuild/pants/pull/13473))

* Remove setup_py_commands from python_distribution. ([#13450](https://github.com/pantsbuild/pants/pull/13450))

* Remove deprecated `InferredDependencies.sibling_dependencies_inferrable` kwarg ([#13440](https://github.com/pantsbuild/pants/pull/13440))

* `CheckResults` no longer accepts deprecated `typechecker_name` kwarg ([#13434](https://github.com/pantsbuild/pants/pull/13434))

* Remove deprecated `[pytest].junit_xml_dir` option. ([#13444](https://github.com/pantsbuild/pants/pull/13444))

* Remove deprecated `--list-provides` option ([#13441](https://github.com/pantsbuild/pants/pull/13441))

* Remove deprecated `module_mapping` and `type_stubs_module_mapping` fields ([#13442](https://github.com/pantsbuild/pants/pull/13442))

* Remove `entry_point=<none>` for `pex_binary` in favor of leaving off the field ([#13443](https://github.com/pantsbuild/pants/pull/13443))

* Remove deprecated `Sources` type in favor of `SourcesField` ([#13439](https://github.com/pantsbuild/pants/pull/13439))

* Remove deprecated `requirements_relpath` from `python_requirements` macro ([#13437](https://github.com/pantsbuild/pants/pull/13437))

* Remove deprecated `protobuf_library`, `python_library`, `shell_library`, and `python_requirement_library` target aliases ([#13429](https://github.com/pantsbuild/pants/pull/13429))

* Remove deprecated `--peek-output` ([#13433](https://github.com/pantsbuild/pants/pull/13433))

* Remove dependencies goal deprecated --type option. ([#13431](https://github.com/pantsbuild/pants/pull/13431))

* Remove dependees `--output-format` option. ([#13430](https://github.com/pantsbuild/pants/pull/13430))

* Validate `python_test` and `python_tests` targets not used for `conftest.py` and `test_foo.pyi` ([#13436](https://github.com/pantsbuild/pants/pull/13436))

* Move `[python] interpreter_search_paths` to `[python-bootstrap] search_path`, and add support for sandboxed Python scripts in `@rule`s ([#13340](https://github.com/pantsbuild/pants/pull/13340))

### Plugin API Changes

* Fix `fmt`, `lint`, `test`, and `check` plugins having to use `sources` `FieldSet` value ([#13456](https://github.com/pantsbuild/pants/pull/13456))

* Add support for extracting `.gz` files. ([#13335](https://github.com/pantsbuild/pants/pull/13335))

### Bug fixes

* [bugfix] Do not cache Docker invocations between pants runs. Fixes #13461. ([#13464](https://github.com/pantsbuild/pants/pull/13464))

* Fix Python bootstrap interpreter search. ([#13278](https://github.com/pantsbuild/pants/pull/13278))

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

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

* Consume the `go` directive when compiling ([#13387](https://github.com/pantsbuild/pants/pull/13387))

* Don't error for invalid Go third-party packages unless building them ([#13405](https://github.com/pantsbuild/pants/pull/13405))

* assume version 1 for older lockfiles without `version` key ([#13399](https://github.com/pantsbuild/pants/pull/13399))

* Removes leading whitespace when `tailor`ing BUILD files without header text ([#13375](https://github.com/pantsbuild/pants/pull/13375))

* Go: don't error for unsupported third-party sources with project introspection ([#13377](https://github.com/pantsbuild/pants/pull/13377))

* Fix missing field for `tffmt` in `lint`. ([#13355](https://github.com/pantsbuild/pants/pull/13355))

* Use strict resolves by default for the JVM ([#13353](https://github.com/pantsbuild/pants/pull/13353))

* Parse SSH git requirements in poetry config. ([#13344](https://github.com/pantsbuild/pants/pull/13344))

### Performance

* Check for `@rule` graph cycles asynchronously ([#13370](https://github.com/pantsbuild/pants/pull/13370))

* Use `--layout=packed` for all monolithic resolves. ([#13400](https://github.com/pantsbuild/pants/pull/13400))

### Documentation

* Improve dynamic UI for Go ([#13412](https://github.com/pantsbuild/pants/pull/13412))

* Make `check` output more useful for Go and Java ([#13379](https://github.com/pantsbuild/pants/pull/13379))


