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.1.x Stable Releases
This document describes releases leading up to the 2.1.x stable series.
See https://www.pantsbuild.org/v2.1/docs/release-notes-2-1 for an overview of the changes in this release.
2.1.0rc3 (11/16/2020)
Bugfixes
Fix relative imports in dependency inference (Cherry-pick of #11181) (#11189) PR #11189
2.1.0rc2 (11/13/2020)
New Features
Remoting: allow timeout parameters to be configured (Cherry-pick of #11125) (#11158) PR #11158
User API Changes
Bugfixes
make a few minor reliability fixes to remote caching code (Cherry-pick of #11130) (#11159) PR #11159
2.1.0rc1 (11/11/2020)
Bugfixes
2.1.0rc0 (11/9/2020)
New Features
User API Changes
Plugin API Changes
Rename SourcesSnapshot to SpecsSnapshot (#11114) PR #11114
Bugfixes
Fix logs for test, lint, fmt, and typecheck to always print, even if cached (#11111) PR #11111
Fix pytest.pex leaking into coverage data (#11110) PR #11110
Fix –pex-verbosity to work with the interpreter selection PEX (#11108) PR #11108
Fix !! transitive excludes when used multiple times in a repo (#11103) PR #11103
Fix setup_py.with_provides() to respect the :func entry-point shorthand (#11093) PR #11093
Include a host fingerprint in pantsd’s identity (#11092) PR #11092
Documentation
Improve error message for invalid unions in Get()`s (#11102) `PR #11102
2.1.0.dev0 (10/30/2020)
User API Changes
Do not error if ./pants package does not match any targets (#11051) PR #11051
Deprecate the compatibility field in favor of interpreter_constraints (#11074) PR #11074
Remove deprecated awslambda, binary, and setup-py goals in favor of package (#11048) PR #11048
Rename pex-binary/python-distribution to avoid naming collisions. (#11007) PR #11007
Remove deprecated –{fmt,lint}-per-target-caching in favor of –per-file-caching (#11062) PR #11062
Remove post_stats from RunTracker (#11068) PR #11068
Remove stats_version in runtracker (#11065) PR #11065
Remove deprecated –lang and –lc-all options in favor of –env-vars (#11066) PR #11066
Remove deprecated –protoc-runtime-targets option (#11083) PR #11083
Remove deprecated –interpreter-constraints option for some Python tools (#11082) PR #11082
Remove deprecated runtime_binary_dependencies field (#11079) PR #11079
Remove deprecated –spec-file option in favor of –spec-files (#11076) PR #11076
Remove deprecated [basic-auth], [reporter], and [run-tracker] options (#11078) PR #11078
Remove deprecated –print-exception-stacktrace in favor of –print-stacktrace (#11085) PR #11085
Remove unused global options (#11077) PR #11077
Remove deprecated python_requirement BUILD file symbol (#11055) PR #11055
Deprecate the platforms field allowing a bare string (#11073) PR #11073
Deprecate several unused options (#11041) PR #11041
Deprecate unused run-tracker options (#11038) PR #11038
Remove deprecated python-setup options (#10984) PR #10984
Remove deprecated Subsystem.get_options() in favor of Subsystem.options (#10986) PR #10986
Remove deprecated global options like –v2 and –backend-packages2 (#10985) PR #10985
Remove deprecated –changed-* options (#10982) PR #10982
Remove deprecated ./pants filter options (#10983) PR #10983
New Features
Add [python-setup].resolver_http_cache_ttl option (#10997) PR #10997
Add new py-constraints goal through new pants.backend.python.mixed_interpreter_constraints backend (#11075) PR #11075
Add :my_func shorthand for the entry_point field (#11064) PR #11064
Add new EngineAware method metadata() (#11030) PR #11030
remote caching support (#10960) PR #10960
Store per-run logs on RunTracker (#11025) PR #11025
Allow changing the URL to download tools like PEX and Protoc (#11013) PR #11013
Add mechanism to deprecate target types and fields (#10966) PR #10966
Bugfixes
remote caching: upload stdout/stderr content to remote cache (#11049) PR #11049
Fix PEX to always write to named_caches_dir, rather than ~/.pex (#11040) PR #11040
Fix setup_py().with_binaries() to use the default entry point (#11021) PR #11021
Fix resource leak warning with stdio (#10995) PR #10995
Fix ./pants repl to use global constrains when no targets specified (#10991) PR #10991
Fix overly verbose FieldSet in stack traces (#10978) PR #10978
Fix several bad usages of itertools.groupby() (#10976) PR #10976 PR #10974
Fix bug with linter targets being skipped (#10974) PR #10974
Fix config validation not erroring on global options in wrong scope (#10950) PR #10950
Automatically set setuptools interpreter constraints if unspecified (#10951) PR #10951
Documentation
Improve error message for invalid input in Get()`s (#11081) `PR #11081
Improve several help messages (#11029) PR #11029
Fold target help into the help system. (#11022) PR #11022
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
Hashes for pantsbuild.pants.testutil-2.1.0rc3-py36.py37.py38-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86c3ee97777cd2ad4a51fe16edab155dfebd9666e6cd236810e2d669a1c51f30 |
|
MD5 | 64dbfb3dc4646dbe3f0dbfb067c9895f |
|
BLAKE2b-256 | 7e7c0019218de55b95209e8729f42db9914d4febb41465a4d4d0e6d9a8f68bb3 |