Hello community,
here is the log from the commit of package python-debtcollector for openSUSE:Factory checked in at 2017-02-21 13:39:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-debtcollector (Old)
and /work/SRC/openSUSE:Factory/.python-debtcollector.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-debtcollector"
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-debtcollector/python-debtcollector.changes 2016-02-17 12:22:44.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.python-debtcollector.new/python-debtcollector.changes 2017-02-21 13:39:33.367648555 +0100
@@ -1,0 +2,20 @@
+Fri Feb 10 14:45:53 UTC 2017 - cloud-devel@suse.de
+
+- update to version 1.11.0:
+ - Remove discover from test-requirements
+ - Trivial: Remove 'MANIFEST.in'
+ - Fix a typo in comment
+ - Typo fix for module debtcollector
+ - Drop *openstack/common* in flake8 exclude list
+ - Add Constraints support
+ - Add reno for release notes management
+ - Add tests for decorated argspec preservation
+ - Show team and repo badges on README
+ - Update homepage with developer documentation page
+ - Fix renamed_kwarg to preserve argspec
+ - Add Python 3.5 classifier and venv
+ - Drop babel as requirement since its not used
+ - Updated from global requirements
+- Switch to spec template from openstack/rpm-packaging project
+
+-------------------------------------------------------------------
Old:
----
debtcollector-1.3.0.tar.gz
New:
----
debtcollector-1.11.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-debtcollector.spec ++++++
--- /var/tmp/diff_new_pack.UTbzdB/_old 2017-02-21 13:39:34.147538535 +0100
+++ /var/tmp/diff_new_pack.UTbzdB/_new 2017-02-21 13:39:34.147538535 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-debtcollector
#
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,45 +16,87 @@
#
+%global pypi_name debtcollector
Name: python-debtcollector
-Version: 1.3.0
+Version: 1.11.0
Release: 0
-Summary: Collection of deprecation patterns that help to collect technical debt
+Summary: A collection of Python deprecation patterns and strategies
License: Apache-2.0
Group: Development/Languages/Python
-Url: http://www.openstack.org/
-Source: https://pypi.python.org/packages/source/d/debtcollector/debtcollector-%{version}.tar.gz
-BuildRequires: python-Babel
+Url: http://docs.openstack.org/developer/debtcollector/
+Source0: https://tarballs.openstack.org/debtcollector/%{pypi_name}-%{version}.tar.gz
+BuildRequires: openstack-macros
BuildRequires: python-devel
-BuildRequires: python-pbr
-BuildRequires: python-wrapt
-Requires: python-Babel >= 1.3
+BuildRequires: python-fixtures >= 3.0.0
+BuildRequires: python-funcsigs >= 0.4
+BuildRequires: python-oslotest >= 1.10.0
+BuildRequires: python-pbr >= 1.8
+BuildRequires: python-python-subunit >= 0.0.18
+BuildRequires: python-setuptools >= 16.0
+BuildRequires: python-testrepository >= 0.0.18
+BuildRequires: python-wrapt >= 1.7.0
Requires: python-funcsigs >= 0.4
+Requires: python-pbr >= 1.8
Requires: python-six >= 1.9.0
Requires: python-wrapt >= 1.7.0
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
-%if 0%{?suse_version} && 0%{?suse_version} <= 1110
-%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
-%else
BuildArch: noarch
-%endif
%description
-A collection of Python deprecation patterns and strategies that help you
-collect your technical debt in a non-destructive manner.
+A collection of Python deprecation patterns and strategies that help
+you collect your technical debt in a non-destructive manner. The goal
+of this library is to provide well documented developer facing
+deprecation patterns that start of with a basic set and can expand
+into a larger set of patterns as time goes on. The desired output of
+these patterns is to apply the warnings module to emit
+DeprecationWarning or PendingDeprecationWarning or similar derivative
+to developers using libraries (or potentially applications) about
+future deprecations.
+
+%package doc
+Summary: Documentation for %{name}
+Group: Documentation
+BuildRequires: python-Sphinx
+BuildRequires: python-oslosphinx >= 4.7.0
+
+%description doc
+A collection of Python deprecation patterns and strategies that help
+you collect your technical debt in a non-destructive manner. The goal
+of this library is to provide well documented developer facing
+deprecation patterns that start of with a basic set and can expand
+into a larger set of patterns as time goes on. The desired output of
+these patterns is to apply the warnings module to emit
+DeprecationWarning or PendingDeprecationWarning or similar derivative
+to developers using libraries (or potentially applications) about
+future deprecations.
+
+This package contains documentation in HTML format.
%prep
-%setup -q -n debtcollector-%{version}
+%autosetup -n %{pypi_name}-%{version}
+%py_req_cleanup
%build
-python setup.py build
+%py2_build
+
+# generate html docs
+%{__python2} setup.py build_sphinx
+# remove the Sphinx-build leftovers
+rm -rf html/.{doctrees,buildinfo}
+
+%check
+%{__python2} setup.py testr
%install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%py2_install
%files
-%defattr(-,root,root,-)
-%doc README.rst ChangeLog LICENSE AUTHORS
-%{python_sitelib}/*
+%license LICENSE
+%doc README.rst
+%{python2_sitelib}/%{pypi_name}
+%{python2_sitelib}/%{pypi_name}-*.egg-info
+
+%files doc
+%license LICENSE
+%doc doc/build/html
%changelog
++++++ _service ++++++
--- /var/tmp/diff_new_pack.UTbzdB/_old 2017-02-21 13:39:34.183533457 +0100
+++ /var/tmp/diff_new_pack.UTbzdB/_new 2017-02-21 13:39:34.183533457 +0100
@@ -1,13 +1,12 @@
<services>
- <service mode="disabled" name="download_files">
- <param name="changesgenerate">enable</param>
- </service>
- <service mode="disabled" name="set_version">
- <param name="basename">debtcollector</param>
+ <service mode="disabled" name="renderspec">
+ <param name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/ocata/opens...</param>
+ <param name="output-name">python-debtcollector.spec</param>
+ <param name="requirements">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/ocata/globa...</param>
+ <param name="changelog-email">cloud-devel@suse.de</param>
+ <param name="changelog-provider">gh,openstack,debtcollector</param>
</service>
- <service name="refresh_patches" mode="disabled">
- <param name="changesgenerate">enable</param>
- </service>
- <service name="python_requires" mode="disabled">
+ <service mode="disabled" name="download_files">
</service>
+ <service name="format_spec_file" mode="disabled"/>
</services>
++++++ debtcollector-1.3.0.tar.gz -> debtcollector-1.11.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/debtcollector-1.3.0/AUTHORS new/debtcollector-1.11.0/AUTHORS
--- old/debtcollector-1.3.0/AUTHORS 2016-02-10 00:15:30.000000000 +0100
+++ new/debtcollector-1.11.0/AUTHORS 2017-01-18 15:10:45.000000000 +0100
@@ -1,14 +1,23 @@
+Brant Knudson
ChangBo Guo(gcb)
Davanum Srinivas
Doug Hellmann
+Flavio Percoco
Graham Hayes
Jamie Lennox
Jamie Lennox
Joe Gordon
Joshua Harlow
Joshua Harlow
+Joshua Harlow
Matthew Treinish
Monty Taylor
+Pierre-André MOREY
+Swapnil Kulkarni (coolsvap)
THOMAS J. COCOZZELLO
+Tony Breeds
+Tony Xu
+Wei Li
caoyue
+howardlee
janonymous
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/debtcollector-1.3.0/ChangeLog new/debtcollector-1.11.0/ChangeLog
--- old/debtcollector-1.3.0/ChangeLog 2016-02-10 00:15:30.000000000 +0100
+++ new/debtcollector-1.11.0/ChangeLog 2017-01-18 15:10:45.000000000 +0100
@@ -1,6 +1,59 @@
CHANGES
=======
+1.11.0
+------
+
+* Add Constraints support
+* Show team and repo badges on README
+
+1.10.0
+------
+
+* Updated from global requirements
+* Typo fix for module debtcollector
+* Updated from global requirements
+* Add reno for release notes management
+* Trivial: Remove 'MANIFEST.in'
+* Updated from global requirements
+
+1.9.0
+-----
+
+* Updated from global requirements
+* Update homepage with developer documentation page
+* Fix a typo in comment
+
+1.8.0
+-----
+
+* Drop *openstack/common* in flake8 exclude list
+
+1.7.0
+-----
+
+* Remove discover from test-requirements
+* Add Python 3.5 classifier and venv
+
+1.6.0
+-----
+
+* Updated from global requirements
+
+1.5.0
+-----
+
+* Updated from global requirements
+
+1.4.0
+-----
+
+* Drop babel as requirement since its not used
+* Fix renamed_kwarg to preserve argspec
+* Add tests for decorated argspec preservation
+* Updated from global requirements
+* Updated from global requirements
+
1.3.0
-----
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/debtcollector-1.3.0/MANIFEST.in new/debtcollector-1.11.0/MANIFEST.in
--- old/debtcollector-1.3.0/MANIFEST.in 2016-02-10 00:15:07.000000000 +0100
+++ new/debtcollector-1.11.0/MANIFEST.in 1970-01-01 01:00:00.000000000 +0100
@@ -1,6 +0,0 @@
-include AUTHORS
-include ChangeLog
-exclude .gitignore
-exclude .gitreview
-
-global-exclude *.pyc
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/debtcollector-1.3.0/PKG-INFO new/debtcollector-1.11.0/PKG-INFO
--- old/debtcollector-1.3.0/PKG-INFO 2016-02-10 00:15:30.000000000 +0100
+++ new/debtcollector-1.11.0/PKG-INFO 2017-01-18 15:10:45.000000000 +0100
@@ -1,12 +1,21 @@
Metadata-Version: 1.1
Name: debtcollector
-Version: 1.3.0
+Version: 1.11.0
Summary: A collection of Python deprecation patterns and strategies that help you collect your technical debt in a non-destructive manner.
-Home-page: http://www.openstack.org/
+Home-page: http://docs.openstack.org/developer/debtcollector
Author: OpenStack
Author-email: openstack-dev@lists.openstack.org
License: UNKNOWN
-Description: Debtcollector
+Description: ========================
+ Team and repository tags
+ ========================
+
+ .. image:: http://governance.openstack.org/badges/debtcollector.svg
+ :target: http://governance.openstack.org/reference/tags/index.html
+
+ .. Change things from this point on
+
+ Debtcollector
=============
.. image:: https://img.shields.io/pypi/v/debtcollector.svg
@@ -43,5 +52,5 @@
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
+Classifier: Programming Language :: Python :: 3.5
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/debtcollector-1.3.0/README.rst new/debtcollector-1.11.0/README.rst
--- old/debtcollector-1.3.0/README.rst 2016-02-10 00:15:07.000000000 +0100
+++ new/debtcollector-1.11.0/README.rst 2017-01-18 15:09:17.000000000 +0100
@@ -1,3 +1,12 @@
+========================
+Team and repository tags
+========================
+
+.. image:: http://governance.openstack.org/badges/debtcollector.svg
+ :target: http://governance.openstack.org/reference/tags/index.html
+
+.. Change things from this point on
+
Debtcollector
=============
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/debtcollector-1.3.0/debtcollector/_utils.py new/debtcollector-1.11.0/debtcollector/_utils.py
--- old/debtcollector-1.3.0/debtcollector/_utils.py 2016-02-10 00:15:07.000000000 +0100
+++ new/debtcollector-1.11.0/debtcollector/_utils.py 2017-01-18 15:09:17.000000000 +0100
@@ -38,7 +38,7 @@
"""Warns about some type of deprecation that has been (or will be) made.
This helper function makes it easier to interact with the warnings module
- by standardizing the arguments that the warning function recieves so that
+ by standardizing the arguments that the warning function receives so that
it is easier to use.
This should be used to emit warnings to users (users can easily turn these
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/debtcollector-1.3.0/debtcollector/moves.py new/debtcollector-1.11.0/debtcollector/moves.py
--- old/debtcollector-1.3.0/debtcollector/moves.py 2016-02-10 00:15:07.000000000 +0100
+++ new/debtcollector-1.11.0/debtcollector/moves.py 2017-01-18 15:09:17.000000000 +0100
@@ -17,6 +17,7 @@
import inspect
import six
+import wrapt
from debtcollector import _utils
@@ -36,9 +37,9 @@
if attr_postfix:
old_attribute_name += attr_postfix
- @six.wraps(f, assigned=_utils.get_assigned(f))
- def wrapper(self, *args, **kwargs):
- base_name = _utils.get_class_name(self, fully_qualified=False)
+ @wrapt.decorator
+ def wrapper(wrapped, instance, args, kwargs):
+ base_name = _utils.get_class_name(wrapped, fully_qualified=False)
if fully_qualified:
old_name = old_attribute_name
else:
@@ -50,9 +51,9 @@
version=version, removal_version=removal_version)
_utils.deprecation(out_message, stacklevel=stacklevel,
category=category)
- return f(self, *args, **kwargs)
+ return wrapped(*args, **kwargs)
- return wrapper
+ return wrapper(f)
return decorator
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/debtcollector-1.3.0/debtcollector/renames.py new/debtcollector-1.11.0/debtcollector/renames.py
--- old/debtcollector-1.3.0/debtcollector/renames.py 2016-02-10 00:15:07.000000000 +0100
+++ new/debtcollector-1.11.0/debtcollector/renames.py 2017-01-18 15:09:17.000000000 +0100
@@ -14,7 +14,7 @@
# License for the specific language governing permissions and limitations
# under the License.
-import six
+import wrapt
from debtcollector import _utils
@@ -33,17 +33,13 @@
prefix, postfix=postfix, message=message, version=version,
removal_version=removal_version)
- def decorator(f):
-
- @six.wraps(f, assigned=_utils.get_assigned(f))
- def wrapper(*args, **kwargs):
- if old_name in kwargs:
- _utils.deprecation(out_message,
- stacklevel=stacklevel, category=category)
- if replace:
- kwargs.setdefault(new_name, kwargs.pop(old_name))
- return f(*args, **kwargs)
-
- return wrapper
+ @wrapt.decorator
+ def decorator(wrapped, instance, args, kwargs):
+ if old_name in kwargs:
+ _utils.deprecation(out_message,
+ stacklevel=stacklevel, category=category)
+ if replace:
+ kwargs.setdefault(new_name, kwargs.pop(old_name))
+ return wrapped(*args, **kwargs)
return decorator
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/debtcollector-1.3.0/debtcollector/tests/test_deprecation.py new/debtcollector-1.11.0/debtcollector/tests/test_deprecation.py
--- old/debtcollector-1.3.0/debtcollector/tests/test_deprecation.py 2016-02-10 00:15:07.000000000 +0100
+++ new/debtcollector-1.11.0/debtcollector/tests/test_deprecation.py 2017-01-18 15:09:17.000000000 +0100
@@ -12,6 +12,7 @@
# License for the specific language governing permissions and limitations
# under the License.
+import inspect
import warnings
import debtcollector
@@ -28,6 +29,10 @@
return (blip, blop)
+def blip_blop_unwrapped(blip=1, blop=1):
+ return (blip, blop)
+
+
@renames.renamed_kwarg('blip', 'blop', category=PendingDeprecationWarning)
def blip_blop_2(blip=1, blop=1):
return (blip, blop)
@@ -43,6 +48,10 @@
return "The %s meowed quietly" % type
+def blip_blop_blip_unwrapped(type='cat'):
+ return "The %s meowed quietly" % type
+
+
class WoofWoof(object):
@property
def bark(self):
@@ -67,14 +76,14 @@
class KittyKat(object):
@moves.moved_method('supermeow')
- def meow(self):
- return self.supermeow()
+ def meow(self, volume=11):
+ return self.supermeow(volume)
@moves.moved_method('supermeow', category=PendingDeprecationWarning)
- def maow(self):
- return self.supermeow()
+ def maow(self, volume=11):
+ return self.supermeow(volume)
- def supermeow(self):
+ def supermeow(self, volume=11):
return 'supermeow'
@@ -99,6 +108,10 @@
return fake_input
+def crimson_lightning_unwrapped(fake_input=None):
+ return fake_input
+
+
@removals.remove(category=PendingDeprecationWarning)
def crimson_lightning_to_remove(fake_input=None):
return fake_input
@@ -343,6 +356,10 @@
self.assertEqual('supermeow', c.supermeow())
self.assertEqual(0, len(capture))
+ def test_keeps_argspec(self):
+ self.assertEqual(inspect.getargspec(KittyKat.supermeow),
+ inspect.getargspec(KittyKat.meow))
+
class RenamedKwargTest(test_base.TestCase):
def test_basics(self):
@@ -397,6 +414,11 @@
self.assertEqual(2, blip_blop_3(blop=2))
self.assertEqual(0, len(capture))
+ def test_argspec(self):
+ # The decorated function keeps its argspec.
+ self.assertEqual(inspect.getargspec(blip_blop_unwrapped),
+ inspect.getargspec(blip_blop))
+
class UpdatedArgsTest(test_base.TestCase):
def test_basic(self):
@@ -415,6 +437,10 @@
blip_blop_blip(type='kitten'))
self.assertEqual(0, len(capture))
+ def test_argspec_preserved(self):
+ self.assertEqual(inspect.getargspec(blip_blop_blip_unwrapped),
+ inspect.getargspec(blip_blop_blip))
+
class RemovalTests(test_base.TestCase):
def test_function_args(self):
@@ -423,6 +449,12 @@
def test_function_noargs(self):
self.assertTrue(red_comet())
+ def test_function_keeps_argspec(self):
+ # The decorated function keeps its argspec.
+ self.assertEqual(
+ inspect.getargspec(crimson_lightning_unwrapped),
+ inspect.getargspec(crimson_lightning))
+
def test_deprecated_kwarg(self):
@removals.removed_kwarg('b')
@@ -441,6 +473,17 @@
self.assertEqual(2, f())
self.assertEqual(0, len(capture))
+ def test_removed_kwarg_keeps_argspec(self):
+ @removals.removed_kwarg('b')
+ def f(b=2):
+ return b
+
+ def f_unwrapped(b=2):
+ return b
+
+ self.assertEqual(inspect.getargspec(f_unwrapped),
+ inspect.getargspec(f))
+
def test_pending_deprecated_kwarg(self):
@removals.removed_kwarg('b', category=PendingDeprecationWarning)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/debtcollector-1.3.0/debtcollector/updating.py new/debtcollector-1.11.0/debtcollector/updating.py
--- old/debtcollector-1.3.0/debtcollector/updating.py 2016-02-10 00:15:07.000000000 +0100
+++ new/debtcollector-1.11.0/debtcollector/updating.py 2017-01-18 15:09:17.000000000 +0100
@@ -15,6 +15,7 @@
# under the License.
import six
+import wrapt
if six.PY3:
import inspect
Parameter = inspect.Parameter
@@ -50,8 +51,8 @@
sig = get_signature(f)
varnames = list(six.iterkeys(sig.parameters))
- @six.wraps(f)
- def wrapper(*args, **kwargs):
+ @wrapt.decorator
+ def wrapper(wrapped, instance, args, kwargs):
explicit_params = set(
varnames[:len(args)] + list(kwargs.keys())
)
@@ -60,8 +61,8 @@
if name in default_params:
_utils.deprecation(out_message,
stacklevel=stacklevel, category=category)
- return f(*args, **kwargs)
+ return wrapped(*args, **kwargs)
- return wrapper
+ return wrapper(f)
return decorator
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/debtcollector-1.3.0/debtcollector.egg-info/PKG-INFO new/debtcollector-1.11.0/debtcollector.egg-info/PKG-INFO
--- old/debtcollector-1.3.0/debtcollector.egg-info/PKG-INFO 2016-02-10 00:15:30.000000000 +0100
+++ new/debtcollector-1.11.0/debtcollector.egg-info/PKG-INFO 2017-01-18 15:10:45.000000000 +0100
@@ -1,12 +1,21 @@
Metadata-Version: 1.1
Name: debtcollector
-Version: 1.3.0
+Version: 1.11.0
Summary: A collection of Python deprecation patterns and strategies that help you collect your technical debt in a non-destructive manner.
-Home-page: http://www.openstack.org/
+Home-page: http://docs.openstack.org/developer/debtcollector
Author: OpenStack
Author-email: openstack-dev@lists.openstack.org
License: UNKNOWN
-Description: Debtcollector
+Description: ========================
+ Team and repository tags
+ ========================
+
+ .. image:: http://governance.openstack.org/badges/debtcollector.svg
+ :target: http://governance.openstack.org/reference/tags/index.html
+
+ .. Change things from this point on
+
+ Debtcollector
=============
.. image:: https://img.shields.io/pypi/v/debtcollector.svg
@@ -43,5 +52,5 @@
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
+Classifier: Programming Language :: Python :: 3.5
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/debtcollector-1.3.0/debtcollector.egg-info/SOURCES.txt new/debtcollector-1.11.0/debtcollector.egg-info/SOURCES.txt
--- old/debtcollector-1.3.0/debtcollector.egg-info/SOURCES.txt 2016-02-10 00:15:30.000000000 +0100
+++ new/debtcollector-1.11.0/debtcollector.egg-info/SOURCES.txt 2017-01-18 15:10:45.000000000 +0100
@@ -6,7 +6,6 @@
ChangeLog
HACKING.rst
LICENSE
-MANIFEST.in
README.rst
babel.cfg
requirements.txt
@@ -38,4 +37,11 @@
doc/source/examples.rst
doc/source/history.rst
doc/source/index.rst
-doc/source/installation.rst
\ No newline at end of file
+doc/source/installation.rst
+releasenotes/notes/add-reno-996dd44974d53238.yaml
+releasenotes/source/conf.py
+releasenotes/source/index.rst
+releasenotes/source/unreleased.rst
+releasenotes/source/_static/.placeholder
+releasenotes/source/_templates/.placeholder
+tools/tox_install.sh
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/debtcollector-1.3.0/debtcollector.egg-info/pbr.json new/debtcollector-1.11.0/debtcollector.egg-info/pbr.json
--- old/debtcollector-1.3.0/debtcollector.egg-info/pbr.json 2016-02-10 00:15:30.000000000 +0100
+++ new/debtcollector-1.11.0/debtcollector.egg-info/pbr.json 2017-01-18 15:10:45.000000000 +0100
@@ -1 +1 @@
-{"git_version": "e40dfd5", "is_release": true}
\ No newline at end of file
+{"git_version": "00d2db1", "is_release": true}
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/debtcollector-1.3.0/debtcollector.egg-info/requires.txt new/debtcollector-1.11.0/debtcollector.egg-info/requires.txt
--- old/debtcollector-1.3.0/debtcollector.egg-info/requires.txt 2016-02-10 00:15:30.000000000 +0100
+++ new/debtcollector-1.11.0/debtcollector.egg-info/requires.txt 2017-01-18 15:10:45.000000000 +0100
@@ -1,7 +1,4 @@
-pbr>=1.6
-Babel>=1.3
+pbr>=1.8
six>=1.9.0
wrapt>=1.7.0
-
-[:(python_version=='2.7' or python_version=='2.6')]
funcsigs>=0.4
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/debtcollector-1.3.0/doc/source/examples.rst new/debtcollector-1.11.0/doc/source/examples.rst
--- old/debtcollector-1.3.0/doc/source/examples.rst 2016-02-10 00:15:07.000000000 +0100
+++ new/debtcollector-1.11.0/doc/source/examples.rst 2017-01-18 15:09:17.000000000 +0100
@@ -355,7 +355,7 @@
----------------------------------------
It is typically useful to tell the user when a deprecation has started and
-when the deprecated item will be offically removed (deleted or other). To
+when the deprecated item will be officially removed (deleted or other). To
enable this all the currently provided functions this library provides
take a ``message``, ``version`` and ``removal_version`` keyword arguments.
These are used in forming the message that is shown to the user when they
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/debtcollector-1.3.0/releasenotes/notes/add-reno-996dd44974d53238.yaml new/debtcollector-1.11.0/releasenotes/notes/add-reno-996dd44974d53238.yaml
--- old/debtcollector-1.3.0/releasenotes/notes/add-reno-996dd44974d53238.yaml 1970-01-01 01:00:00.000000000 +0100
+++ new/debtcollector-1.11.0/releasenotes/notes/add-reno-996dd44974d53238.yaml 2017-01-18 15:09:17.000000000 +0100
@@ -0,0 +1,3 @@
+---
+other:
+ - Introduce reno for deployer release notes.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/debtcollector-1.3.0/releasenotes/source/conf.py new/debtcollector-1.11.0/releasenotes/source/conf.py
--- old/debtcollector-1.3.0/releasenotes/source/conf.py 1970-01-01 01:00:00.000000000 +0100
+++ new/debtcollector-1.11.0/releasenotes/source/conf.py 2017-01-18 15:09:17.000000000 +0100
@@ -0,0 +1,276 @@
+# -*- coding: utf-8 -*-
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+# implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# This file is execfile()d with the current directory set to its
+# containing dir.
+#
+# Note that not all possible configuration values are present in this
+# autogenerated file.
+#
+# All configuration values have a default; values that are commented out
+# serve to show the default.
+
+# If extensions (or modules to document with autodoc) are in another directory,
+# add these directories to sys.path here. If the directory is relative to the
+# documentation root, use os.path.abspath to make it absolute, like shown here.
+# sys.path.insert(0, os.path.abspath('.'))
+
+# -- General configuration ------------------------------------------------
+
+# If your documentation needs a minimal Sphinx version, state it here.
+# needs_sphinx = '1.0'
+
+# Add any Sphinx extension module names here, as strings. They can be
+# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
+# ones.
+extensions = [
+ 'oslosphinx',
+ 'reno.sphinxext',
+]
+
+# Add any paths that contain templates here, relative to this directory.
+templates_path = ['_templates']
+
+# The suffix of source filenames.
+source_suffix = '.rst'
+
+# The encoding of source files.
+# source_encoding = 'utf-8-sig'
+
+# The master toctree document.
+master_doc = 'index'
+
+# General information about the project.
+project = u'debtcollector Release Notes'
+copyright = u'2016, debtcollector Developers'
+
+# The version info for the project you're documenting, acts as replacement for
+# |version| and |release|, also used in various other places throughout the
+# built documents.
+#
+# The short X.Y version.
+# The full version, including alpha/beta/rc tags.
+import pkg_resources
+release = pkg_resources.get_distribution('debtcollector').version
+# The short X.Y version.
+version = release
+
+# The language for content autogenerated by Sphinx. Refer to documentation
+# for a list of supported languages.
+# language = None
+
+# There are two options for replacing |today|: either, you set today to some
+# non-false value, then it is used:
+# today = ''
+# Else, today_fmt is used as the format for a strftime call.
+# today_fmt = '%B %d, %Y'
+
+# List of patterns, relative to source directory, that match files and
+# directories to ignore when looking for source files.
+exclude_patterns = []
+
+# The reST default role (used for this markup: `text`) to use for all
+# documents.
+# default_role = None
+
+# If true, '()' will be appended to :func: etc. cross-reference text.
+# add_function_parentheses = True
+
+# If true, the current module name will be prepended to all description
+# unit titles (such as .. function::).
+# add_module_names = True
+
+# If true, sectionauthor and moduleauthor directives will be shown in the
+# output. They are ignored by default.
+# show_authors = False
+
+# The name of the Pygments (syntax highlighting) style to use.
+pygments_style = 'sphinx'
+
+# A list of ignored prefixes for module index sorting.
+# modindex_common_prefix = []
+
+# If true, keep warnings as "system message" paragraphs in the built documents.
+# keep_warnings = False
+
+
+# -- Options for HTML output ----------------------------------------------
+
+# The theme to use for HTML and HTML Help pages. See the documentation for
+# a list of builtin themes.
+html_theme = 'default'
+
+# Theme options are theme-specific and customize the look and feel of a theme
+# further. For a list of options available for each theme, see the
+# documentation.
+# html_theme_options = {}
+
+# Add any paths that contain custom themes here, relative to this directory.
+# html_theme_path = []
+
+# The name for this set of Sphinx documents. If None, it defaults to
+# "<project> v<release> documentation".
+# html_title = None
+
+# A shorter title for the navigation bar. Default is the same as html_title.
+# html_short_title = None
+
+# The name of an image file (relative to this directory) to place at the top
+# of the sidebar.
+# html_logo = None
+
+# The name of an image file (within the static path) to use as favicon of the
+# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
+# pixels large.
+# html_favicon = None
+
+# Add any paths that contain custom static files (such as style sheets) here,
+# relative to this directory. They are copied after the builtin static files,
+# so a file named "default.css" will overwrite the builtin "default.css".
+html_static_path = ['_static']
+
+# Add any extra paths that contain custom files (such as robots.txt or
+# .htaccess) here, relative to this directory. These files are copied
+# directly to the root of the documentation.
+# html_extra_path = []
+
+# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
+# using the given strftime format.
+# html_last_updated_fmt = '%b %d, %Y'
+
+# If true, SmartyPants will be used to convert quotes and dashes to
+# typographically correct entities.
+# html_use_smartypants = True
+
+# Custom sidebar templates, maps document names to template names.
+# html_sidebars = {}
+
+# Additional templates that should be rendered to pages, maps page names to
+# template names.
+# html_additional_pages = {}
+
+# If false, no module index is generated.
+# html_domain_indices = True
+
+# If false, no index is generated.
+# html_use_index = True
+
+# If true, the index is split into individual pages for each letter.
+# html_split_index = False
+
+# If true, links to the reST sources are added to the pages.
+# html_show_sourcelink = True
+
+# If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
+# html_show_sphinx = True
+
+# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
+# html_show_copyright = True
+
+# If true, an OpenSearch description file will be output, and all pages will
+# contain a <link> tag referring to it. The value of this option must be the
+# base URL from which the finished HTML is served.
+# html_use_opensearch = ''
+
+# This is the file name suffix for HTML files (e.g. ".xhtml").
+# html_file_suffix = None
+
+# Output file base name for HTML help builder.
+htmlhelp_basename = 'debtcollectorReleaseNotesDoc'
+
+
+# -- Options for LaTeX output ---------------------------------------------
+
+latex_elements = {
+ # The paper size ('letterpaper' or 'a4paper').
+ # 'papersize': 'letterpaper',
+
+ # The font size ('10pt', '11pt' or '12pt').
+ # 'pointsize': '10pt',
+
+ # Additional stuff for the LaTeX preamble.
+ # 'preamble': '',
+}
+
+# Grouping the document tree into LaTeX files. List of tuples
+# (source start file, target name, title,
+# author, documentclass [howto, manual, or own class]).
+latex_documents = [
+ ('index', 'debtcollectorReleaseNotes.tex',
+ u'debtcollector Release Notes Documentation',
+ u'debtcollector Developers', 'manual'),
+]
+
+# The name of an image file (relative to this directory) to place at the top of
+# the title page.
+# latex_logo = None
+
+# For "manual" documents, if this is true, then toplevel headings are parts,
+# not chapters.
+# latex_use_parts = False
+
+# If true, show page references after internal links.
+# latex_show_pagerefs = False
+
+# If true, show URL addresses after external links.
+# latex_show_urls = False
+
+# Documents to append as an appendix to all manuals.
+# latex_appendices = []
+
+# If false, no module index is generated.
+# latex_domain_indices = True
+
+
+# -- Options for manual page output ---------------------------------------
+
+# One entry per manual page. List of tuples
+# (source start file, name, description, authors, manual section).
+man_pages = [
+ ('index', 'debtcollectorReleaseNotes',
+ u'debtcollector Release Notes Documentation',
+ [u'debtcollector Developers'], 1)
+]
+
+# If true, show URL addresses after external links.
+# man_show_urls = False
+
+
+# -- Options for Texinfo output -------------------------------------------
+
+# Grouping the document tree into Texinfo files. List of tuples
+# (source start file, target name, title, author,
+# dir menu entry, description, category)
+texinfo_documents = [
+ ('index', 'debtcollectorReleaseNotes',
+ u'debtcollector Release Notes Documentation',
+ u'debtcollector Developers', 'debtcollectorReleaseNotes',
+ 'One line description of project.',
+ 'Miscellaneous'),
+]
+
+# Documents to append as an appendix to all manuals.
+# texinfo_appendices = []
+
+# If false, no module index is generated.
+# texinfo_domain_indices = True
+
+# How to display URL addresses: 'footnote', 'no', or 'inline'.
+# texinfo_show_urls = 'footnote'
+
+# If true, do not generate a @detailmenu in the "Top" node's menu.
+# texinfo_no_detailmenu = False
+
+# -- Options for Internationalization output ------------------------------
+locale_dirs = ['locale/']
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/debtcollector-1.3.0/releasenotes/source/index.rst new/debtcollector-1.11.0/releasenotes/source/index.rst
--- old/debtcollector-1.3.0/releasenotes/source/index.rst 1970-01-01 01:00:00.000000000 +0100
+++ new/debtcollector-1.11.0/releasenotes/source/index.rst 2017-01-18 15:09:17.000000000 +0100
@@ -0,0 +1,8 @@
+=============================
+ debtcollector Release Notes
+=============================
+
+ .. toctree::
+ :maxdepth: 1
+
+ unreleased
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/debtcollector-1.3.0/releasenotes/source/unreleased.rst new/debtcollector-1.11.0/releasenotes/source/unreleased.rst
--- old/debtcollector-1.3.0/releasenotes/source/unreleased.rst 1970-01-01 01:00:00.000000000 +0100
+++ new/debtcollector-1.11.0/releasenotes/source/unreleased.rst 2017-01-18 15:09:17.000000000 +0100
@@ -0,0 +1,5 @@
+==========================
+ Unreleased Release Notes
+==========================
+
+.. release-notes::
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/debtcollector-1.3.0/requirements.txt new/debtcollector-1.11.0/requirements.txt
--- old/debtcollector-1.3.0/requirements.txt 2016-02-10 00:15:07.000000000 +0100
+++ new/debtcollector-1.11.0/requirements.txt 2017-01-18 15:09:17.000000000 +0100
@@ -2,8 +2,7 @@
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
-pbr>=1.6 # Apache-2.0
-Babel>=1.3 # BSD
+pbr>=1.8 # Apache-2.0
six>=1.9.0 # MIT
wrapt>=1.7.0 # BSD License
funcsigs>=0.4;python_version=='2.7' or python_version=='2.6' # Apache-2.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/debtcollector-1.3.0/setup.cfg new/debtcollector-1.11.0/setup.cfg
--- old/debtcollector-1.3.0/setup.cfg 2016-02-10 00:15:30.000000000 +0100
+++ new/debtcollector-1.11.0/setup.cfg 2017-01-18 15:10:45.000000000 +0100
@@ -5,7 +5,7 @@
README.rst
author = OpenStack
author-email = openstack-dev@lists.openstack.org
-home-page = http://www.openstack.org/
+home-page = http://docs.openstack.org/developer/debtcollector
classifier =
Environment :: OpenStack
Intended Audience :: Information Technology
@@ -16,8 +16,8 @@
Programming Language :: Python :: 2
Programming Language :: Python :: 2.7
Programming Language :: Python :: 3
- Programming Language :: Python :: 3.3
Programming Language :: Python :: 3.4
+ Programming Language :: Python :: 3.5
[files]
packages =
@@ -38,7 +38,6 @@
universal = 1
[egg_info]
-tag_svn_revision = 0
-tag_date = 0
tag_build =
+tag_date = 0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/debtcollector-1.3.0/test-requirements.txt new/debtcollector-1.11.0/test-requirements.txt
--- old/debtcollector-1.3.0/test-requirements.txt 2016-02-10 00:15:07.000000000 +0100
+++ new/debtcollector-1.11.0/test-requirements.txt 2017-01-18 15:09:17.000000000 +0100
@@ -4,14 +4,14 @@
hacking<0.11,>=0.10.0
-coverage>=3.6 # Apache-2.0
-discover # BSD
+coverage>=4.0 # Apache-2.0
python-subunit>=0.0.18 # Apache-2.0/BSD
-sphinx!=1.2.0,!=1.3b1,<1.3,>=1.1.2 # BSD
-oslosphinx!=3.4.0,>=2.5.0 # Apache-2.0
+sphinx!=1.3b1,<1.4,>=1.2.1 # BSD
+oslosphinx>=4.7.0 # Apache-2.0
oslotest>=1.10.0 # Apache-2.0
testrepository>=0.0.18 # Apache-2.0/BSD
testscenarios>=0.4 # Apache-2.0/BSD
testtools>=1.4.0 # MIT
-fixtures>=1.3.1 # Apache-2.0/BSD
+fixtures>=3.0.0 # Apache-2.0/BSD
doc8 # Apache-2.0
+reno>=1.8.0 # Apache-2.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/debtcollector-1.3.0/tools/tox_install.sh new/debtcollector-1.11.0/tools/tox_install.sh
--- old/debtcollector-1.3.0/tools/tox_install.sh 1970-01-01 01:00:00.000000000 +0100
+++ new/debtcollector-1.11.0/tools/tox_install.sh 2017-01-18 15:09:17.000000000 +0100
@@ -0,0 +1,30 @@
+#!/usr/bin/env bash
+
+# Client constraint file contains this client version pin that is in conflict
+# with installing the client from source. We should remove the version pin in
+# the constraints file before applying it for from-source installation.
+
+CONSTRAINTS_FILE="$1"
+shift 1
+
+set -e
+
+# NOTE(tonyb): Place this in the tox enviroment's log dir so it will get
+# published to logs.openstack.org for easy debugging.
+localfile="$VIRTUAL_ENV/log/upper-constraints.txt"
+
+if [[ "$CONSTRAINTS_FILE" != http* ]]; then
+ CONSTRAINTS_FILE="file://$CONSTRAINTS_FILE"
+fi
+# NOTE(tonyb): need to add curl to bindep.txt if the project supports bindep
+curl "$CONSTRAINTS_FILE" --insecure --progress-bar --output "$localfile"
+
+pip install -c"$localfile" openstack-requirements
+
+# This is the main purpose of the script: Allow local installation of
+# the current repo. It is listed in constraints file and thus any
+# install will be constrained and we need to unconstrain it.
+edit-constraints "$localfile" -- "$CLIENT_NAME"
+
+pip install -c"$localfile" -U "$@"
+exit $?
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/debtcollector-1.3.0/tox.ini new/debtcollector-1.11.0/tox.ini
--- old/debtcollector-1.3.0/tox.ini 2016-02-10 00:15:07.000000000 +0100
+++ new/debtcollector-1.11.0/tox.ini 2017-01-18 15:09:17.000000000 +0100
@@ -1,8 +1,13 @@
[tox]
-minversion = 1.6
-envlist = py34,py27,pypy,pep8
+minversion = 2.0
+envlist = py35,py34,py27,pypy,pep8
[testenv]
+setenv =
+ VIRTUAL_ENV={envdir}
+ BRANCH_NAME=master
+ CLIENT_NAME=debtcollector
+install_command = {toxinidir}/tools/tox_install.sh {env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} {opts} {packages}
deps = -r{toxinidir}/test-requirements.txt
commands = python setup.py testr --slowest --testr-args='{posargs}'
@@ -17,6 +22,10 @@
basepython = python3.4
commands = oslo_debug_helper {posargs}
+[testenv:debug-py35]
+basepython = python3.5
+commands = oslo_debug_helper {posargs}
+
[testenv:pep8]
commands = flake8
@@ -40,4 +49,7 @@
# E123, E125 skipped as they are invalid PEP-8.
show-source = True
ignore = E123,E125
-exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build
+exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build
+
+[testenv:releasenotes]
+commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html