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.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.0rc0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a5e139b481cf3f737484c64e9fcd11a30fdbafa3cd5627bdab7dd469d5dff60a |
|
MD5 | b40d2f18d26b5fd4102a875938ce5b11 |
|
BLAKE2b-256 | bd017267e31731f1a529166446bfc753efcb0b58dbe05fe641f247ce2c549d86 |