Metadata-Version: 2.1
Name: pantsbuild.pants.testutil
Version: 2.18.0.dev5
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://www.pantsbuild.org/docs/getting-help
Project-URL: YouTube, https://www.youtube.com/channel/UCCcfCbDqtqlCkFEuENsHlbQ
Project-URL: Mailing lists, https://www.pantsbuild.org/docs/getting-help
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.9.*
Description-Content-Type: text/markdown
Requires-Dist: pantsbuild.pants (==2.18.0.dev5)
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.18.x Release Series

## 2.18.0.dev5 (Jul 14, 2023)

### New Features

* Upload local Pants PEXs to release ([#19450](https://github.com/pantsbuild/pants/pull/19450))

* Automate GitHub release creation, with wheels ([#19444](https://github.com/pantsbuild/pants/pull/19444))

### Bug Fixes

* Visibility: fix issue with using target type in verbose rule selector. ([#19437](https://github.com/pantsbuild/pants/pull/19437))

* Use the "package_name" variable to fix an UnboundLocalError. ([#19433](https://github.com/pantsbuild/pants/pull/19433))

* Raise error for conflicting Docker registries ([#19344](https://github.com/pantsbuild/pants/pull/19344))

* Provide proper error message for unrecognized symbols during bootstrap. ([#19225](https://github.com/pantsbuild/pants/pull/19225))

### Documentation

* Fix unwanted line break in remote-caching-execution.md ([#19461](https://github.com/pantsbuild/pants/pull/19461))

* Add Embark Studios to Who Uses Pants page. ([#19442](https://github.com/pantsbuild/pants/pull/19442))

* Update adhoc-tool.md ([#19434](https://github.com/pantsbuild/pants/pull/19434))

## 2.18.0.dev4 (Jul 08, 2023)

### New Features

* Support per backend requirements ([#19406](https://github.com/pantsbuild/pants/pull/19406))

### Bug Fixes

* Embed a hash of the relevant implementation into the dep inference cache ([#19393](https://github.com/pantsbuild/pants/pull/19393))

* Improved error message when referencing undefined BUILD symbols ([#19286](https://github.com/pantsbuild/pants/pull/19286))

### Documentation

* Refine run_shell_command docs ([#19413](https://github.com/pantsbuild/pants/pull/19413))

* Tweak getting-help docs ([#19418](https://github.com/pantsbuild/pants/pull/19418))

* Add a sponsorships page to the docsite. ([#19412](https://github.com/pantsbuild/pants/pull/19412))

## 2.18.0.dev3 (Jun 30, 2023)

### New Features

* turn `path/BUILD` into `path` in the `tailor` goal ([#19323](https://github.com/pantsbuild/pants/pull/19323))

* Terraform: Add `experimental-deploy` and wire-in dependency inference ([#19185](https://github.com/pantsbuild/pants/pull/19185))

* add support for alias-flags ([#19034](https://github.com/pantsbuild/pants/pull/19034))

* Add environment variable help options ([#19078](https://github.com/pantsbuild/pants/pull/19078))

* Add build_network option to docker_image target ([#19354](https://github.com/pantsbuild/pants/pull/19354))

### User API Changes

* Remove support for referencing 2nd owner via file. ([#19400](https://github.com/pantsbuild/pants/pull/19400))

### Plugin API Changes

* Remove deprecated `PythonBinary` type. ([#19399](https://github.com/pantsbuild/pants/pull/19399))

### Bug Fixes

* Fix pytest-cov validation check. ([#19366](https://github.com/pantsbuild/pants/pull/19366))

### Documentation

* docs: recommend scie-pants on upgrade tips page ([#19139](https://github.com/pantsbuild/pants/pull/19139))

* docs: fix markdown inconsistencies ([#19363](https://github.com/pantsbuild/pants/pull/19363))

* docs: apply suggested edits to guide docs from readme.com ([#19374](https://github.com/pantsbuild/pants/pull/19374))

* docs: add style guide instructions for writing Python help strings ([#19365](https://github.com/pantsbuild/pants/pull/19365))

* docs: update plugin writing tutorials ([#19369](https://github.com/pantsbuild/pants/pull/19369))

* docs: fix markdown inconsistencies ([#19359](https://github.com/pantsbuild/pants/pull/19359))

## 2.18.0.dev2 (Jun 19, 2023)

### New Features

* Support Helm unittest snapshots ([#19264](https://github.com/pantsbuild/pants/pull/19264))

* javascript: Rust based dep inference for javascript ([#18985](https://github.com/pantsbuild/pants/pull/18985))

* Add `TraverseIfNotPackageTarget` deps traversal predicate for use in plugins ([#19306](https://github.com/pantsbuild/pants/pull/19306))

* Deprecate old value interpolation in Helm deployments ([#19302](https://github.com/pantsbuild/pants/pull/19302))

* Infer FaaS runtime from interpreter constraints, when unambiguous ([#19314](https://github.com/pantsbuild/pants/pull/19314))

* Include complete platforms for FaaS environments for more reliable building ([#19253](https://github.com/pantsbuild/pants/pull/19253))

* Add experimental support for Rustfmt ([#18842](https://github.com/pantsbuild/pants/pull/18842))

* Helm deployment chart field ([#19234](https://github.com/pantsbuild/pants/pull/19234))

### Plugin API Changes

* Replace `include_special_cased_deps` flag with `should_traverse_deps_predicate` ([#19272](https://github.com/pantsbuild/pants/pull/19272))

### Bug Fixes

* Fix helm documentation example ([#19271](https://github.com/pantsbuild/pants/pull/19271))

* Raise an error if isort can't read a config file ([#19294](https://github.com/pantsbuild/pants/pull/19294))

* Improve handling of additional files in Helm unit tests ([#19263](https://github.com/pantsbuild/pants/pull/19263))

* Add taplo to the release ([#19258](https://github.com/pantsbuild/pants/pull/19258))

* Handle `from foo import *` wildcard imports in Rust dep inference parser ([#19249](https://github.com/pantsbuild/pants/pull/19249))

* Support usage of `scala_artifact` addresses in `scalac_plugin` targets ([#19205](https://github.com/pantsbuild/pants/pull/19205))

### Performance

* `scandir` returns `Stat`s relative to its directory. ([#19246](https://github.com/pantsbuild/pants/pull/19246))

### Documentation

* docs: layout tweak of caching info, remove toolchain :( and additional info about bazel-remote-cache ([#19299](https://github.com/pantsbuild/pants/pull/19299))

* Get doc titles from the in-repo markdown files ([#19311](https://github.com/pantsbuild/pants/pull/19311))

## 2.18.0.dev1 (Jun 02, 2023)

### New Features

* Add support for packaging python AWS Lambda layers ([#19123](https://github.com/pantsbuild/pants/pull/19123))

* Add visibility linter to report all violations. ([#17671](https://github.com/pantsbuild/pants/pull/17671))

### User API Changes

* Remove the old Python tool lockfile functionality. ([#19218](https://github.com/pantsbuild/pants/pull/19218))

* Rename `python_awslambda` to `python_aws_lambda_function` ([#19216](https://github.com/pantsbuild/pants/pull/19216))

* Deprecate the version/extra_requirements options on python tools. ([#19204](https://github.com/pantsbuild/pants/pull/19204))

### Plugin API Changes

* Deprecate using `PythonBinary` ([#19209](https://github.com/pantsbuild/pants/pull/19209))

### Bug Fixes

* store stdout/stderr output from tests as bytes ([#19184](https://github.com/pantsbuild/pants/pull/19184))

* Discover Scala REPL main class and coordinates ([#19189](https://github.com/pantsbuild/pants/pull/19189))

* Scrub the Pyenv install dir before attempting an install. ([#19193](https://github.com/pantsbuild/pants/pull/19193))

* Include scala_artifact classpath rule ([#19190](https://github.com/pantsbuild/pants/pull/19190))

* `docker_image`: secrets paths are now expanding `~` to the users home directory. ([#19130](https://github.com/pantsbuild/pants/pull/19130))

* Support explicit dependencies with scala_artifact ([#19187](https://github.com/pantsbuild/pants/pull/19187))

* Avoid extra `.` in `from .. import` parent imports in Rust Python dep inference ([#19175](https://github.com/pantsbuild/pants/pull/19175))

### Documentation

* Update FaaS docs for 2.18, including Lambda layers ([#19217](https://github.com/pantsbuild/pants/pull/19217))

* Add `tobni` to Maintainers ([#19195](https://github.com/pantsbuild/pants/pull/19195))

* Adjust FaaS docs for `layout = "zip"` ([#19180](https://github.com/pantsbuild/pants/pull/19180))

## 2.18.0.dev0 (May 26, 2023)

### New Features

* Support scala_artifact ([#19128](https://github.com/pantsbuild/pants/pull/19128))

* pass "--debug" flag to all helm invocations if requested ([#19093](https://github.com/pantsbuild/pants/pull/19093))

* Enable env vars in `node_build_script` ([#19100](https://github.com/pantsbuild/pants/pull/19100))

### User API Changes

* Remove or bump deprecations ([#19169](https://github.com/pantsbuild/pants/pull/19169))

* Switch to [lambdex].layout = "zip" by default, deprecating the section ([#19122](https://github.com/pantsbuild/pants/pull/19122))

* javascript: Allow nodejs-backed tools to point to a resolve and/or package manager ([#19040](https://github.com/pantsbuild/pants/pull/19040))

* Terraform: Hashes for MacOS binaries have changed ([#19004](https://github.com/pantsbuild/pants/pull/19004))

* Implement layout="zip" for Lambda/GCF, deprecating lambdex ([#19076](https://github.com/pantsbuild/pants/pull/19076))

* Run `terraform init` as part of `check` goal ([#18974](https://github.com/pantsbuild/pants/pull/18974))

* Deprecate [mypy].extra_type_stubs and its lockfile. ([#19084](https://github.com/pantsbuild/pants/pull/19084))

* Remove more 2.18.0.dev0 deprecations (follow up to #19073) ([#19077](https://github.com/pantsbuild/pants/pull/19077))

* Bring the tool `--export` option deprecation forward. ([#19079](https://github.com/pantsbuild/pants/pull/19079))

* Only build and release wheels for Python 3.9. ([#18829](https://github.com/pantsbuild/pants/pull/18829))

* Require pants to run via scie-pants. ([#19075](https://github.com/pantsbuild/pants/pull/19075))

* Some 2.18.0.dev0 deprecations ([#19073](https://github.com/pantsbuild/pants/pull/19073))

* Implement layout="zip" for Lambda/GCF, skipping lambdex ([#19022](https://github.com/pantsbuild/pants/pull/19022))

### Plugin API Changes

* Simplify interpreter-related CI config. ([#19096](https://github.com/pantsbuild/pants/pull/19096))

### Bug Fixes

* If a shebang already exists when adding a preamble, preserve it. ([#19133](https://github.com/pantsbuild/pants/pull/19133))

* Workaround `botocore` bug in S3 URL Handler backend ([#19056](https://github.com/pantsbuild/pants/pull/19056))

* Don't try and garbage collect tempfiles ([#19103](https://github.com/pantsbuild/pants/pull/19103))

* Allow the usage of digits in named cache names ([#19052](https://github.com/pantsbuild/pants/pull/19052))

### Documentation

* Fix docs link to pants_from_sources script. ([#19088](https://github.com/pantsbuild/pants/pull/19088))

* Add `botocore-a-la-carte` reference too `s3` URL Handler ([#19055](https://github.com/pantsbuild/pants/pull/19055))

* add bazel-remote to list of compatible remote caches ([#19041](https://github.com/pantsbuild/pants/pull/19041))
