Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-debtcollector for
openSUSE:Factory checked in at 2022-06-20 15:39:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-debtcollector (Old)
and /work/SRC/openSUSE:Factory/.python-debtcollector.new.1548 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-debtcollector"
Mon Jun 20 15:39:03 2022 rev:19 rq:983967 version:2.5.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-debtcollector/python-debtcollector.changes
2021-12-02 02:22:45.521129959 +0100
+++
/work/SRC/openSUSE:Factory/.python-debtcollector.new.1548/python-debtcollector.changes
2022-06-20 15:39:37.315065390 +0200
@@ -1,0 +2,10 @@
+Tue Jun 7 09:24:25 UTC 2022 - [email protected]
+
+- update to version 2.5.0
+ - Remove unnecessary 'coding' lines
+ - requirements: Remove pbr
+ - Restore reproducibility in docs
+ - Remove references to Python 2 objects
+ - Remove six
+
+-------------------------------------------------------------------
Old:
----
debtcollector-2.3.0.tar.gz
New:
----
debtcollector-2.5.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-debtcollector.spec ++++++
--- /var/tmp/diff_new_pack.0XFCKf/_old 2022-06-20 15:39:37.839066156 +0200
+++ /var/tmp/diff_new_pack.0XFCKf/_new 2022-06-20 15:39:37.859066185 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-debtcollector
#
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,16 +17,16 @@
Name: python-debtcollector
-Version: 2.3.0
+Version: 2.5.0
Release: 0
Summary: A collection of Python deprecation patterns and strategies
License: Apache-2.0
Group: Development/Languages/Python
URL: https://docs.openstack.org/debtcollector/latest/
-Source0:
https://files.pythonhosted.org/packages/source/d/debtcollector/debtcollector-2.3.0.tar.gz
+Source0:
https://files.pythonhosted.org/packages/source/d/debtcollector/debtcollector-2.5.0.tar.gz
BuildRequires: openstack-macros
BuildRequires: python3-fixtures
-BuildRequires: python3-pbr >= 2.0.0
+BuildRequires: python3-pbr
BuildRequires: python3-python-subunit
BuildRequires: python3-stestr
BuildRequires: python3-wrapt >= 1.7.0
@@ -46,7 +46,7 @@
%package -n python3-debtcollector
Summary: A collection of Python deprecation patterns and strategies
Requires: python3-importlib-metadata
-Requires: python3-pbr >= 2.0.0
+Requires: python3-pbr
Requires: python3-six
Requires: python3-wrapt >= 1.7.0
@@ -83,14 +83,14 @@
This package contains documentation in HTML format.
%prep
-%autosetup -p1 -n debtcollector-2.3.0
+%autosetup -p1 -n debtcollector-2.5.0
%py_req_cleanup
%build
%py3_build
# generate html doc
-PBR_VERSION=2.3.0 %sphinx_build -b html doc/source doc/build/html
+PBR_VERSION=2.5.0 %sphinx_build -b html doc/source doc/build/html
# remove the Sphinx-build leftovers
rm -rf doc/build/html/.{doctrees,buildinfo}
++++++ debtcollector-2.3.0.tar.gz -> debtcollector-2.5.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/debtcollector-2.3.0/AUTHORS
new/debtcollector-2.5.0/AUTHORS
--- old/debtcollector-2.3.0/AUTHORS 2021-09-06 10:31:32.000000000 +0200
+++ new/debtcollector-2.5.0/AUTHORS 2022-03-14 15:36:27.000000000 +0100
@@ -24,10 +24,12 @@
OpenStack Release Bot <[email protected]>
Pierre-Andr?? MOREY <[email protected]>
Sean McGinnis <[email protected]>
+Stephen Finucane <[email protected]>
Swapnil Kulkarni (coolsvap) <[email protected]>
THOMAS J. COCOZZELLO <[email protected]>
Takashi Kajinami <[email protected]>
Thomas Bechtold <[email protected]>
+Thomas Goirand <[email protected]>
Tony Breeds <[email protected]>
Tony Xu <[email protected]>
Vu Cong Tuan <[email protected]>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/debtcollector-2.3.0/ChangeLog
new/debtcollector-2.5.0/ChangeLog
--- old/debtcollector-2.3.0/ChangeLog 2021-09-06 10:31:32.000000000 +0200
+++ new/debtcollector-2.5.0/ChangeLog 2022-03-14 15:36:27.000000000 +0100
@@ -1,6 +1,19 @@
CHANGES
=======
+2.5.0
+-----
+
+* Remove references to Python 2 objects
+* requirements: Remove pbr
+
+2.4.0
+-----
+
+* Remove unnecessary 'coding' lines
+* Remove six
+* Restore reproducibility in docs
+
2.3.0
-----
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/debtcollector-2.3.0/PKG-INFO
new/debtcollector-2.5.0/PKG-INFO
--- old/debtcollector-2.3.0/PKG-INFO 2021-09-06 10:31:32.772987000 +0200
+++ new/debtcollector-2.5.0/PKG-INFO 2022-03-14 15:36:27.358510500 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 1.2
Name: debtcollector
-Version: 2.3.0
+Version: 2.5.0
Summary: A collection of Python deprecation patterns and strategies that help
you collect your technical debt in a non-destructive manner.
Home-page: https://docs.openstack.org/debtcollector/latest
Author: OpenStack
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/debtcollector-2.3.0/debtcollector/__init__.py
new/debtcollector-2.5.0/debtcollector/__init__.py
--- old/debtcollector-2.3.0/debtcollector/__init__.py 2021-09-06
10:30:54.000000000 +0200
+++ new/debtcollector-2.5.0/debtcollector/__init__.py 2022-03-14
15:35:54.000000000 +0100
@@ -1,5 +1,3 @@
-# -*- 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
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/debtcollector-2.3.0/debtcollector/_utils.py
new/debtcollector-2.5.0/debtcollector/_utils.py
--- old/debtcollector-2.3.0/debtcollector/_utils.py 2021-09-06
10:30:54.000000000 +0200
+++ new/debtcollector-2.5.0/debtcollector/_utils.py 2022-03-14
15:35:54.000000000 +0100
@@ -1,5 +1,3 @@
-# -*- coding: utf-8 -*-
-
# Copyright (C) 2015 Yahoo! Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
@@ -16,21 +14,10 @@
import functools
import inspect
-import types
import warnings
-import six
-
-try:
- _TYPE_TYPE = types.TypeType
-except AttributeError:
- _TYPE_TYPE = type
-
-
-# See: https://docs.python.org/2/library/__builtin__.html#module-__builtin__
-# and see https://docs.python.org/2/reference/executionmodel.html (and likely
-# others)...
-_BUILTIN_MODULES = ('builtins', '__builtin__', '__builtins__', 'exceptions')
+# See https://docs.python.org/3/library/builtins.html
+_BUILTIN_MODULES = ('builtins', 'exceptions')
_enabled = True
@@ -91,14 +78,7 @@
def get_assigned(decorator):
"""Helper to fix/workaround https://bugs.python.org/issue3445"""
- if six.PY3:
- return functools.WRAPPER_ASSIGNMENTS
- else:
- assigned = []
- for attr_name in functools.WRAPPER_ASSIGNMENTS:
- if hasattr(decorator, attr_name):
- assigned.append(attr_name)
- return tuple(assigned)
+ return functools.WRAPPER_ASSIGNMENTS
def get_class_name(obj, fully_qualified=True):
@@ -108,7 +88,7 @@
Else, fully qualified name of the type of the object is returned.
For builtin types, just name is returned.
"""
- if not isinstance(obj, six.class_types):
+ if not isinstance(obj, type):
obj = type(obj)
try:
built_in = obj.__module__ in _BUILTIN_MODULES
@@ -129,7 +109,7 @@
if not inspect.ismethod(method):
return None
try:
- return six.get_method_self(method)
+ return getattr(method, '__self__')
except AttributeError:
return None
@@ -142,7 +122,7 @@
method_self = get_method_self(function)
if method_self is not None:
# This is a bound method.
- if isinstance(method_self, six.class_types):
+ if isinstance(method_self, type):
# This is a bound class method.
im_class = method_self
else:
@@ -165,7 +145,7 @@
parts = (function.__module__, function.__name__)
else:
im_class = type(function)
- if im_class is _TYPE_TYPE:
+ if im_class is type:
im_class = function
try:
parts = (im_class.__module__, im_class.__qualname__)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/debtcollector-2.3.0/debtcollector/fixtures/disable.py
new/debtcollector-2.5.0/debtcollector/fixtures/disable.py
--- old/debtcollector-2.3.0/debtcollector/fixtures/disable.py 2021-09-06
10:30:54.000000000 +0200
+++ new/debtcollector-2.5.0/debtcollector/fixtures/disable.py 2022-03-14
15:35:54.000000000 +0100
@@ -1,5 +1,3 @@
-# -*- coding: utf-8 -*-
-
# Copyright (C) 2015 Yahoo! Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/debtcollector-2.3.0/debtcollector/moves.py
new/debtcollector-2.5.0/debtcollector/moves.py
--- old/debtcollector-2.3.0/debtcollector/moves.py 2021-09-06
10:30:54.000000000 +0200
+++ new/debtcollector-2.5.0/debtcollector/moves.py 2022-03-14
15:35:54.000000000 +0100
@@ -1,5 +1,3 @@
-# -*- coding: utf-8 -*-
-
# Copyright (C) 2015 Yahoo! Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
@@ -14,9 +12,9 @@
# License for the specific language governing permissions and limitations
# under the License.
+import functools
import inspect
-import six
import wrapt
from debtcollector import _utils
@@ -76,7 +74,7 @@
message=message, version=version,
removal_version=removal_version)
- @six.wraps(new_func, assigned=_utils.get_assigned(new_func))
+ @functools.wraps(new_func, assigned=_utils.get_assigned(new_func))
def old_new_func(*args, **kwargs):
_utils.deprecation(out_message, stacklevel=stacklevel,
category=category)
@@ -183,7 +181,7 @@
def decorator(f):
- @six.wraps(f, assigned=_utils.get_assigned(f))
+ @functools.wraps(f, assigned=_utils.get_assigned(f))
def wrapper(self, *args, **kwargs):
_utils.deprecation(out_message, stacklevel=stacklevel,
category=category)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/debtcollector-2.3.0/debtcollector/removals.py
new/debtcollector-2.5.0/debtcollector/removals.py
--- old/debtcollector-2.3.0/debtcollector/removals.py 2021-09-06
10:30:54.000000000 +0200
+++ new/debtcollector-2.5.0/debtcollector/removals.py 2022-03-14
15:35:54.000000000 +0100
@@ -15,7 +15,6 @@
import functools
import inspect
-import six
import wrapt
from debtcollector import _utils
@@ -270,7 +269,7 @@
def _wrap_it(old_init, out_message):
- @six.wraps(old_init, assigned=_utils.get_assigned(old_init))
+ @functools.wraps(old_init, assigned=_utils.get_assigned(old_init))
def new_init(self, *args, **kwargs):
_utils.deprecation(out_message, stacklevel=stacklevel,
category=category)
@@ -315,7 +314,7 @@
"""
if inspect.ismodule(module):
module_name = _get_qualified_name(module)
- elif isinstance(module, six.string_types):
+ elif isinstance(module, str):
module_name = module
else:
_qual, type_name = _utils.get_qualified_name(type(module))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/debtcollector-2.3.0/debtcollector/renames.py
new/debtcollector-2.5.0/debtcollector/renames.py
--- old/debtcollector-2.3.0/debtcollector/renames.py 2021-09-06
10:30:54.000000000 +0200
+++ new/debtcollector-2.5.0/debtcollector/renames.py 2022-03-14
15:35:54.000000000 +0100
@@ -1,5 +1,3 @@
-# -*- coding: utf-8 -*-
-
# Copyright (C) 2015 Yahoo! Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/debtcollector-2.3.0/debtcollector/tests/base.py
new/debtcollector-2.5.0/debtcollector/tests/base.py
--- old/debtcollector-2.3.0/debtcollector/tests/base.py 2021-09-06
10:30:54.000000000 +0200
+++ new/debtcollector-2.5.0/debtcollector/tests/base.py 2022-03-14
15:35:54.000000000 +0100
@@ -1,5 +1,3 @@
-# -*- coding: utf-8 -*-
-
# Copyright 2010-2011 OpenStack Foundation
# Copyright (c) 2013 Hewlett-Packard Development Company, L.P.
#
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/debtcollector-2.3.0/debtcollector/updating.py
new/debtcollector-2.5.0/debtcollector/updating.py
--- old/debtcollector-2.3.0/debtcollector/updating.py 2021-09-06
10:30:54.000000000 +0200
+++ new/debtcollector-2.5.0/debtcollector/updating.py 2022-03-14
15:35:54.000000000 +0100
@@ -1,5 +1,3 @@
-# -*- coding: utf-8 -*-
-
# Copyright (C) 2015 Yahoo! Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/debtcollector-2.3.0/debtcollector.egg-info/PKG-INFO
new/debtcollector-2.5.0/debtcollector.egg-info/PKG-INFO
--- old/debtcollector-2.3.0/debtcollector.egg-info/PKG-INFO 2021-09-06
10:31:32.000000000 +0200
+++ new/debtcollector-2.5.0/debtcollector.egg-info/PKG-INFO 2022-03-14
15:36:27.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 1.2
Name: debtcollector
-Version: 2.3.0
+Version: 2.5.0
Summary: A collection of Python deprecation patterns and strategies that help
you collect your technical debt in a non-destructive manner.
Home-page: https://docs.openstack.org/debtcollector/latest
Author: OpenStack
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/debtcollector-2.3.0/debtcollector.egg-info/pbr.json
new/debtcollector-2.5.0/debtcollector.egg-info/pbr.json
--- old/debtcollector-2.3.0/debtcollector.egg-info/pbr.json 2021-09-06
10:31:32.000000000 +0200
+++ new/debtcollector-2.5.0/debtcollector.egg-info/pbr.json 2022-03-14
15:36:27.000000000 +0100
@@ -1 +1 @@
-{"git_version": "0bf5bf5", "is_release": true}
\ No newline at end of file
+{"git_version": "a6b46c5", "is_release": true}
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/debtcollector-2.3.0/debtcollector.egg-info/requires.txt
new/debtcollector-2.5.0/debtcollector.egg-info/requires.txt
--- old/debtcollector-2.3.0/debtcollector.egg-info/requires.txt 2021-09-06
10:31:32.000000000 +0200
+++ new/debtcollector-2.5.0/debtcollector.egg-info/requires.txt 2022-03-14
15:36:27.000000000 +0100
@@ -1,5 +1,3 @@
-pbr!=2.1.0,>=2.0.0
-six>=1.10.0
wrapt>=1.7.0
[:(python_version<'3.8')]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/debtcollector-2.3.0/doc/source/conf.py
new/debtcollector-2.5.0/doc/source/conf.py
--- old/debtcollector-2.3.0/doc/source/conf.py 2021-09-06 10:30:54.000000000
+0200
+++ new/debtcollector-2.5.0/doc/source/conf.py 2022-03-14 15:35:54.000000000
+0100
@@ -1,4 +1,3 @@
-# -*- coding: utf-8 -*-
# Copyright (C) 2020 Red Hat, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,7 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-import datetime
import os
import sys
@@ -48,7 +46,7 @@
# General information about the project.
project = 'debtcollector'
-copyright = '%s, OpenStack Foundation' % datetime.date.today().year
+copyright = 'OpenStack Foundation'
# If true, '()' will be appended to :func: etc. cross-reference text.
add_function_parentheses = True
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/debtcollector-2.3.0/releasenotes/source/conf.py
new/debtcollector-2.5.0/releasenotes/source/conf.py
--- old/debtcollector-2.3.0/releasenotes/source/conf.py 2021-09-06
10:30:54.000000000 +0200
+++ new/debtcollector-2.5.0/releasenotes/source/conf.py 2022-03-14
15:35:54.000000000 +0100
@@ -1,4 +1,3 @@
-# -*- 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
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/debtcollector-2.3.0/requirements.txt
new/debtcollector-2.5.0/requirements.txt
--- old/debtcollector-2.3.0/requirements.txt 2021-09-06 10:30:54.000000000
+0200
+++ new/debtcollector-2.5.0/requirements.txt 2022-03-14 15:35:54.000000000
+0100
@@ -1,8 +1,2 @@
-# The order of packages is significant, because pip processes them in the order
-# of appearance. Changing the order has an impact on the overall integration
-# process, which may cause wedges in the gate later.
-
-pbr!=2.1.0,>=2.0.0 # Apache-2.0
importlib_metadata>=1.7.0;python_version<'3.8' # Apache-2.0
-six>=1.10.0 # MIT
wrapt>=1.7.0 # BSD License