Metadata-Version: 2.1
Name: pantsbuild.pants.contrib.codeanalysis
Version: 1.22.0rc2
Summary: Support for various code analysis tools in Pants.
Home-page: https://github.com/pantsbuild/pants
Author: UNKNOWN
Author-email: UNKNOWN
License: Apache License, Version 2.0
Project-URL: Documentation, https://www.pantsbuild.org/
Project-URL: Source, https://github.com/pantsbuild/pants
Project-URL: Tracker, https://github.com/pantsbuild/pants/issues
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.22.0rc2)

Pants is an Apache2 licensed build tool written in Python.

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

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
~~~~~~~~~~~~

* Add Zinc for outlining support (#8560)
  `PR #8560 <https://github.com/pantsbuild/pants/pull/8560>`_

* Render cyclic path in node error to avoid --print-exception-stacktrace (#8422)
  `PR #8422 <https://github.com/pantsbuild/pants/pull/8422>`_

Bugfixes
~~~~~~~~

* Fix fingerprint dict with files (#8569)
  `PR #8569 <https://github.com/pantsbuild/pants/pull/8569>`_

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

* Rust nails client for local hermetic nailgun execution. (#8564)
  `PR #8564 <https://github.com/pantsbuild/pants/pull/8564>`_

* Implement Nailgun in V2 hermetic execution (#8371)
  `PR #8371 <https://github.com/pantsbuild/pants/pull/8371>`_


1.22.0rc1 (11/01/2019)
------------------------

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

* Allow users to override compile.rsc workflows via env var and add --allow-public-inference option (#8537)
  `PR #8537 <https://github.com/pantsbuild/pants/pull/8537>`_

* Add workflow option for -Youtline as an outliner (#8427)
  `PR #8427 <https://github.com/pantsbuild/pants/pull/8427>`_

Bugfixes
~~~~~~~~

* Revert "Squashed commit of the following: (#8302)" (#8551)
  `PR #8551 <https://github.com/pantsbuild/pants/pull/8551>`_

* Add lock around bootstrap compiler bridge jar (#8535)
  `PR #8535 <https://github.com/pantsbuild/pants/pull/8535>`_

* Fix assertion on hydrate_missing_directory_digest (#8534)
  `PR #8534 <https://github.com/pantsbuild/pants/pull/8534>`_

* Fix zinc jar missing digest on double check cache hit (#8532)
  `PR #8532 <https://github.com/pantsbuild/pants/pull/8532>`_

* Ensure node build products added to the classpath have been snapshotted (#8514)
  `PR #8514 <https://github.com/pantsbuild/pants/pull/8514>`_

* Avoid globbing jdk home with symlinks (#8484)
  `PR #8484 <https://github.com/pantsbuild/pants/pull/8484>`_

* pin cryptography lib to 2.7 (#8515)
  `PR #8515 <https://github.com/pantsbuild/pants/pull/8515>`_

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

* Increase our client count and sync bootstrapped files. (#8536)
  `PR #8536 <https://github.com/pantsbuild/pants/pull/8536>`_

* Move rust tests into their own files (#8512)
  `PR #8512 <https://github.com/pantsbuild/pants/pull/8512>`_

* Digest can be deserialized as well as serialized (#8497)
  `PR #8497 <https://github.com/pantsbuild/pants/pull/8497>`_


1.22.0rc0 (10/20/2019)
------------------------

New Features
~~~~~~~~~~~~

* Add duration to Job to prep for calculating critical path (#8441)
  `PR #8441 <https://github.com/pantsbuild/pants/pull/8441>`_

* Only resolve requirements from PythonRequirementLibrary targets for setup_requires in python_dist() (#8442)
  `PR #8442 <https://github.com/pantsbuild/pants/pull/8442>`_

Bugfixes
~~~~~~~~

* fix NameError in ExceptionSink.trapped_signals() if .reset_signal_handler() raises (#8482)
  `PR #8482 <https://github.com/pantsbuild/pants/pull/8482>`_

* Fix undigested m.jar under validated targets (#8479)
  `PR #8479 <https://github.com/pantsbuild/pants/pull/8479>`_

* Fix async_semaphore deadlock, and only fail speculation if primary command fails. (#8374)
  `PR #8374 <https://github.com/pantsbuild/pants/pull/8374>`_

* Fix missing digest for m.jar (#8447)
  `PR #8447 <https://github.com/pantsbuild/pants/pull/8447>`_

* Use jvm options from RSC subsystem for RSC invocation (#8434)
  `PR #8434 <https://github.com/pantsbuild/pants/pull/8434>`_

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

* Restore pycodestyle (#8471)
  `PR #8471 <https://github.com/pantsbuild/pants/pull/8471>`_

* Remove `enum()` to consolidate around standard library Enum (#8475)
  `PR #8475 <https://github.com/pantsbuild/pants/pull/8475>`_
  `PR #8467 <https://github.com/pantsbuild/pants/pull/8467>`_

* Type check core base code (#8462)
  `PR #8462 <https://github.com/pantsbuild/pants/pull/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 <https://github.com/pantsbuild/pants/pull/8436>`_

* Squashed commit of the following: (#8302)
  `PR #8302 <https://github.com/pantsbuild/pants/pull/8302>`_

* Revert "Modify `engine.objects.Collection` to work with type hints (#8467)" (#8476)
  `PR #8467 <https://github.com/pantsbuild/pants/pull/8467>`_
  `PR #8476 <https://github.com/pantsbuild/pants/pull/8476>`_

* Use `collections.Enum` for Nailgun task related code (#8461)
  `PR #8461 <https://github.com/pantsbuild/pants/pull/8461>`_

* Use `collections.Enum` instead of `enum()` (#8443)
  `PR #8443 <https://github.com/pantsbuild/pants/pull/8443>`_

* Prepare 1.21.0. (#8474)
  `PR #8474 <https://github.com/pantsbuild/pants/pull/8474>`_

* Modify `engine.objects.Collection` to work with type hints (#8467)
  `PR #8467 <https://github.com/pantsbuild/pants/pull/8467>`_

* Use `partially_type_checked` tag for incremental type hinting of Pants repo (#8464)
  `PR #8464 <https://github.com/pantsbuild/pants/pull/8464>`_

* Use Duration not f64 (#8396)
  `Issue #54361 <https://github.com/rust-lang/rust/issues/54361>`_
  `PR #8396 <https://github.com/pantsbuild/pants/pull/8396>`_

Documentation
~~~~~~~~~~~~~

* Propose guidance around contentious decisions. (#8438)
  `PR #8438 <https://github.com/pantsbuild/pants/pull/8438>`_


1.22.0.dev2 (10/13/2019)
------------------------

API Changes
~~~~~~~~~~~
* Deprecate mypy-version flag and add new version flag (#8463)
  `Issue #7627 <https://github.com/pantsbuild/pants/issues/7627>`_
  `PR #8463 <https://github.com/pantsbuild/pants/pull/8463>`_

* Fix tensorflow==1.14 globbing with platform-specific native_lib_names (#8378)
  `PR #8378 <https://github.com/pantsbuild/pants/pull/8378>`_

* Error out if the user explicitly tries to test a non-test tgt. (#8402)
  `PR #8402 <https://github.com/pantsbuild/pants/pull/8402>`_


New Features
~~~~~~~~~~~~
* Allow ignoring flake errors by name in addition to code. (#8444)
  `PR #8444 <https://github.com/pantsbuild/pants/pull/8444>`_

* Allow extra remote execution headers to be set (#8430)
  `PR #8430 <https://github.com/pantsbuild/pants/pull/8430>`_

* Start creating `binary` goal with support for python (#8399)
  `PR #8399 <https://github.com/pantsbuild/pants/pull/8399>`_

* Add support for running Pants with Python 3.8 (#8415)
  `PR #8415 <https://github.com/pantsbuild/pants/pull/8415>`_

Bugfixes
~~~~~~~~
* Send cumulative_timings & recorded_options in stats v2 too. (#8456)
  `PR #8456 <https://github.com/pantsbuild/pants/pull/8456>`_

* Fix double check cache digest (#8416)
  `PR #8416 <https://github.com/pantsbuild/pants/pull/8416>`_

* Don't panic in create_scheduler (#8428)
  `PR #8428 <https://github.com/pantsbuild/pants/pull/8428>`_

* [junit-run] apply platform args to junit run java exec (#8421)
  `PR #8421 <https://github.com/pantsbuild/pants/pull/8421>`_

* Don't shade the nailgun package (#8418)
  `PR #8418 <https://github.com/pantsbuild/pants/pull/8418>`_

* Make subsystem dep explicit for RSC compile (#8406)
  `PR #8406 <https://github.com/pantsbuild/pants/pull/8406>`_

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

* Improve support for `Enum`s as option types (#8458)
  `PR #8458 <https://github.com/pantsbuild/pants/pull/8458>`_

* Port `test_pytest_run_integration.py` to V2 (#8466)
  `PR #8466 <https://github.com/pantsbuild/pants/pull/8466>`_

* Fix `PantsRunIntegrationTest.mock_buildroot()` to work with `--chroot` (#8465)
  `PR #8465 <https://github.com/pantsbuild/pants/pull/8465>`_

* Use f-strings in python tasks. (#8449)
  `PR #8449 <https://github.com/pantsbuild/pants/pull/8449>`_

* Run fuse tests on OSX again (#8453)
  `PR #8453 <https://github.com/pantsbuild/pants/pull/8453>`_
  `Issue #10017 <https://github.com/travis-ci/travis-ci/issues/10017>`_

* Replace majority of remaining `datatype()`s with `@dataclass` (#8435)
  `PR #8435 <https://github.com/pantsbuild/pants/pull/8435>`_

* Use f-strings in pants daemon (#8448)
  `PR #8448 <https://github.com/pantsbuild/pants/pull/8448>`_

* Add collections.Enum class that extends stdlib Enum with ~pattern matching (#8451)
  `PR #8451 <https://github.com/pantsbuild/pants/pull/8451>`_

* use travis wait enhanced in shards with remoting enabled (#8446)
  `PR #8446 <https://github.com/pantsbuild/pants/pull/8446>`_

* Add file to allow a clean looking git blame (#8404)
  `PR #8404 <https://github.com/pantsbuild/pants/pull/8404>`_

* remove @_algebraic_data decorator to support @dataclass and mypy (#8437)
  `PR #8437 <https://github.com/pantsbuild/pants/pull/8437>`_

* Run testprojects integration tests with V2 test runner (#8426)
  `PR #8426 <https://github.com/pantsbuild/pants/pull/8426>`_

* Restore running `test_testprojects_integration.py` with chroot (#8433)
  `PR #8433 <https://github.com/pantsbuild/pants/pull/8433>`_

* Replace more `datatype()` instances with `@dataclass` (#8423)
  `PR #8423 <https://github.com/pantsbuild/pants/pull/8423>`_

* Add `@frozen_after_init` decorator to make some @dataclass uses safer with V2 (#8431)
  `PR #8431 <https://github.com/pantsbuild/pants/pull/8431>`_

* Type check `meta.py` and replace `Singleton` with `SingletonMetaclass` (#8424)
  `PR #8424 <https://github.com/pantsbuild/pants/pull/8424>`_

* Set internal `pants.ini` to use chroot for V1 Pytest runner (#8425)
  `PR #8425 <https://github.com/pantsbuild/pants/pull/8425>`_

* Make test discovery for `test_testprojects.py` IT more precise (#8395)
  `PR #8395 <https://github.com/pantsbuild/pants/pull/8395>`_

* Remote execution: Set RequestMetadata proto header (#8373)
  `PR #8373 <https://github.com/pantsbuild/pants/pull/8373>`_

* Run pants-plugin tests with V2 remote execution (#8413)
  `PR #8413 <https://github.com/pantsbuild/pants/pull/8413>`_

* Add type hints to `contextutil.py`, `fileutil.py`, and `eval.py` (#8401)
  `PR #8401 <https://github.com/pantsbuild/pants/pull/8401>`_

* Revert "Format our python code with Black (#8391)" (#8409)
  `PR #8409 <https://github.com/pantsbuild/pants/pull/8409>`_


1.22.0.dev1 (10/04/2019)
------------------------

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

* Depreciate resolve.ivy (#8364)
  `PR #8364 <https://github.com/pantsbuild/pants/pull/8364>`_

* Deprecate `@rule(...)` in favor of `@rule` (#8360)
  `PR #8360 <https://github.com/pantsbuild/pants/pull/8360>`_


New Features
~~~~~~~~~~~~

* Add black support as a v2 rule (#8350)
  `PR #8350 <https://github.com/pantsbuild/pants/pull/8350>`_

* Use the newest pyflakes for internal Python linter (#8359)
  `PR #8359 <https://github.com/pantsbuild/pants/pull/8359>`_


Bugfixes
~~~~~~~~

* Revert "Fix export test failure to unrevert #8370 (#8380)" (#8386)
  `PR #8386 <https://github.com/pantsbuild/pants/pull/8386>`_

* Fix typo: "our" -> "are" (#8372)
  `PR #8372 <https://github.com/pantsbuild/pants/pull/8372>`_

* Fix export test failure to unrevert #8370 (#8380)
  `PR #8380 <https://github.com/pantsbuild/pants/pull/8380>`_

* Revert "add scala_platform to export output for metals! (#8370)" (#8379)
  `PR #8379 <https://github.com/pantsbuild/pants/pull/8379>`_

* No longer cache failed `ExecuteProcessResult`s (#8291)
  `PR #8291 <https://github.com/pantsbuild/pants/pull/8291>`_


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

* Follow up on critical path algorithm (#8381)
  `PR #8381 <https://github.com/pantsbuild/pants/pull/8381>`_

* Make PEX creation generic (#8289)
  `PR #8289 <https://github.com/pantsbuild/pants/pull/8289>`_

* Replace most usages of datatype() with @dataclass (#8362)
  `PR #8362 <https://github.com/pantsbuild/pants/pull/8362>`_

* Port `backend/project-info` integration tests to V2 (#8361)
  `PR #8361 <https://github.com/pantsbuild/pants/pull/8361>`_

* Port `engine/legacy` integration tests to V2 (#8363)
  `PR #8363 <https://github.com/pantsbuild/pants/pull/8363>`_

* add scala_platform to export output for metals! (#8370)
  `PR #8370 <https://github.com/pantsbuild/pants/pull/8370>`_

* Remove a superfluous import. (#8376)
  `PR #8376 <https://github.com/pantsbuild/pants/pull/8376>`_

* Update rust to 1.38.0 (#8367)
  `PR #8367 <https://github.com/pantsbuild/pants/pull/8367>`_

* Port more integration tests to V1 chroot and some to V2 (#8365)
  `PR #8365 <https://github.com/pantsbuild/pants/pull/8365>`_

* Don't upgrade openssl on the OSX Rust test CI shard. (#8383)
  `PR #8383 <https://github.com/pantsbuild/pants/pull/8383>`_


1.22.0.dev0 (09/28/2019)
------------------------

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

* Support DRY type-annotated @rules. (#8330)
  `PR #8330 <https://github.com/pantsbuild/pants/pull/8330>`_

* Upgrade `spin` crate to patch a vulnerability. (#8320)
  `PR #8320 <https://github.com/pantsbuild/pants/pull/8320>`_

New Features
~~~~~~~~~~~~

* add --transitive flag to ConsoleTask! (#8224)
  `PR #8224 <https://github.com/pantsbuild/pants/pull/8224>`_

* Support mypy plugins and 3rdpary type definitions. (#8328)
  `PR #8328 <https://github.com/pantsbuild/pants/pull/8328>`_

* Enable incremental compile for zinc hermetic by adding scratch input digest for local ExecuteProcessRequest (#8282)
  `PR #8282 <https://github.com/pantsbuild/pants/pull/8282>`_

Bugfixes
~~~~~~~~

* Handle blank description in _print_goals_help (#8088)
  `PR #8088 <https://github.com/pantsbuild/pants/pull/8088>`_

* Make sure PEX executions are hermetic. (#8335)
  `PR #8335 <https://github.com/pantsbuild/pants/pull/8335>`_

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

* Modify isort config to prepare for black formatting (#8332)
  `PR #8332 <https://github.com/pantsbuild/pants/pull/8332>`_

* Use unwrap_or_else not unwrap_or (#8341)
  `PR #8341 <https://github.com/pantsbuild/pants/pull/8341>`_

* Use double quoted strings in __init__.py files to prepare for Black (#8333)
  `PR #8333 <https://github.com/pantsbuild/pants/pull/8333>`_

* allow `@rule`s to end in `yield Get(...)` (#8227)
  `PR #8227 <https://github.com/pantsbuild/pants/pull/8227>`_

* v2 rule for stripping source roots (#8326)
  `PR #8326 <https://github.com/pantsbuild/pants/pull/8326>`_

* Introduce `hash_utils.hash_dir`. (#8327)
  `PR #8327 <https://github.com/pantsbuild/pants/pull/8327>`_

Documentation
~~~~~~~~~~~~~

* Fix number of "build wheels" shards in release doc. (#8325)
  `PR #8325 <https://github.com/pantsbuild/pants/pull/8325>`_

* Add project links so they show up in pypi. (#8322)
  `PR #8322 <https://github.com/pantsbuild/pants/pull/8322>`_


