Test support for writing Pants plugins.
Project description
Pants is an Apache2 licensed build tool written in Python.
The latest documentation can be found at pantsbuild.
# 2.2.x Stable Releases
See https://www.pantsbuild.org/v2.2/docs/release-notes-2-2 for an overview of the changes in this release series.
This is the first release to require having a Python 3.7 or 3.8 interpreter to run Pants. Run curl -L -o ./pants https://raw.githubusercontent.com/pantsbuild/setup/2f079cbe4fc6a1d9d87decba51f19d7689aee69e/pants to update your ./pants script to choose the correct interpreter.
## 2.2.0.dev0 (Nov 24, 2020)
### New Features
Add dependency inference for Protobuf <-> Protobuf imports ([#11205](https://github.com/pantsbuild/pants/pull/11205))
Add dependency inference for Python imports of Protobuf/gRPC ([#11195](https://github.com/pantsbuild/pants/pull/11195))
Allow setting the entry point for a pex_binary to <none> ([#11199](https://github.com/pantsbuild/pants/pull/11199))
Add support for filtering file vs BUILD targets ([#11126](https://github.com/pantsbuild/pants/pull/11126))
Cancel sessions rather than killing pantsd ([#11123](https://github.com/pantsbuild/pants/pull/11123))
Remoting: allow timeout parameters to be configured ([#11125](https://github.com/pantsbuild/pants/pull/11125))
### User API Changes
Require Python 3.7 or 3.8 to run Pants ([#11135](https://github.com/pantsbuild/pants/pull/11135))
Deprecate mypy_source_plugin and pylint_source_plugin targets in favor of python_library ([#11233](https://github.com/pantsbuild/pants/pull/11233))
Remove deprecated compatibility field in favor of interpreter_constraints ([#11225](https://github.com/pantsbuild/pants/pull/11225))
Upgrade to Pex 2.1.21. ([#11131](https://github.com/pantsbuild/pants/pull/11131))
### Plugin API Changes
Remove PrimitiveField and align AsyncField with Field ([#11231](https://github.com/pantsbuild/pants/pull/11231))
Change AsyncField to be AsyncFieldMixin ([#11232](https://github.com/pantsbuild/pants/pull/11232))
Deprecate TransitiveTargetsRequestLite and DependenciesRequestLite now that graph cycle is fixed ([#11188](https://github.com/pantsbuild/pants/pull/11188))
### Bug fixes
Fix dependency inference parsing of Python 3.8 and 3.9 syntax ([#11213](https://github.com/pantsbuild/pants/pull/11213))
Set the soft ulimit value more conservatively to fix macOS Big Sur issue ([#11194](https://github.com/pantsbuild/pants/pull/11194))
Move graph cycle detection to Rust to fix recursion limit. ([#11202](https://github.com/pantsbuild/pants/pull/11202))
Fix relative imports in dependency inference ([#11181](https://github.com/pantsbuild/pants/pull/11181))
Remove extraneous info level log line ([#11228](https://github.com/pantsbuild/pants/pull/11228))
Fix Coverage not finding resource files when generating a report ([#11129](https://github.com/pantsbuild/pants/pull/11129))
Fix test results showing up twice by removing TargetsWithOrigin ([#11128](https://github.com/pantsbuild/pants/pull/11128))
Make a few minor reliability fixes to remote caching code ([#11130](https://github.com/pantsbuild/pants/pull/11130))
### Documentation
Improve error message for no applicable targets ([#11215](https://github.com/pantsbuild/pants/pull/11215))
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file pantsbuild.pants.testutil-2.2.0.dev0-py37.py38-none-any.whl
.
File metadata
- Download URL: pantsbuild.pants.testutil-2.2.0.dev0-py37.py38-none-any.whl
- Upload date:
- Size: 12.8 kB
- Tags: Python 3.7, Python 3.8
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.7.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a7948d340a5f8c0196f7860b6c5c95fe00b1531ef4e057be67865809ebb56e8 |
|
MD5 | 2fe424793c5736aa99372569447f40c1 |
|
BLAKE2b-256 | 60b1c74390c5490b098f754fa6d07abf327cf1ed3a6693e6ddc3569df463cd5d |