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.5.x Stable Releases
See https://www.pantsbuild.org/v2.5/docs/release-notes-2-5 for an overview of the changes in this release series.
## 2.5.1 (Jul 12, 2021)
The second stable release of the 2.5.x series, with no changes since the previous rc.
## 2.5.1rc6 (Jul 08, 2021)
### Bug fixes
Set up pants to use the latest version of humbug ([#12309](https://github.com/pantsbuild/pants/pull/12309))
Hash the repo_id in the tag. ([#12306](https://github.com/pantsbuild/pants/pull/12306))
## 2.5.1rc5 (Jul 7, 2021)
### Bug fixes
Do not use [python-setup].resolve_all_constraints when using platforms (Cherry-pick of #12268) ([#12270](https://github.com/pantsbuild/pants/pull/12270))
## 2.5.1rc4 (Jun 30, 2021)
### Bug fixes
Fix dependency inference to be ambiguous when >1 type stub for same module (Cherry-pick of #12244) ([#12245](https://github.com/pantsbuild/pants/pull/12245))
Fix skip_tool not working with ./pants fmt if all files are skipped (Cherry-pick of #12230) ([#12233](https://github.com/pantsbuild/pants/pull/12233))
## 2.5.1rc3 (Jun 16, 2021)
### Bug fixes
Fix Process output capture re: working_directory. (#12197) ([#12198](https://github.com/pantsbuild/pants/pull/12198))
## 2.5.1rc2 (Jun 02, 2021)
### Bug fixes
Fix Key interning race causing panic while processing panic failure (Cherry-pick of #12152) ([#12158](https://github.com/pantsbuild/pants/pull/12158))
## 2.5.1rc1 (May 28, 2021)
### Bug fixes
Fix [python-setup].resolver_jobs default value to recognize containers (Cherry-pick of #12139) ([#12140](https://github.com/pantsbuild/pants/pull/12140))
Fix [coverage-py].global_report for >9 test files. (Cherry-pick of #12144) ([#12146](https://github.com/pantsbuild/pants/pull/12146))
### Performance
Add retries for reads and writes from remote CAS (Cherry pick of #12132) ([#12136](https://github.com/pantsbuild/pants/pull/12136))
## 2.5.1rc0 (May 25, 2021)
### New Features
Add support for global coverage reports. (Cherry-pick of #12080) ([#12088](https://github.com/pantsbuild/pants/pull/12088))
### User API Changes
Change Docformatter to not try to use Python 2 and Python 3.5 by default (Cherry-pick of #12099) ([#12101](https://github.com/pantsbuild/pants/pull/12101))
### Performance
Halve memory usage for remote cache writes. (Cherry-pick of #12083) ([#12084](https://github.com/pantsbuild/pants/pull/12084))
Fix remote cache writes memory exhaustion. (Cherry-pick of #12087) ([#12089](https://github.com/pantsbuild/pants/pull/12089))
Add retries with exponential back-off for remote cache (Cherry pick of #12102) ([#12124](https://github.com/pantsbuild/pants/pull/12124))
### Documentation
Rewrite error message when Pantsd is shut down during run (Cherry-pick of #12107) ([#12116](https://github.com/pantsbuild/pants/pull/12116))
Clarify the default values for parallelism options (Cherry-pick of #12119) ([#12126](https://github.com/pantsbuild/pants/pull/12126))
Make timeouts in tests less confusing (Cherry-pick of #12120) ([#12125](https://github.com/pantsbuild/pants/pull/12125))
Fix scheduler initialization log (Cherry-pick of #12105) ([#12111](https://github.com/pantsbuild/pants/pull/12111))
## 2.5.0 (May 15, 2021)
The first stable release of the 2.5.x series, with no changes since the previous rc.
## 2.5.0rc3 (May 14, 2021)
### Bug fixes
Fix constraints resolves to pass additional args. (Cherry-pick of #12076) ([#12077](https://github.com/pantsbuild/pants/pull/12077))
Fix skip_tool fields not working with ./pants fmt (Cherry-pick of #12073) ([#12074](https://github.com/pantsbuild/pants/pull/12074))
## 2.5.0rc2 (May 12, 2021)
### Bug fixes
Fix module_mapping to work regardless of capitalization and - vs _ (Cherry-pick of #12068) ([#12070](https://github.com/pantsbuild/pants/pull/12070))
Fix PEX_ROOT leak for run and repl goals. (Cherry-pick of #12066) ([#12067](https://github.com/pantsbuild/pants/pull/12067))
Fix Python run for apps that re-exec themselves (Cherry-pick of #12060) ([#12063](https://github.com/pantsbuild/pants/pull/12063))
Fix Shell dependency inference not caching (Cherry-pick of #12052) ([#12056](https://github.com/pantsbuild/pants/pull/12056))
## 2.5.0rc1 (May 10, 2021)
### New Features
Add extra_env_vars field to python_tests target (Cherry-pick of #12022) ([#12023](https://github.com/pantsbuild/pants/pull/12023))
### Plugin API Changes
Auth plugins can inspect the prior result, set an expiration, and override –remote-{store,execution}-address (Cherry-pick of #12029) ([#12046](https://github.com/pantsbuild/pants/pull/12046))
### Bug fixes
Fix –remote-auth-plugin and –remote-oauth-bearer-token-path to execute every run with Pantsd (#12020) ([#12031](https://github.com/pantsbuild/pants/pull/12031))
## 2.5.0rc0 (May 04, 2021)
### New Features
Allow skipping linters/formatters/typecheckers by target ([#12008](https://github.com/pantsbuild/pants/pull/12008))
Add runtime_package_dependencies field to shunit2_tests ([#11997](https://github.com/pantsbuild/pants/pull/11997))
Tell isort to use the config file at [isort].config when safe to do so ([#11994](https://github.com/pantsbuild/pants/pull/11994))
Support [coverage.py] config files using pyproject.toml, setup.cfg, and tox.ini ([#11993](https://github.com/pantsbuild/pants/pull/11993))
Check parent directories too for config files for tools Pants runs ([#11992](https://github.com/pantsbuild/pants/pull/11992))
### User API Changes
Make python-setup resolve_all_constraints a bool. ([#11985](https://github.com/pantsbuild/pants/pull/11985))
Add back interpreter_constraints field to python_awslambda ([#11982](https://github.com/pantsbuild/pants/pull/11982))
Add back interpreter_constraints field to pex_binary ([#11977](https://github.com/pantsbuild/pants/pull/11977))
### Plugin API Changes
Add mechanism for targets to opt out of field sets ([#12002](https://github.com/pantsbuild/pants/pull/12002))
Add TriBoolField field template ([#12004](https://github.com/pantsbuild/pants/pull/12004))
Discover config files automatically for tools Pants runs ([#11995](https://github.com/pantsbuild/pants/pull/11995))
Don’t require a kwarg for Target and Field constructors ([#11984](https://github.com/pantsbuild/pants/pull/11984))
### Performance
Don’t parse string imports if not enabled ([#11975](https://github.com/pantsbuild/pants/pull/11975))
### Documentation
Don’t include file name in deprecation warnings ([#12007](https://github.com/pantsbuild/pants/pull/12007))
Stop falling back to docstring for help messages for Target and Field ([#12003](https://github.com/pantsbuild/pants/pull/12003))
Suggest using ./pants tailor when target doesn’t exist for a file argument ([#11996](https://github.com/pantsbuild/pants/pull/11996))
Make remote cache warning less chatty for missing files ([#11976](https://github.com/pantsbuild/pants/pull/11976))
## 2.5.0.dev3 (Apr 23, 2021)
### User API Changes
Upgrade the default mypy to a version that works with namespace packages ([#11945](https://github.com/pantsbuild/pants/pull/11945))
Run MyPy only on specified files, not transitive closure ([#11936](https://github.com/pantsbuild/pants/pull/11936))
### Plugin API Changes
Upgrade Pants to Pex 2.1.40. ([#11964](https://github.com/pantsbuild/pants/pull/11964))
### Bug fixes
Release pants.pex in –unzip mode to workaround not loading properly ([#11955](https://github.com/pantsbuild/pants/pull/11955))
Fix remote cache writes to not block the Pants run ([#11947](https://github.com/pantsbuild/pants/pull/11947))
Fix python process name extraction. ([#11966](https://github.com/pantsbuild/pants/pull/11966))
## 2.5.0.dev2 (Apr 16, 2021)
### New Features
Handle URL requirements with constraints files. ([#11907](https://github.com/pantsbuild/pants/pull/11907))
Release Pants with Python 3.9 ([#11858](https://github.com/pantsbuild/pants/pull/11858))
Allow Python files without a file ending ([#11905](https://github.com/pantsbuild/pants/pull/11905))
### Bug fixes
Wait for all Sessions during pantsd shutdown ([#11929](https://github.com/pantsbuild/pants/pull/11929))
Fix bug in Python 2.7 string dep inference. ([#11900](https://github.com/pantsbuild/pants/pull/11900))
Fix remote cache storing of output_directories ([#11895](https://github.com/pantsbuild/pants/pull/11895))
### Documentation
Finesse some docgen markdown<->html issues. ([#11927](https://github.com/pantsbuild/pants/pull/11927))
## 2.5.0.dev1 (Apr 10, 2021)
### New Features
Add dependency inference for Shell ([#11857](https://github.com/pantsbuild/pants/pull/11857))
Add Shell support with Shellcheck, shmft, and shunit2 test runner ([#11844](https://github.com/pantsbuild/pants/pull/11844))
Warn if config files detected but not wired up to Pants ([#11852](https://github.com/pantsbuild/pants/pull/11852))
Warn when dependency inference fails for protobuf_library targets due to ambiguity ([#11849](https://github.com/pantsbuild/pants/pull/11849))
### User API Changes
Remove deprecated unzip field for pex_binary ([#11868](https://github.com/pantsbuild/pants/pull/11868))
Deprecate –ignore-pants-warnings in favor of –ignore-warnings ([#11851](https://github.com/pantsbuild/pants/pull/11851))
### Plugin API changes
Require WorkunitsCallback to set can_finish_async ([#11687](https://github.com/pantsbuild/pants/pull/11687))
### Documentation
Fix type in tags help message ([#11836](https://github.com/pantsbuild/pants/pull/11836))
## 2.5.0.dev0 (Apr 02, 2021)
### New Features
Subset lockfile resolves. ([#11773](https://github.com/pantsbuild/pants/pull/11773))
### User API Changes
Remove deprecated –process-execution-cleanup-local-dirs, –process-execution-use-local-cache, and –process-execution-local-enable-nailgun ([#11821](https://github.com/pantsbuild/pants/pull/11821))
Always use new pip resolver and remove deprecated [python-setup].resolver_version ([#11819](https://github.com/pantsbuild/pants/pull/11819))
Remove deprecated [setuptools].entry_point and [setuptools].interpreter_constraints ([#11822](https://github.com/pantsbuild/pants/pull/11822))
Remove deprecated –mypy-plugin-version, pantsd.log file, –plugin-cache-dir
### Plugin API Changes
Remove deprecated InteractiveProcess.hermetic_env.
Add RuleRunner.write_files() for more declarative tests ([#11817](https://github.com/pantsbuild/pants/pull/11817))
Upgrade Pex to 2.1.38. ([#11829](https://github.com/pantsbuild/pants/pull/11829))
### Bug fixes
Fix transitive excludes for generating setup.py ([#11811](https://github.com/pantsbuild/pants/pull/11811))
Fix workunit visibility calculation. ([#11816](https://github.com/pantsbuild/pants/pull/11816))
Fix __run.sh to respect working_directory. ([#11814](https://github.com/pantsbuild/pants/pull/11814))
### Documentation
Fix misleading docs for [mypy].skip ([#11810](https://github.com/pantsbuild/pants/pull/11810))
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.5.1-cp39-cp39-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4abc16c5a39dba483edd047265638f4e76d90a0675645b6d43ade44ce3ad3c63 |
|
MD5 | f65877a4597c6b77480074005413eed0 |
|
BLAKE2b-256 | 942ae2ed0a2dfc7117d33ebe545591a0c76096f2f87d0479578aa345b3aff7af |
Hashes for pantsbuild.pants-2.5.1-cp39-cp39-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 599065f6dba7d6d0ea34a6f38ebb080978bc6a68c8f7218fa1c3b95a37d26298 |
|
MD5 | fa3e63d04436c21c1058aa8ada7bea60 |
|
BLAKE2b-256 | b1993c04f2e47b41fd071a249942dcbb34873a503dc1e9410857c1100d99e3e8 |
Hashes for pantsbuild.pants-2.5.1-cp39-cp39-macosx_10_15_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11d765c5d3ce3ced06f5afc577a0f34f0c2c2ee81f3d3c39ab328231a517ccba |
|
MD5 | 225a290d641876d2757d23af438a7cc5 |
|
BLAKE2b-256 | 961982ca985f3a2777a9c8c495c39858c5c926e120ce429c22d3cee188ed9a12 |
Hashes for pantsbuild.pants-2.5.1-cp38-cp38-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f8d1be6b7a01e1827cc8bef9661652cf4f5b54e05271696b6091fea64ac677d |
|
MD5 | 56086f7fdad1724b27995446da5003f7 |
|
BLAKE2b-256 | 65a95e83cd23210035d7dc53a700c08a972d5d5e831bee5b1a45c95c13b57602 |
Hashes for pantsbuild.pants-2.5.1-cp38-cp38-macosx_10_15_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b729bbde5a7777c4e028eb8ae1abf9f85b6947404f24907135eefa31022f52f |
|
MD5 | 1cafd3a4b3076327a337e46ea8198def |
|
BLAKE2b-256 | fc73799427dcf317c95ec217a6c420eb7b83ec9f90b4cf4651b21b8a1833432a |
Hashes for pantsbuild.pants-2.5.1-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 21e6f1f863fe8111835385bc78017c38ebbee8ad7010f10ebf5e140cc1c2ddd5 |
|
MD5 | c95b210e6576e050b9510f44b9e088da |
|
BLAKE2b-256 | ed3b822d7752f76b52b1f913b0aced77cae9ff9ca1dde7eafe695fa092cf291a |
Hashes for pantsbuild.pants-2.5.1-cp37-cp37m-macosx_10_15_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9867f8c84073f705015fd93de3e28ed4613952ee597b9ea5a9c9ef25ee796cd7 |
|
MD5 | 74764d89efe11be22f55d9a899396efe |
|
BLAKE2b-256 | 0ca2be3ae1f809659adaf6c0f2959ab59e8666e0d4403f00e1007546f6620b32 |