Metadata-Version: 2.0
Name: pantsbuild.pants.contrib.python.checks
Version: 1.9.0rc2
Summary: Additional python lints and checks.
Home-page: https://github.com/pantsbuild/pants
Author: UNKNOWN
Author-email: UNKNOWN
License: Apache License, Version 2.0
Platform: UNKNOWN
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python
Classifier: Topic :: Software Development :: Build Tools
Requires-Dist: pantsbuild.pants (==1.9.0rc2)
Requires-Dist: pex (==1.4.3)
Requires-Dist: pycodestyle (==2.4.0)
Requires-Dist: pyflakes (==2.0.0)

Pants is an Apache2 licensed build tool written in Python.

The latest documentation can be found `here <http://pantsbuild.org/>`_.

1.9.x Stable Releases
=====================

This document describes releases leading up to the ``1.9.x`` ``stable`` series.

1.9.0rc2 (08/30/2018)
---------------------

New features
~~~~~~~~~~~~

* Add --output-dir flag to ScalaFmt task (#6134)
  `PR #6134 <https://github.com/pantsbuild/pants/pull/6134>`_

Bugfixes
~~~~~~~~

* Fix --binaries-path-by-id fingerprinting error (#6413)
  `PR #6413 <https://github.com/pantsbuild/pants/pull/6413>`_

* added fullpath to fix path concat issue with files when not in git root (#6331)
  `PR #6331 <https://github.com/pantsbuild/pants/pull/6331>`_

* Link requirements targets to their source. (#6405)
  `PR #6405 <https://github.com/pantsbuild/pants/pull/6405>`_

* Move fork context management to rust (#5521)
  `PR #5521 <https://github.com/pantsbuild/pants/pull/5521>`_

* Bound pytest below 3.7 to avoid a ZipImportError (#6285)
  `PR #6285 <https://github.com/pantsbuild/pants/pull/6285>`_

* Fix pydist native sources selection (#6205)
  `PR #6205 <https://github.com/pantsbuild/pants/pull/6205>`_

* Fix spurious deprecation warning for fatal_warnings (#6237)
  `PR #6237 <https://github.com/pantsbuild/pants/pull/6237>`_

Refactoring, Improvements, and Tooling
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

* Add basic native task unit tests. (#6179)
  `PR #6179 <https://github.com/pantsbuild/pants/pull/6179>`_

* Associate cli arguments with executables and refactor llvm/gcc c/c++ toolchain selection (#6217)
  `PR #6217 <https://github.com/pantsbuild/pants/pull/6217>`_

1.9.0rc1 (07/20/2018)
---------------------

* 1.9.0rc0 failed due to a pypi error (#6192)
  `Issue 6192 <https://github.com/pantsbuild/pants/issues/6192>`_

1.9.0rc0 (07/19/2018)
---------------------

New features
~~~~~~~~~~~~

* Conan (third party) support for ctypes native libraries (#5998)
  `PR #5998 <https://github.com/pantsbuild/pants/pull/5998>`_
  `PR #5815 <https://github.com/pantsbuild/pants/pull/5815>`_

* Early support for @console_rule. (#6088)
  `PR #6088 <https://github.com/pantsbuild/pants/pull/6088>`_

Bugfixes
~~~~~~~~

* Fix incorrect use of bytes() when invoking the daemon in a tty (#6181)
  `PR #6181 <https://github.com/pantsbuild/pants/pull/6181>`_

* rustfmt check more reliably works (#6172)
  `PR #6172 <https://github.com/pantsbuild/pants/pull/6172>`_

* Fix isort issues (#6174)
  `PR #6174 <https://github.com/pantsbuild/pants/pull/6174>`_

* add the target fingerprint to the version of each local dist so that we don't use the first cached one (#6022)
  `PR #6022 <https://github.com/pantsbuild/pants/pull/6022>`_

* Eliminate obsolete PANTS_ARGS from ci. (#6141)
  `PR #6141 <https://github.com/pantsbuild/pants/pull/6141>`_

* Preserve output directories if process execution failed (#6152)
  `PR #6152 <https://github.com/pantsbuild/pants/pull/6152>`_

Refactoring, Improvements, and Tooling
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

* Upgrade to isort 4.3.4. (#6166)
  `PR #6166 <https://github.com/pantsbuild/pants/pull/6166>`_

* fs_util can list the recursive files in a Directory (#6153)
  `PR #6153 <https://github.com/pantsbuild/pants/pull/6153>`_

* Support output directory saving in remote execution (#6167)
  `PR #6167 <https://github.com/pantsbuild/pants/pull/6167>`_

* Move each EntryState in the graph under its own Mutex (#6095)
  `PR #6095 <https://github.com/pantsbuild/pants/pull/6095>`_

Documentation Updates
~~~~~~~~~~~~~~~~~~~~~

* Impose a consistent sort on CONTRIBUTORS.md. (#6125)
  `PR #6125 <https://github.com/pantsbuild/pants/pull/6125>`_

Python 3 porting (#6062)
~~~~~~~~~~~~~~~~~~~~~~~~

* Port engine to Python 3 (#6133)
  `PR #6133 <https://github.com/pantsbuild/pants/pull/6133>`_

* Port go to py3 (#6139)
  `PR #6139 <https://github.com/pantsbuild/pants/pull/6139>`_

* Port init package to Python 3 (#6145)
  `PR #6145 <https://github.com/pantsbuild/pants/pull/6145>`_

* Port help package to Python 3 (#6144)
  `PR #6144 <https://github.com/pantsbuild/pants/pull/6144>`_

* Port invalidation to Python 3 (#6147)
  `PR #6147 <https://github.com/pantsbuild/pants/pull/6147>`_

* port cpp to py3 (#6116)
  `PR #6116 <https://github.com/pantsbuild/pants/pull/6116>`_

* Port ivy to Python 3 (#6154)
  `PR #6154 <https://github.com/pantsbuild/pants/pull/6154>`_

* Port java to Python 3 (#6159)
  `PR #6159 <https://github.com/pantsbuild/pants/pull/6159>`_

* Port contrib/scalajs to py3 (#6164)
  `PR #6164 <https://github.com/pantsbuild/pants/pull/6164>`_

* port scrooge to py3 (#6165)
  `PR #6165 <https://github.com/pantsbuild/pants/pull/6165>`_

* Add missing future dependency to BUILD (#6135)
  `PR #6135 <https://github.com/pantsbuild/pants/pull/6135>`_

* Port binaries package to Python 3 (#6127)
  `PR #6127 <https://github.com/pantsbuild/pants/pull/6127>`_

* Port option package to python3 (#6117)
  `PR #6117 <https://github.com/pantsbuild/pants/pull/6117>`_

* Port to mypy to py3 (#6140)
  `PR #6140 <https://github.com/pantsbuild/pants/pull/6140>`_

* Port goal package to Python 3 (#6138)
  `Issue #6062 <https://github.com/pantsbuild/pants/issues/6062>`_
  `PR #6138 <https://github.com/pantsbuild/pants/pull/6138>`_

* Port findbugs to py3 (#6137)
  `PR #6137 <https://github.com/pantsbuild/pants/pull/6137>`_

* Port backend project info to Python 3 (#6132)
  `PR #6132 <https://github.com/pantsbuild/pants/pull/6132>`_

* Port backend graph info to Python 3 (#6131)
  `PR #6131 <https://github.com/pantsbuild/pants/pull/6131>`_

* Port core tasks to Python 3 (#6130)
  `PR #6130 <https://github.com/pantsbuild/pants/pull/6130>`_

1.9.0.dev1 (07/14/2018)
-----------------------

New features
~~~~~~~~~~~~

* Add support for reusing Graph node values if their inputs haven't changed (#6059)
  `PR #6059 <https://github.com/pantsbuild/pants/pull/6059>`_

* Compile a VERY simple java source remotely (no dependencies or inner classes) (#5999)
  `PR #5999 <https://github.com/pantsbuild/pants/pull/5999>`_

* Expose materialize_directory as an intrinsic function on the scheduler (#6028)
  `PR #6028 <https://github.com/pantsbuild/pants/pull/6028>`_

* Targets always have a Snapshot (#5994)
  `PR #5994 <https://github.com/pantsbuild/pants/pull/5994>`_

* Add an execution strategy flag (#5981)
  `PR #5981 <https://github.com/pantsbuild/pants/pull/5981>`_

* Enable passing option sets to the compiler and deprecate fatal_warnings (#6065)
  `PR #6065 <https://github.com/pantsbuild/pants/pull/6065>`_

API Changes
~~~~~~~~~~~

* Upgrade to v2 of bazel protobuf (#6027)
  `PR #6027 <https://github.com/pantsbuild/pants/pull/6027>`_

* Add PrimitivesSetField and deprecate SetOfPrimitivesField (#6087)
  `PR #6087 <https://github.com/pantsbuild/pants/pull/6087>`_

* Update to rust 1.27, implicitly requiring OSX 10.11 (#6035)
  `PR #6035 <https://github.com/pantsbuild/pants/pull/6035>`_

Bugfixes
~~~~~~~~

* Fix local execution of hermetic integration tests (#6101)
  `PR #6101 <https://github.com/pantsbuild/pants/pull/6101>`_

* Use PrimitivesSetField in ScalaJs target and minor help text fixup (#6113)
  `PR #6113 <https://github.com/pantsbuild/pants/pull/6113>`_

* Fix 'current' platform handling. (#6104)
  `PR #6104 <https://github.com/pantsbuild/pants/pull/6104>`_

* Make RUST_BACKTRACE sniffing less specific (#6107)
  `PR #6107 <https://github.com/pantsbuild/pants/pull/6107>`_

* Improve source field deprecations (#6097)
  `PR #6097 <https://github.com/pantsbuild/pants/pull/6097>`_

* Remove and prevent inaccurate __eq__ implementations on datatype (#6061)
  `PR #6061 <https://github.com/pantsbuild/pants/pull/6061>`_

* Ensure correct toolchain per clone. (#6054)
  `PR #6054 <https://github.com/pantsbuild/pants/pull/6054>`_

* Have pantsbuild-ci-bot do deploys. (#6053)
  `PR #6053 <https://github.com/pantsbuild/pants/pull/6053>`_

* Fix go-import meta tag ends with /> #6036 (#6037)
  `PR #6037 <https://github.com/pantsbuild/pants/pull/6037>`_

* Fix bad exclusion introduced during rushed change. (#6034)
  `PR #6034 <https://github.com/pantsbuild/pants/pull/6034>`_

* Fix unicode handling in Exiters (#6032)
  `PR #6032 <https://github.com/pantsbuild/pants/pull/6032>`_

* [pantsd] Improve environment unicode handling. (#6031)
  `PR #6031 <https://github.com/pantsbuild/pants/pull/6031>`_

* Actually return execution options (#6019)
  `PR #6019 <https://github.com/pantsbuild/pants/pull/6019>`_

* Ignore the `logs/` dir. (#6021)
  `PR #6021 <https://github.com/pantsbuild/pants/pull/6021>`_

* Fix edge removal in Graph that could make invalidation inaccurate (#6123)
  `PR #6123 <https://github.com/pantsbuild/pants/pull/6123>`_

Refactoring, Improvements, and Tooling
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

* Port errorprone to py3 (#6118)
  `PR #6118 <https://github.com/pantsbuild/pants/pull/6118>`_

* Port console to Python 3 (#6121)
  `PR #6121 <https://github.com/pantsbuild/pants/pull/6121>`_

* Port buildgen to py3 (#6110)
  `PR #6110 <https://github.com/pantsbuild/pants/pull/6110>`_

* Add release metadata to boxfuture (#6106)
  `PR #6106 <https://github.com/pantsbuild/pants/pull/6106>`_

* Port engine/fs.py datatype() instances (#6103)
  `PR #6103 <https://github.com/pantsbuild/pants/pull/6103>`_
  `PR #6098 <https://github.com/pantsbuild/pants/pull/6098>`_
  `PR #6092 <https://github.com/pantsbuild/pants/pull/6092>`_

* Port findbugs to py3. (#6120)
  `PR #6120 <https://github.com/pantsbuild/pants/pull/6120>`_

* Port codeanalysis to py3. (#6111)
  `PR #6111 <https://github.com/pantsbuild/pants/pull/6111>`_

* Port buildrefactor to py3. (#6109)
  `PR #6109 <https://github.com/pantsbuild/pants/pull/6109>`_

* Switch from output_async to spawn_async, and buffer output. (#6105)
  `PR #6105 <https://github.com/pantsbuild/pants/pull/6105>`_

* Allow Rust to store `unicode` as well as `bytes` (#6108)
  `PR #6108 <https://github.com/pantsbuild/pants/pull/6108>`_
  `PR #6103 <https://github.com/pantsbuild/pants/pull/6103>`_

* Remove unnecessary __future__ imports  (#6096)
  `PR #6096 <https://github.com/pantsbuild/pants/pull/6096>`_

* Port fs to python 3 compatibility (#6091)
  `PR #6091 <https://github.com/pantsbuild/pants/pull/6091>`_

* Nodes output cheaply-cloneable values (#6078)
  `PR #6078 <https://github.com/pantsbuild/pants/pull/6078>`_

* execution_strategy is a memoized_property (#6052)
  `PR #6052 <https://github.com/pantsbuild/pants/pull/6052>`_

* Port backend/python to Python 3 (#6086)
  `Issue #6062 <https://github.com/pantsbuild/pants/issues/6062>`_
  `PR #6086 <https://github.com/pantsbuild/pants/pull/6086>`_

* Port backend/native to Python 3 (#6084)
  `Issue #6062 <https://github.com/pantsbuild/pants/issues/6062>`_
  `PR #6084 <https://github.com/pantsbuild/pants/pull/6084>`_

* Port majority of pants/util to Python 3 (#6073)
  `Issue #6062 <https://github.com/pantsbuild/pants/issues/6062>`_
  `PR #6073 <https://github.com/pantsbuild/pants/pull/6073>`_

* Port backend/codegen and backend/docgen to Python 3 (#6083)
  `PR #6083 <https://github.com/pantsbuild/pants/pull/6083>`_

* Port util/process_handler.py and util/tarutil.py to Python 3 (#6082)
  `PR #6082 <https://github.com/pantsbuild/pants/pull/6082>`_
  `PR #6073 <https://github.com/pantsbuild/pants/pull/6073>`_

* Add `-ltrace` and requests debug logging. (#6070)
  `PR #6070 <https://github.com/pantsbuild/pants/pull/6070>`_

* Port util metaprogramming files to Python3 (#6072)
  `Issue #6062 <https://github.com/pantsbuild/pants/issues/6062>`_
  `PR #6072 <https://github.com/pantsbuild/pants/pull/6072>`_

* Add future lib and port src/base to Python3 (#6067)
  `Issue #6062), <https://github.com/pantsbuild/pants/issues/6062),>`_
  `PR #6067 <https://github.com/pantsbuild/pants/pull/6067>`_

* Run `futurize --stage1` to make safe changes for python 3 compatibility. (#6063)
  `PR #6063 <https://github.com/pantsbuild/pants/pull/6063>`_
  `Issue #6062 <https://github.com/pantsbuild/pants/issues/6062>`_

* Switch to a per-entry state machine in Graph (#6013)
  `PR #6013 <https://github.com/pantsbuild/pants/pull/6013>`_

* Log more in rust tests (#6060)
  `PR #6060 <https://github.com/pantsbuild/pants/pull/6060>`_

* Introduce libc subsystem to find crti.o on linux hosts and unskip the native backend subsystem tests (#5943)
  `PR #5943 <https://github.com/pantsbuild/pants/pull/5943>`_

* Clean up process execution python API (#6051)
  `PR #6051 <https://github.com/pantsbuild/pants/pull/6051>`_

* Skip pyprep and pytest-prep if there are no python targest (#6039)
  `PR #6039 <https://github.com/pantsbuild/pants/pull/6039>`_

* Simplify rust code (#6043)
  `PR #6043 <https://github.com/pantsbuild/pants/pull/6043>`_

* [remoting] Move local process execution tempdirs into the workdir, add option to not delete them (#6023)
  `PR #6023 <https://github.com/pantsbuild/pants/pull/6023>`_

* Many rust lints (#5982)
  `PR #5982 <https://github.com/pantsbuild/pants/pull/5982>`_

* Include type name in TypedDataType construction errors (#6015)
  `PR #6015 <https://github.com/pantsbuild/pants/pull/6015>`_

* Consolidate `src/python/pants/python` -> `src/python/pants/backend/python` (#6025)
  `PR #6025 <https://github.com/pantsbuild/pants/pull/6025>`_

* Extract and genericize Graph for easier testing (#6010)
  `PR #6010 <https://github.com/pantsbuild/pants/pull/6010>`_

* Add libc search noop option (#6122)
  `PR #6122 <https://github.com/pantsbuild/pants/pull/6122>`_

* Fix test_objects handling of dataclass() py2-py3 compatibility (#6098)
  `PR #6098 <https://github.com/pantsbuild/pants/pull/6098>`_
  `Issue #6062 <https://github.com/pantsbuild/pants/issues/6062>`_

1.9.0.dev0 (06/25/2018)
-----------------------

New features
~~~~~~~~~~~~

* Release Pants as a pex. (#6014)
  `PR #6014 <https://github.com/pantsbuild/pants/pull/6014>`_

* C/C++ targets which can be compiled/linked and used in python_dist() with ctypes (#5815)
  `PR #5815 <https://github.com/pantsbuild/pants/pull/5815>`_

API Changes
~~~~~~~~~~~

* Deprecate sources except EagerFilesetWithSpec (#5993)
  `PR #5993 <https://github.com/pantsbuild/pants/pull/5993>`_

* source attribute is automatically promoted to sources (#5908)
  `PR #5908 <https://github.com/pantsbuild/pants/pull/5908>`_

Bugfixes
~~~~~~~~

* Run scalafix before scalafmt (#6011)
  `PR #6011 <https://github.com/pantsbuild/pants/pull/6011>`_

Refactoring, Improvements, and Tooling
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

* Add .vscode/ folder to .gitignore (#6020)
  `PR #6020 <https://github.com/pantsbuild/pants/pull/6020>`_

* [engine] Selecting for ExecuteProcessResult will Throw on non-zero exit (#6000)
  `PR #6000 <https://github.com/pantsbuild/pants/pull/6000>`_

* Context always has a scheduler in tests (#5997)
  `PR #5997 <https://github.com/pantsbuild/pants/pull/5997>`_

* Engine looks up default sources when parsing (#5989)
  `PR #5989 <https://github.com/pantsbuild/pants/pull/5989>`_

* Fix TestSetupPyInterpreter.test_setuptools_version (#5988)
  `PR #5988 <https://github.com/pantsbuild/pants/pull/5988>`_

* Caching tests are parsed through the engine (#5985)
  `PR #5985 <https://github.com/pantsbuild/pants/pull/5985>`_

* Override get_sources for pants plugins (#5984)
  `PR #5984 <https://github.com/pantsbuild/pants/pull/5984>`_

* make_target upgrades sources to EagerFilesetWithSpec (#5974)
  `PR #5974 <https://github.com/pantsbuild/pants/pull/5974>`_

* Robustify test_namespace_effective PYTHONPATH. (#5976)
  `PR #5976 <https://github.com/pantsbuild/pants/pull/5976>`_

Documentation Updates
~~~~~~~~~~~~~~~~~~~~~

* 1.7.0 release notes (#5983)
  `PR #5983 <https://github.com/pantsbuild/pants/pull/5983>`_


