1.18.x Stable Releases

1.18.x Stable Releases

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

1.18.0 (8/01/2019)

The first stable release of 1.18.x, with no changes since the previous rc.

1.18.0rc1 (7/10/2019)

New Features

  • Add utf-8 encoding to thrift-generated python files (#8022) PR #8022

Bugfixes

  • Fix performance regression introduced by #7898 (#8006) PR #8006
  • Revert "Make precomputing fail more usefully (#7994)" (#8024) PR #8024
  • Fix plugin resolution to respect interpreter ABI. (#8005) PR #8005

Refactoring, Improvements, and Tooling

  • Extract cbindgen'd interface into its own crate (#8013) PR #8013
  • Fix pdb conflict in run_tracker stats request (#8025) PR #8025
  • Make union error messages better (#7999) PR #7999

Version updates

  • Update rust dependencies (#8016) PR #8016

1.18.0rc0 (7/5/2019)

API Changes

  • Add conftest.py to the python_tests default sources. (#7946) PR #7946

New Features

  • Add --[no-]remote-execution flag (#7991) PR #7991

Bugfixes

  • Make precomputing fail more usefully (#7994) PR #7994
  • Add __init__.py to directories created by grpcio (#7984) PR #7984
  • Don't use remote store when --no-remote-execution specified (#8010) PR #8010
  • Fix bug background workunits were printed in UI (#7997) PR #7997
  • relativize path for scalac classpath entry (#8011) PR #8011
  • Fix bad with_traceback() change from #7988 (#8004) PR #8004
  • Fix gocheckstyle decoding error (#7978) PR #7978

Refactoring, Improvements, and Tooling

  • Set up pants.remote.ini for remoting Python unit tests (#7990) PR #7990
  • Add type checking to several util files (#7998) PR #7998
  • Kill all uses of t.c.collections.OrderedDict. (#8003) PR #8003
  • Use default utf-8 encoding for string decode() and encode() (#7983) PR #7983
  • fix grpc threadpool size (#7974) PR #7974
  • Fix most Python 2 issues from #6071 (#7989) PR #7989
  • Remove future library (#7988) PR #7988
  • Remove remaining if PY{2,3} snippets (#7986) PR #7986
  • Remove six library (#7985) PR #7985
  • No longer use string_types (#7980) PR #7980
  • Use dedicated requirements.txt for contrib.python.checks.checker (#7982) PR #7982
  • Replace six.exec_() with exec() (#7981) PR #7981
  • Remove Python 2 handling of unicode (#7973) PR #7973
  • Remove future.moves and six.moves imports (#7975) PR #7975

Documentation

  • Fix ensure_interpreter_search_path_env docs. (#8000) PR #8000
  • Update style guide to use f-strings (#7987) PR #7987

Version updates

1.18.0.dev2 (6/28/2019)

Bugfixes

  • Fix the wheel count check for pex building. (#7933) PR #7933

Refactoring, Improvements, and Tooling

  • Remove text_type and binary_type wrappers (#7970) PR #7970
  • Fix cargo.sh to use Python 3 (#7972) PR #7972
  • Remove Python 2 use of std{out,err} over std{out,err}.buffer (#7968) PR #7968
  • Remove Python 2 hashlib.hexdigest() decoding (#7965) PR #7965
  • Revert "Workaround Travis timeout for OSX platforms test (#7919)" (#7967) PR #7967
  • Add Option for remote concurrency. (#7960) PR #7960
  • Remove Python 2 select.select() code (#7964) PR #7964
  • Simplify tests to no longer check for u"" character or unicode type (#7966) PR #7966
  • Remove subprocess, futures, and faulthandler backports (#7950) PR #7950
  • Remove unittest.mock backport (#7951) PR #7951
  • Hand over post-compile resources to zinc wrapper to keep classes/ and z.jar consistent (#7932) PR #7932
  • 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) PR #7924
  • Add whitelist of folders that must remain Python 2 compatible (#7941) PR #7941
  • Add concurrent flag, which overrides --enable-pantsd (#7944) PR #7944
  • Report zipkin spans regardless of goal version. (#7915) PR #7915
  • Don't memoize description in process execute memoization (#7916) PR #7916
  • Modernize classes to use Python 3 syntax (#7937) PR #7937
  • Remove configparser backport (#7939) PR #7939
  • Remove collections.abc backport (#7940) PR #7940
  • Remove self.assertRegex backport (#7938) PR #7938
  • Add --post-compile-merge-dir option in zinc (#7917) PR #7917
  • Remove builtins imports (#7934) PR #7934
  • Modernize abc stdlib usage. (#7928) PR #7928
  • Workaround Travis timeout for OSX platforms test (#7919) PR #7919
  • Modernize all headers to Python 3 style (#7926) PR #7926
  • Kill AbstractClass in favor of abc.ABC{,Meta}. (#7929) PR #7929

1.18.0.dev1 (6/21/2019)

API Changes

  • No longer release a Python 2 wheel or PEX (#7888) PR #7888
  • Bump default Mypy version from 0.670 to 0.710 (#7912) PR #7912

Bugfixes

  • Don't nest output directories in an empty path (#7908) PR #7908
  • Migrate python_repl to use ignoring-sigint (#7890) PR #7890
  • Use Selectors module for more robust and efficient syscalls (#7882) Issue #7880 PR #7882

Refactoring, Improvements, and Tooling

  • Set internal compatibility to >= CPython 3.6 and remove ./pants2 (#7925) PR #7925
  • Move reading and writing bytes from Store to ShardedLmdb (#7909) PR #7909
  • Remove Python 2 testing from CI (#7922) PR #7922
  • Move PATH testutils to testutil crate (#7910) PR #7910
  • Fix #7895 breaking CI for pull requests (#7921) PR #7921
  • Use S3 Sync for CI deploys to avoid recopying files (#7895) Issue #7258 PR #7895
  • Remove fork-related code from Rust (#7894) PR #7894
  • Prefactor: Extract store and sharded_lmdb into their own crates (#7904) PR #7904
  • Use Docker to build Python 3.7 PEX in CI (#7899) PR #7899
  • Switch back to using one threadpool (#7898) PR #7898
  • Skip failing TensorFlow tests (#7905) Issue #7903 PR #7905
  • Add Centos7 docker image to allow building Python 3.7 wheels (#7892) PR #7892
  • Fix macOS Rust tests shard failing to Brew install (#7893) PR #7893
  • Set up type_checked tag for internal type hint migration (#7886) PR #7886

1.18.0.dev0 (6/10/2019)

API Changes

New Features

  • fs_util directory materialize prints timing information to stderr (#7871) PR #7871
  • Migrate zinc compiler to scopt and add argfile support (#6803) PR #6803
  • Use zinc to create the context jar for zinc and rsc (#7833) PR #7833
  • Add generic --passthrough-args support. (#7803) PR #7803
  • Fix zipkin multithreading issue #7415 (#7826) PR #7826
  • Always capture and cache Digests in coursier and ivy (#7835) PR #7835
  • Write output from JUnit ConsoleRunner when process is terminated (#7799) PR #7799

Bugfixes

  • Fix Nailgun failure when the port is not specified (#7878) PR #7878
  • Fix Junit runner failing when --extra-jvm-options provided (#7877) PR #7877
  • Fix py-thrift-namespace-clash-check type issue when logging with --no-strict mode (#7864) PR #7864
  • Reinstate PosixFS Threadpool (#7848) PR #7848
  • Fix remoting of V2 Python test runner not being able to discover the Python interpreter (#7844) PR #7844
  • Fix .pyc files being included to partially get reproducible PEX builds (#7841) Issue #7808 PR #7841
  • Use --no-enabled-shared for Linux wheel-builder interpreter so that the released PEX works with statically built interpreters (#7794) PR #7794

Refactoring, Improvements, and Tooling

  • Remove an old redundant .isort.cfg. (#7859) PR #7859
  • Fix DistributionLocator dependency declarations. (#7875) PR #7875
  • Stabilize all tests of NailgunTask subclasses. (#7866) PR #7866
  • NailgunTasks execute java with consistent cwd. (#7872) PR #7872
  • add debug log for jvm target compile time ; fix execution graph display (#7873) PR #7873
  • Use argfile support in zinc and rsc (#7868) PR #7868
  • Create a separate crate for workunit_store (#7855) PR #7855
  • rsc re-uses DirectoryDigest from process execution rather than re-snapshotting (#7861) PR #7861
  • Extract out resolve_requirements V2 rule for creating PEXes with requirements (#7846) Issue #7795 PR #7846
  • Split up CI unit tests into two distinct shards (#7867) PR #7867
  • Bump to latest zinc in order to consume zinc analysis fix (#7854) PR #7854
  • Port ci.sh to Python 3 for more descriptive CLI flags and less duplication (#7849) PR #7849
  • rsc doesn't re-snapshot jars produced by zinc (#7858) PR #7858
  • add java_sources to scala_library() snapshot (#7840) PR #7840
  • Apply isort fixes (#7857) PR #7857
  • Locate the classes directory in order to relativize classnames (#7853) PR #7853
  • Move V2 test runner integration test into proper location of backend/python folder (#7847) PR #7847
  • Run contrib tests with unit tests and integration tests for fewer CI delays (#7709) PR #7709
  • No longer default to saving non-deterministic run information to PEX in ./pants binary (#7843) PR #7843
  • Cleanup unnecessary code from #7776 for ./pants binary interpreter constraints (#7842) PR #7842
  • Apply final set of Shellcheck fixes and turn on in CI (#7832) PR #7832
  • Bump CI unit test timeout for less flaky runs (#7831) Issue #6898 PR #7831
  • Bump to latest junit-runner (#7830) PR #7830
  • Sort entries in output zinc jars (#7834) PR #7834
  • Fix rsc compile transitive dep bug introduced in #7742 (#7825) PR #7825
  • Avoid redundant work while hackily_snapshot()ing. (#7829) PR #7829

Documentation

  • Add notes for 1.16.0rc6 (#7852) PR #7852
Generated by publish_docs from dist/markdown/html/src/python/pants/notes/1.18.x.html 2022-12-03T01:08:59.782256