Skip to content

Commit

Permalink
Prepare the pants 0.0.59 hotfix release.
Browse files Browse the repository at this point in the history
This fixes a requirements conflict in the pants python test runner
caused by the release of `pytest-timeout` `1.0.0` on 11/15/2015 which
has a `pytest>=2.8.0` requirement conflicting with our own
`pytest>=2.6,<2.7` requirement.

Several `0.0.59` deprecations are pushed back to `0.0.60`.

Testing Done:
CI went green here:
  https://travis-ci.org/pantsbuild/pants/builds/91260663

Bugs closed: 2568

Reviewed at https://rbcommons.com/s/twitter/r/3127/
  • Loading branch information
jsirois committed Nov 15, 2015
1 parent 93c97e3 commit 7f5fd65
Show file tree
Hide file tree
Showing 9 changed files with 46 additions and 8 deletions.
1 change: 1 addition & 0 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ Created by running `./build-support/bin/contributors.sh`.
+ Joshua Cohen
+ Joshua Humphries
+ Justin Trobec
+ Karin Lundberg
+ Ken Kawamoto
+ Kevin Sweeney
+ Kris Wilson
Expand Down
37 changes: 37 additions & 0 deletions src/python/pants/CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,43 @@
RELEASE HISTORY
===============

0.0.59 (11/15/2015)
-------------------

Release Notes
~~~~~~~~~~~~~

This is a hotfix release that pins an internal pants python requirement to prevent failures running
`./pants test` against `python_tests` targets.
See more details here: http://github.com/pantsbuild/pants/issues#issue/2566

Bugfixes
~~~~~~~~

* Fixup floating `pytest-timeout` dep.
`RB #3126 <https://rbcommons.com/s/twitter/r/3126>`_

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

* Allow bundle to run for all targets, rather than just target roots
`RB #3119 <https://rbcommons.com/s/twitter/r/3119>`_

* Allow per-jvm-target configuration of fatal warnings
`RB #3080 <https://rbcommons.com/s/twitter/r/3080>`_

* Add options to repro and expand user on output file
`RB #3109 <https://rbcommons.com/s/twitter/r/3109>`_

Small improvements, Refactoring and Tooling
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

* Remove use of twitter.common.util.topological_sort in SortTargets
`RB #3121 <https://rbcommons.com/s/twitter/r/3121>`_

* Delay many re.compile calls.
`RB #3122 <https://rbcommons.com/s/twitter/r/3122>`_

0.0.58 (11/13/2015)
-------------------

Expand Down
2 changes: 1 addition & 1 deletion src/python/pants/backend/core/tasks/dependees.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def register_options(cls, register):
register('--closed', default=False, action='store_true',
help='Include the input targets in the output along with the dependees.')
register('--type', default=[], action='append',
deprecated_version='0.0.59',
deprecated_version='0.0.60',
deprecated_hint='This never worked anyway. Do not use for now. May be reimplemented '
'in the future.',
help="Identifies target types to include. Multiple type inclusions "
Expand Down
2 changes: 1 addition & 1 deletion src/python/pants/backend/maven_layout/maven_layout.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from pants.base.deprecated import deprecated


@deprecated(removal_version='0.0.59', hint_message='Maven layout is now supported out of the box. '
@deprecated(removal_version='0.0.60', hint_message='Maven layout is now supported out of the box. '
'No special declarations neccessary.')
def maven_layout(parse_context, basedir=''):
pass
2 changes: 1 addition & 1 deletion src/python/pants/backend/project_info/tasks/depmap.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def register_options(cls, register):
help='Specifies the separator to use between the org/name/rev components of a '
'dependency\'s fully qualified name.')
register('--path-to',
deprecated_version='0.0.59',
deprecated_version='0.0.60',
deprecated_hint='Use the `path` and `paths` goal to find paths between targets.',
help='Show only items on the path to the given target. This is a no-op for --graph.')

Expand Down
4 changes: 2 additions & 2 deletions src/python/pants/base/source_root.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ def reset(cls):
cls._SOURCE_ROOT_TREE = SourceRootTree()

@classmethod
@deprecated('0.0.59', 'use context.source_roots.find() or '
@deprecated('0.0.60', 'use context.source_roots.find() or '
'SourceRootConfig.global_instance().get_source_roots().find().')
def find(cls, target):
"""Finds the source root for the given target.
Expand All @@ -243,7 +243,7 @@ def find(cls, target):
return found_source_root

@classmethod
@deprecated('0.0.59', 'use context.source_roots.find_by_path() or '
@deprecated('0.0.60', 'use context.source_roots.find_by_path() or '
'SourceRootConfig.global_instance().get_source_roots().find_by_path().')
def find_by_path(cls, path):
"""Finds a registered source root for a given path
Expand Down
2 changes: 1 addition & 1 deletion src/python/pants/bin/goal_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def register_options(cls, register):
super(SourceRootBootstrapper, cls).register_options(register)
# TODO: Get rid of this in favor of source root registration at backend load time.
register('--bootstrap-buildfiles', advanced=True, type=list_option, default=[],
deprecated_version='0.0.59',
deprecated_version='0.0.60',
deprecated_hint='bootstrap BUILD files are no longer necessary or supported. '
'Source roots are configured in pants.ini or by default.',
help='Initialize state by evaluating these buildfiles.')
Expand Down
2 changes: 1 addition & 1 deletion src/python/pants/build_graph/target.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ def __init__(self, name, address, build_graph, type_alias=None, payload=None, ta
if kwargs:
self.UnknownArguments.check(self, kwargs)

@deprecated('0.0.59',
@deprecated('0.0.60',
'The `no_cache` property is generally ambiguous, and is no longer necessary '
'for jvm compiles.')
def _set_no_cache(self):
Expand Down
2 changes: 1 addition & 1 deletion src/python/pants/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
unicode_literals, with_statement)


VERSION = '0.0.58'
VERSION = '0.0.59'

0 comments on commit 7f5fd65

Please sign in to comment.