Skip to main content

Additional python lints and checks.

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.0 (11/14/2019)

The first stable release of the 1.22.x series, with no changes since the previous rc!

1.22.0rc2 (11/08/2019)

New Features

  • Add Zinc for outlining support (#8560) PR #8560

  • Render cyclic path in node error to avoid –print-exception-stacktrace (#8422) PR #8422

Bugfixes

  • Fix fingerprint dict with files (#8569) PR #8569

Refactoring, Improvements, and Tooling

  • Rust nails client for local hermetic nailgun execution. (#8564) PR #8564

  • Implement Nailgun in V2 hermetic execution (#8371) PR #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

  • Add workflow option for -Youtline as an outliner (#8427) PR #8427

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

  • Increase our client count and sync bootstrapped files. (#8536) PR #8536

  • Move rust tests into their own files (#8512) PR #8512

  • Digest can be deserialized as well as serialized (#8497) PR #8497

1.22.0rc0 (10/20/2019)

New Features

  • Add duration to Job to prep for calculating critical path (#8441) PR #8441

  • Only resolve requirements from PythonRequirementLibrary targets for setup_requires in python_dist() (#8442) PR #8442

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

  • Allow ignoring flake errors by name in addition to code. (#8444) PR #8444

  • Allow extra remote execution headers to be set (#8430) PR #8430

  • Start creating binary goal with support for python (#8399) PR #8399

  • Add support for running Pants with Python 3.8 (#8415) PR #8415

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

  • Depreciate resolve.ivy (#8364) PR #8364

  • Deprecate @rule(…) in favor of @rule (#8360) PR #8360

New Features

  • Add black support as a v2 rule (#8350) PR #8350

  • Use the newest pyflakes for internal Python linter (#8359) PR #8359

Bugfixes

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

  • Support DRY type-annotated @rules. (#8330) PR #8330

  • Upgrade spin crate to patch a vulnerability. (#8320) PR #8320

New Features

  • add –transitive flag to ConsoleTask! (#8224) PR #8224

  • Support mypy plugins and 3rdpary type definitions. (#8328) PR #8328

  • Enable incremental compile for zinc hermetic by adding scratch input digest for local ExecuteProcessRequest (#8282) PR #8282

Bugfixes

  • Handle blank description in _print_goals_help (#8088) PR #8088

  • Make sure PEX executions are hermetic. (#8335) PR #8335

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

  • Fix number of “build wheels” shards in release doc. (#8325) PR #8325

  • Add project links so they show up in pypi. (#8322) PR #8322

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

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

pantsbuild.pants.contrib.python.checks-1.22.0-py36.py37-none-any.whl (19.5 kB view hashes)

Uploaded Python 3.6 Python 3.7

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page