From a2ce9a7e9cf7f19a47b2f0a868dddcf3e6320ff7 Mon Sep 17 00:00:00 2001 From: Mateo Rodriguez Date: Sun, 3 Mar 2019 01:35:31 -0500 Subject: [PATCH] Prepare the 1.15.0.dev2 release. (#7306) --- CONTRIBUTORS.md | 1 + src/python/pants/VERSION | 2 +- .../pants/backend/python/subsystems/isort.py | 22 ------- .../pants/build_graph/build_configuration.py | 14 ----- src/python/pants/notes/master.rst | 57 +++++++++++++++++++ 5 files changed, 59 insertions(+), 37 deletions(-) diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index dbe89707fbf..c340d687d52 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -4,6 +4,7 @@ Created by running `./build-support/bin/contributors.sh`. + Adam Chainz + Alan Paulin + Alan Velasco ++ Alex Schmitt + Alexander Johnson + Alyssa Pohahau + Andrew Hamilton diff --git a/src/python/pants/VERSION b/src/python/pants/VERSION index 96cdf36dad0..085c20d9318 100644 --- a/src/python/pants/VERSION +++ b/src/python/pants/VERSION @@ -1 +1 @@ -1.15.0.dev1 +1.15.0.dev2 diff --git a/src/python/pants/backend/python/subsystems/isort.py b/src/python/pants/backend/python/subsystems/isort.py index b0dc5ca48b9..765a7f044b9 100644 --- a/src/python/pants/backend/python/subsystems/isort.py +++ b/src/python/pants/backend/python/subsystems/isort.py @@ -11,25 +11,3 @@ class Isort(PythonToolBase): options_scope = 'isort' default_requirements = ['isort==4.3.4', 'setuptools'] default_entry_point = 'isort.main' - - @classmethod - def register_options(cls, register): - super(Isort, cls).register_options(register) - register('--version', default='4.3.4', advanced=True, fingerprint=True, - help='The version of isort to use.', - removal_version='1.15.0.dev2', - removal_hint='Use --requirements instead.') - register('--additional-requirements', default=['setuptools'], type=list, - advanced=True, fingerprint=True, - help='Additional undeclared dependencies of the requested isort version.', - removal_version='1.15.0.dev2', - removal_hint='Use --requirements instead.') - - # TODO: Delete this method when the deprecated options are removed. - def get_requirement_specs(self): - opts = self.get_options() - if opts.is_default('version') and opts.is_default('additional_requirements'): - return super(Isort, self).get_requirement_specs() - return [ - 'isort=={}'.format(self.get_options().version) - ] + self.get_options().additional_requirements diff --git a/src/python/pants/build_graph/build_configuration.py b/src/python/pants/build_graph/build_configuration.py index d80ed6d6503..9dbb3894663 100644 --- a/src/python/pants/build_graph/build_configuration.py +++ b/src/python/pants/build_graph/build_configuration.py @@ -10,14 +10,12 @@ from twitter.common.collections import OrderedSet -from pants.base.deprecated import deprecated from pants.base.parse_context import ParseContext from pants.build_graph.addressable import AddressableCallProxy from pants.build_graph.build_file_aliases import BuildFileAliases from pants.build_graph.target_addressable import TargetAddressable from pants.engine.rules import RuleIndex from pants.option.optionable import Optionable -from pants.subsystem.subsystem import Subsystem from pants.util.collections_abc_backport import Iterable from pants.util.memo import memoized_method @@ -114,10 +112,6 @@ def _register_exposed_context_aware_object_factory(self, alias, context_aware_ob self._exposed_context_aware_object_factory_by_alias[alias] = context_aware_object_factory - @deprecated('1.15.0.dev1', hint_message='Use self.register_optionables().') - def register_subsystems(self, subsystems): - return self.register_optionables(subsystems) - def register_optionables(self, optionables): """Registers the given subsystem types. @@ -147,14 +141,6 @@ def optionables(self): """ return self._optionables - @deprecated('1.15.0.dev1', hint_message='Use self.optionables().') - def subsystems(self): - """Returns the registered Subsystem types. - - :rtype set - """ - return {o for o in self._optionables if issubclass(o, Subsystem)} - def register_rules(self, rules): """Registers the given rules. diff --git a/src/python/pants/notes/master.rst b/src/python/pants/notes/master.rst index 7c4448c07fb..05fc8a838fc 100644 --- a/src/python/pants/notes/master.rst +++ b/src/python/pants/notes/master.rst @@ -4,6 +4,63 @@ Master Pre-Releases This document describes development releases which occur weekly from master, and which have not undergone the vetting associated with ``stable`` releases. +1.15.0.dev2 (3/02/2019) +----------------------- + +New Features +~~~~~~~~~~~~ +* Add filtering subsystem to permit skipping targets by tags (#7275) + `PR #7275 `_ + +* Add junit html-report-error-on-conflict option (#7297) + `PR #7297 `_ + +* add checker for accidental constants in boolean operators (#7273) + `PR #7273 `_ + +Version updates +~~~~~~~~~~~~~~~ +* [rsc-compile] bump version; rm metacp jobs; update tests (#7272) + `PR #7272 `_ + +Bugfixes +~~~~~~~~ +* [zinc-compile] fully adopt enum based switches for hermetic/not; test coverage (#7268) + `PR #7268 `_ + +* don't do a pants run on osx (#7278) + `PR #7278 `_ + +Refactoring, Improvements, and Tooling +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +* enum cleanup (#7269) + `PR #7269 `_ + +* filespec matching utility functions use native glob matching. (#7299) + `PR #7299 `_ + +* move wheel extraction for UnpackWheels into PexBuilderWrapper and resolve for a single platform only (#7289) + `PR #7289 `_ + +* Default to pants devs using Python 3 by renaming `./pants3`->`./pants` and `./pants`->`./pants2` (#7257) + `PR #7257 `_ + +* Delete BuildFileAddressMapper. (#7291) + `PR #7291 `_ + +* Split out rsc distribution selection into JvmCompile (#7290) + `PR #7290 `_ + +* Allow tasks to opt-in to target filtering (#7283) + `PR #7283 `_ + +* try defining algebraic Executables in the native backend to compose more readable toolchains (#6855) + `PR #6855 `_ + +* Update TargetFiltering args for applying criteria (#7280) + `PR #7280 `_ + + 1.15.0.dev1 (2/22/2019) -----------------------