A scalable build tool for large, complex, heterogeneous repos.
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.1 (12/18/2020)
The second stable release in the 2.1.x series, with no changes since rc2.
Thank you to everyone who helped test the rcs!
2.1.1rc2 (12/16/2020)
Bugfixes
Fix filtering of log messages generated in native code. (cherrypick of #11313) (#11316) PR #11316
Upgrade to Pex 2.1.24. (cherrypick of #11312) (#11315) PR #11315
Clean the graph speculatively, and cancel nodes when interest is lost (cherrypick of #11308) (#11311) PR #11311
Implement native Process cache scoping to fix –test-force (cherrypick of #11291) (#11298) PR #11298
Increase Pants’ python recursion limit by default, and allow it to be overridden. (cherrypick of #11271) (#11274) PR #11274
Revert “Move graph cycle detection to rust. (#11202)” (cherrypick of #11272) (#11275) PR #11202 PR #11275
Internal
[tests] Use a bandit version that works with older python versions. (cherrypick of #11268) (#11278) PR #11278
2.1.1rc1 (11/24/2020)
Bugfixes
2.1.1rc0 (11/20/2020)
User API Changes
Revert premature deprecation of sources field for python_awslambda (#11217) PR #11217
Bugfixes
2.1.0 (11/17/2020)
The first stable release of the 2.1.x series, with no changes since the previous release candidate.
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 Distributions
Hashes for pantsbuild.pants-2.1.1-cp38-cp38-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8840f524919a4255d12788cf120242a41830f430b4542b885bba34de87dcca7 |
|
MD5 | c8c7def6ae4fcc2a940ff631166bcda6 |
|
BLAKE2b-256 | f4203768aeaaa3967afefa839c86b80accf0445becf5c518c7de1e1087e82ae3 |
Hashes for pantsbuild.pants-2.1.1-cp38-cp38-macosx_10_11_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c8bbf1530bfb9d531339f041363c0f67b870e74388e87726211607fc8e28629 |
|
MD5 | 58a4dc62fbb7ef70ecd306c155e502a1 |
|
BLAKE2b-256 | 4dde9955f5256879eeb9cc9a8c5c07653966eed874b36c8f8ac995e42ddc07e4 |
Hashes for pantsbuild.pants-2.1.1-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cffce932972c1b68af5be2f98e03bfe939638f4d3647c03e1dd79fe95310b8da |
|
MD5 | 91e2e38b923354d91532f41dccd69a4d |
|
BLAKE2b-256 | ba3aa4438451b910a0fbda3c476def7ff9144818eeb4c2c5962fab1d607cbdc1 |
Hashes for pantsbuild.pants-2.1.1-cp37-cp37m-macosx_10_11_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4da293e9c5f124bb0b54466f723ece6a534032c955c8152199da92d90493b548 |
|
MD5 | 2f698d550ec7825f257ceba176ad9ea1 |
|
BLAKE2b-256 | 8bcdae085fe8e8e7dbbd71267ffc52231e82e70731ab3d21870995d4395b52eb |
Hashes for pantsbuild.pants-2.1.1-cp36-cp36m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b52f1c05ab407282fae429fba6e3023d762db18a90b856990ad9ba237c442ad |
|
MD5 | bb443f7e4512333ce3fe48a9a1f6ec45 |
|
BLAKE2b-256 | a4474938653873fdae204accc9a2a8ac02cc84b8aed9b81f450beaa00f8181a9 |
Hashes for pantsbuild.pants-2.1.1-cp36-cp36m-macosx_10_11_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6899a89b68b564d7c286d9ee3ace408986652de0e6e7977bf30a6d8c5bd24839 |
|
MD5 | 02b4344bbb01e7034fbdfc9783177ce9 |
|
BLAKE2b-256 | 1117f182468ab277ca17d097a668f390b2a4f105bafbc504f51b81420255ecdf |