The Pants Python source code lint tool.
Project description
Pants is an Apache2 licensed build tool written in Python.
The latest documentation can be found at pantsbuild.
1.22.x Stable Releases
This document describes releases leading up to the 1.22.x stable series.
1.22.0rc2 (11/08/2019)
New Features
Bugfixes
Fix fingerprint dict with files (#8569) PR #8569
Refactoring, Improvements, and Tooling
1.22.0rc1 (11/01/2019)
API Changes
Bugfixes
Revert “Squashed commit of the following: (#8302)” (#8551) PR #8551
Add lock around bootstrap compiler bridge jar (#8535) PR #8535
Fix assertion on hydrate_missing_directory_digest (#8534) PR #8534
Fix zinc jar missing digest on double check cache hit (#8532) PR #8532
Ensure node build products added to the classpath have been snapshotted (#8514) PR #8514
Avoid globbing jdk home with symlinks (#8484) PR #8484
pin cryptography lib to 2.7 (#8515) PR #8515
Refactoring, Improvements, and Tooling
1.22.0rc0 (10/20/2019)
New Features
Bugfixes
fix NameError in ExceptionSink.trapped_signals() if .reset_signal_handler() raises (#8482) PR #8482
Fix undigested m.jar under validated targets (#8479) PR #8479
Fix async_semaphore deadlock, and only fail speculation if primary command fails. (#8374) PR #8374
Fix missing digest for m.jar (#8447) PR #8447
Use jvm options from RSC subsystem for RSC invocation (#8434) PR #8434
Refactoring, Improvements, and Tooling
Restore pycodestyle (#8471) PR #8471
Remove enum() to consolidate around standard library Enum (#8475) PR #8475 PR #8467
Type check core base code (#8462) PR #8462
Code Issues 900 Pull requests 121 Projects 5 Wiki Security Insights Explicitly delete file before writing it using the materialize_directory API (#8436) PR #8436
Squashed commit of the following: (#8302) PR #8302
Revert “Modify engine.objects.Collection to work with type hints (#8467)” (#8476) PR #8467 PR #8476
Use collections.Enum for Nailgun task related code (#8461) PR #8461
Use collections.Enum instead of enum() (#8443) PR #8443
Prepare 1.21.0. (#8474) PR #8474
Modify engine.objects.Collection to work with type hints (#8467) PR #8467
Use partially_type_checked tag for incremental type hinting of Pants repo (#8464) PR #8464
Use Duration not f64 (#8396) Issue #54361 PR #8396
Documentation
Propose guidance around contentious decisions. (#8438) PR #8438
1.22.0.dev2 (10/13/2019)
API Changes
Deprecate mypy-version flag and add new version flag (#8463) Issue #7627 PR #8463
Fix tensorflow==1.14 globbing with platform-specific native_lib_names (#8378) PR #8378
Error out if the user explicitly tries to test a non-test tgt. (#8402) PR #8402
New Features
Bugfixes
Send cumulative_timings & recorded_options in stats v2 too. (#8456) PR #8456
Fix double check cache digest (#8416) PR #8416
Don’t panic in create_scheduler (#8428) PR #8428
[junit-run] apply platform args to junit run java exec (#8421) PR #8421
Don’t shade the nailgun package (#8418) PR #8418
Make subsystem dep explicit for RSC compile (#8406) PR #8406
Refactoring, Improvements, and Tooling
Improve support for Enum`s as option types (#8458) `PR #8458
Port test_pytest_run_integration.py to V2 (#8466) PR #8466
Fix PantsRunIntegrationTest.mock_buildroot() to work with –chroot (#8465) PR #8465
Use f-strings in python tasks. (#8449) PR #8449
Run fuse tests on OSX again (#8453) PR #8453 Issue #10017
Replace majority of remaining datatype()`s with `@dataclass (#8435) PR #8435
Use f-strings in pants daemon (#8448) PR #8448
Add collections.Enum class that extends stdlib Enum with ~pattern matching (#8451) PR #8451
use travis wait enhanced in shards with remoting enabled (#8446) PR #8446
Add file to allow a clean looking git blame (#8404) PR #8404
remove @_algebraic_data decorator to support @dataclass and mypy (#8437) PR #8437
Run testprojects integration tests with V2 test runner (#8426) PR #8426
Restore running test_testprojects_integration.py with chroot (#8433) PR #8433
Replace more datatype() instances with @dataclass (#8423) PR #8423
Add @frozen_after_init decorator to make some @dataclass uses safer with V2 (#8431) PR #8431
Type check meta.py and replace Singleton with SingletonMetaclass (#8424) PR #8424
Set internal pants.ini to use chroot for V1 Pytest runner (#8425) PR #8425
Make test discovery for test_testprojects.py IT more precise (#8395) PR #8395
Remote execution: Set RequestMetadata proto header (#8373) PR #8373
Run pants-plugin tests with V2 remote execution (#8413) PR #8413
Add type hints to contextutil.py, fileutil.py, and eval.py (#8401) PR #8401
Revert “Format our python code with Black (#8391)” (#8409) PR #8409
1.22.0.dev1 (10/04/2019)
API Changes
New Features
Bugfixes
Revert “Fix export test failure to unrevert #8370 (#8380)” (#8386) PR #8386
Fix typo: “our” -> “are” (#8372) PR #8372
Fix export test failure to unrevert #8370 (#8380) PR #8380
Revert “add scala_platform to export output for metals! (#8370)” (#8379) PR #8379
No longer cache failed ExecuteProcessResult`s (#8291) `PR #8291
Refactoring, Improvements, and Tooling
Follow up on critical path algorithm (#8381) PR #8381
Make PEX creation generic (#8289) PR #8289
Replace most usages of datatype() with @dataclass (#8362) PR #8362
Port backend/project-info integration tests to V2 (#8361) PR #8361
Port engine/legacy integration tests to V2 (#8363) PR #8363
add scala_platform to export output for metals! (#8370) PR #8370
Remove a superfluous import. (#8376) PR #8376
Update rust to 1.38.0 (#8367) PR #8367
Port more integration tests to V1 chroot and some to V2 (#8365) PR #8365
Don’t upgrade openssl on the OSX Rust test CI shard. (#8383) PR #8383
1.22.0.dev0 (09/28/2019)
API Changes
New Features
Bugfixes
Refactoring, Improvements, and Tooling
Modify isort config to prepare for black formatting (#8332) PR #8332
Use unwrap_or_else not unwrap_or (#8341) PR #8341
Use double quoted strings in __init__.py files to prepare for Black (#8333) PR #8333
allow @rule`s to end in `yield Get(…) (#8227) PR #8227
v2 rule for stripping source roots (#8326) PR #8326
Introduce hash_utils.hash_dir. (#8327) PR #8327
Documentation
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.contrib.python.checks.checker-1.22.0rc2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fad276b38b8350207256a05d0edff9be4013ca996ed507a2898e5442eb5500f8 |
|
MD5 | fb4ed0bcd2a30b9505875dbdfa0621d2 |
|
BLAKE2b-256 | 3207b4ef7b968298ce08abacac6d0d0fd55d8c8cd1e0ae308a1ab4ca28ee90b8 |