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.17.x Stable Releases
This document describes releases leading up to the 1.17.x stable series.
1.17.0 (8/01/2019)
The first stable release of 1.17.x, with no changes since the previous rc.
1.17.0rc2 (7/26/2019)
API Changes
Add concurrent flag, which overrides –enable-pantsd (#7944) PR #7944
Bugfixes
Add some of the wording from #7913 that wasn’t merged in #7924 (#7958) PR #7958
Crash pailgun client on SIGINT if we haven’t received the pid yet (#7924) Issue #7920 PR #7924
1.17.0rc1 (6/22/2019)
API Changes
Use –no-enabled-shared for Linux wheel-builder interpreter so that the released PEX works with statically built interpreters (#7794) PR #7794
Bugfixes
Use Selectors module for more robust and efficient syscalls (#7882) Issue #7880 PR #7882
Fix Nailgun failure when the port is not specified (#7878) PR #7878
Fix Junit runner failing when –extra-jvm-options provided (#7877) PR #7877 PR #7067
Fix py-thrift-namespace-clash-check type issue when logging with –no-strict mode (#7864) PR #7864
Fix rsc compile transitive dep bug introduced in #7742 (#7825) PR #7825
Refactoring, Improvements, and Tooling
1.17.0rc0 (5/30/2019)
Bugfixes
make assorted rsc task fixes (#7742) PR #7742
Fix symlinking logic in the presence of broken links. (#7791) PR #7791
Fix doc bug for –fast in testrunner_task_mixin (#7797) PR #7797
Fix dependency cycle between backend/native/subsystems and backend/python/subsystems (#7793) PR #7793
Fix create_subprocess_encoding_environment rule. (#7789) PR #7789
New Features
Refactoring, Improvements, and Tooling
Name threads in the WorkerPool by the name of their parent workunit name (#7813) PR #7813
Blacklist pailgun_server test (#7812) PR #7812
Make futures_helper_thread not Resettable (#7811) PR #7811
Force sequential runs under pantsd (#7781) PR #7781
Upgrade isort and add/fix support for skip config. (#7804) PR #7804
Always use the global interpreter for PythonExecutionTaskBase. (#7801) PR #7801
Update to rust 1.35.0 (#7798) PR #7798
Add scalastyle to the v2 unit test blacklist. (#7800) PR #7800
Run majority of unit tests in CI with V2 Pytest runner (#7724) PR #7724
Have the daemon wait until we stop writing to the socket. (#7782) PR #7782
Properly render multiline output when a V2 task fails (#7783) PR #7783
Deflake serverset test (#7780) PR #7780
Extract RuleGraph into a separate crate (#7767) PR #7767
1.17.0.dev1 (5/22/2019)
New Features
Bugfixes
Fix PytestRun to honor user conftest.py plugins. (#7784) PR #7784
Only python_binary’s constraint should be included in a built pex (#7776) PR #7776
Revert v2 zipkin support due to #7415. (#7773) PR #7773
Use patched protobuf with RUSTSEC-2019-0003 fix. (#7770) PR #7770
Fix hermetic environment issues with V2 tasks (#7721) PR #7721
Handle empty test targets for junit_xml_dir. (#7752) PR #7752
Align mypy interpreter constraint with reality. (#7754) PR #7754
Fix using sets with V2 Struct causing unhashable TypeError (#7747) PR #7747
Confluence publishing uses correct text types (#7746) PR #7746
Fix invalidation of awslambda bundling. (#7744) PR #7744
Fix Python 2 regression for V2 pytest (#7736) PR #7736
Fix ‘current’ platform check for python_dist() targets with C/C++ sources (#7687) PR #7687
Bump pex to 1.6.7 (#7731) PR #7731
Fixes for pants release 1.17.0.dev0 (#7727) PR #7727
Fix ordering of args from compiler_option_sets and add test for scalac profiling (#7683) PR #7683
Refactoring, Improvements, and Tooling
Create Pipe wrapper around pipes (#7740) PR #7740
OSX ignore serverset::tests::reattempts_unhealthy. (#7774) PR #7774
Ignore RUSTSEC-2019-0003. (#7766) PR #7766
Memoize graph walks on Context (#7758) PR #7758
Skip broken test_pantsd_memory_usage for python2. (#7765) PR #7765
Skip broken CTypesIntegrationTest methods. (#7764) PR #7764
Hash an entire json input in one call. (#7759) PR #7759
Fix doc comment locations (#7757) PR #7757
Don’t require ack, grep can do the job. (#7753) PR #7753
Extract a generalized V2 rule to inject __init__.py files (#7722) PR #7722
Tweak V2 pytest’s execute process description to get more cache hits (#7737) PR #7737
Use @union to make the v2 test runner generic (#7661) PR #7661
Thread-local logging (#7690) PR #7690
Tone down logging when making ShardedLmdbs (#7733) PR #7733
Add logging for V2 test scheduler as temporary workaround until V2 UI is finished (#7729) PR #7729
Apply more shellcheck fixes to build-support scripts (#7719) PR #7719
Rename V2’s MergedDirectories to DirectoriesToMerge (#7730) PR #7730
Always use curl –fail (#7717) PR #7717
Pipe LineOriented through the console (#7723) PR #7723
Properly resolve transitive dependencies in V2 Pytest runner (#7720) PR #7720
Add intrinsic to lift a Digest to a Snapshot (#7725) PR #7725
Add support for source roots in V2 ./pants test (#7696) PR #7696
Add support in check_header.py for Python 3-style headers (#7713) PR #7713
Add shellcheck.py and apply first round of fixes (#7698) PR #7698
Documentation
1.17.0.dev0 (5/13/2019)
Bugfixes
Refactoring, Improvements, and Tooling
Setup MyPy config and enforce types for build-support scripts (#7704) Issue #6742 PR #7704
Add builtin Rust rule to strip prefixes from directories for source root support (#7699) Issue #7697 PR #7699
Refactor and modernize check_header.py to use Python 3 (#7635) PR #7635
Add pantsd_invalidation_globs option into pants.ini (#7705) PR #7705
Mark build-support Python files as Pants targets to lint build-support (#7633) PR #7633
Refactor check_banned_imports.py to allow Python 3 files to import subprocess (#7706) PR #7706
Rerun cbindgen on changes to src (#7708) PR #7708
add stack traces to unhashable TypeErrors in the engine (#7532) PR #7532
Convert check_banned_imports.sh to Python to workaround Bash array issues and for less duplication (#7702) PR #7702
Output stderr in V2 test rule (#7694) PR #7694
Remove now-unused Path type (#7701) PR #7701
Improve V2 ./pants test output to make it easier to parse results of multiple targets (#7676) PR #7676
Allow V2 console rules to use colors (#7689) PR #7689
Refactor PythonSetup.interpreter_or_constraints() to take a compatibility value rather than a PythonTarget (#7691) PR #7691
Remove ResettablePool (#7688) PR #7688
PosixFS no longer has its own threadpool (#7685) PR #7685
Refactor v2 TestResult model to use enum (#7677) PR #7677
V2 ./pants test.pytest selects interpreter based off of compatibility constraints (#7679) PR #7679
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.17.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b9b449ed697e130ba563885f16189ff1126ba3330417ed3840ca51fa4a3a66d |
|
MD5 | 423cc463dd5338b2ff25231c0d317544 |
|
BLAKE2b-256 | a945d000b94ca04b18f883e97fff37c162193ed9fd6253c6a0bb732f74498cea |