Hello community,

here is the log from the commit of package python-Logbook for openSUSE:Factory 
checked in at 2020-01-16 18:15:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-Logbook (Old)
 and      /work/SRC/openSUSE:Factory/.python-Logbook.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-Logbook"

Thu Jan 16 18:15:37 2020 rev:6 rq:764616 version:1.5.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-Logbook/python-Logbook.changes    
2019-09-30 15:54:50.397944588 +0200
+++ /work/SRC/openSUSE:Factory/.python-Logbook.new.26092/python-Logbook.changes 
2020-01-16 18:15:48.444790404 +0100
@@ -1,0 +2,6 @@
+Wed Jan 15 10:46:40 UTC 2020 - Marketa Calabkova <mcalabk...@suse.com>
+
+- Update to 1.5.3
+  * Remove usage of deprecated collections API
+
+-------------------------------------------------------------------

Old:
----
  Logbook-1.5.2.tar.gz

New:
----
  Logbook-1.5.3.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-Logbook.spec ++++++
--- /var/tmp/diff_new_pack.0EXbXx/_old  2020-01-16 18:15:49.292790884 +0100
+++ /var/tmp/diff_new_pack.0EXbXx/_new  2020-01-16 18:15:49.304790891 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-Logbook
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-Logbook
-Version:        1.5.2
+Version:        1.5.3
 Release:        0
 Summary:        A logging replacement for Python
 License:        BSD-3-Clause

++++++ Logbook-1.5.2.tar.gz -> Logbook-1.5.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Logbook-1.5.2/Logbook.egg-info/PKG-INFO 
new/Logbook-1.5.3/Logbook.egg-info/PKG-INFO
--- old/Logbook-1.5.2/Logbook.egg-info/PKG-INFO 2019-08-21 06:34:20.000000000 
+0200
+++ new/Logbook-1.5.3/Logbook.egg-info/PKG-INFO 2019-10-16 20:00:25.000000000 
+0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: Logbook
-Version: 1.5.2
+Version: 1.5.3
 Summary: A logging replacement for Python
 Home-page: http://logbook.pocoo.org/
 Author: Armin Ronacher, Georg Brandl
@@ -64,12 +64,12 @@
 Classifier: Programming Language :: Python :: 3.4
 Classifier: Programming Language :: Python :: 3.5
 Classifier: Programming Language :: Python :: 3.6
-Provides-Extra: dev
 Provides-Extra: test
-Provides-Extra: zmq
+Provides-Extra: dev
 Provides-Extra: execnet
-Provides-Extra: compression
-Provides-Extra: jinja
-Provides-Extra: redis
 Provides-Extra: sqlalchemy
+Provides-Extra: redis
+Provides-Extra: zmq
+Provides-Extra: jinja
+Provides-Extra: compression
 Provides-Extra: all
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Logbook-1.5.2/Logbook.egg-info/requires.txt 
new/Logbook-1.5.3/Logbook.egg-info/requires.txt
--- old/Logbook-1.5.2/Logbook.egg-info/requires.txt     2019-08-21 
06:34:20.000000000 +0200
+++ new/Logbook-1.5.3/Logbook.egg-info/requires.txt     2019-10-16 
20:00:25.000000000 +0200
@@ -1,22 +1,22 @@
 
 [all]
+redis
 brotli
-pytest-cov>=2.6
+pytest>4.0
+execnet>=1.0.9
 cython
 pyzmq
-redis
-execnet>=1.0.9
+pytest-cov>=2.6
 sqlalchemy
 Jinja2
-pytest>4.0
 
 [compression]
 brotli
 
 [dev]
 pytest-cov>=2.6
-cython
 pytest>4.0
+cython
 
 [execnet]
 execnet>=1.0.9
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Logbook-1.5.2/PKG-INFO new/Logbook-1.5.3/PKG-INFO
--- old/Logbook-1.5.2/PKG-INFO  2019-08-21 06:34:20.000000000 +0200
+++ new/Logbook-1.5.3/PKG-INFO  2019-10-16 20:00:25.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: Logbook
-Version: 1.5.2
+Version: 1.5.3
 Summary: A logging replacement for Python
 Home-page: http://logbook.pocoo.org/
 Author: Armin Ronacher, Georg Brandl
@@ -64,12 +64,12 @@
 Classifier: Programming Language :: Python :: 3.4
 Classifier: Programming Language :: Python :: 3.5
 Classifier: Programming Language :: Python :: 3.6
-Provides-Extra: dev
 Provides-Extra: test
-Provides-Extra: zmq
+Provides-Extra: dev
 Provides-Extra: execnet
-Provides-Extra: compression
-Provides-Extra: jinja
-Provides-Extra: redis
 Provides-Extra: sqlalchemy
+Provides-Extra: redis
+Provides-Extra: zmq
+Provides-Extra: jinja
+Provides-Extra: compression
 Provides-Extra: all
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Logbook-1.5.2/logbook/__version__.py 
new/Logbook-1.5.3/logbook/__version__.py
--- old/Logbook-1.5.2/logbook/__version__.py    2019-08-21 06:33:30.000000000 
+0200
+++ new/Logbook-1.5.3/logbook/__version__.py    2019-10-16 19:59:35.000000000 
+0200
@@ -1 +1 @@
-__version__ = "1.5.2"
+__version__ = "1.5.3"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Logbook-1.5.2/logbook/compat.py 
new/Logbook-1.5.3/logbook/compat.py
--- old/Logbook-1.5.2/logbook/compat.py 2019-08-21 06:33:30.000000000 +0200
+++ new/Logbook-1.5.3/logbook/compat.py 2019-10-16 19:59:35.000000000 +0200
@@ -16,7 +16,7 @@
 from datetime import date, datetime
 
 import logbook
-from logbook.helpers import u, string_types, iteritems
+from logbook.helpers import u, string_types, iteritems, collections_abc
 
 _epoch_ord = date(1970, 1, 1).toordinal()
 
@@ -133,7 +133,7 @@
         kwargs = None
 
         # Logging allows passing a mapping object, in which case args will be 
a mapping.
-        if isinstance(args, collections.Mapping):
+        if isinstance(args, collections_abc.Mapping):
             kwargs = args
             args = None
         record = LoggingCompatRecord(old_record.name,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Logbook-1.5.2/logbook/handlers.py 
new/Logbook-1.5.3/logbook/handlers.py
--- old/Logbook-1.5.2/logbook/handlers.py       2019-08-21 06:33:30.000000000 
+0200
+++ new/Logbook-1.5.3/logbook/handlers.py       2019-10-16 19:59:35.000000000 
+0200
@@ -32,7 +32,7 @@
     _missing, lookup_level, Flags, ContextObject, ContextStackManager,
     _datetime_factory)
 from logbook.helpers import (
-    rename, b, _is_text_stream, is_unicode, PY2, zip, xrange, string_types,
+    rename, b, _is_text_stream, is_unicode, PY2, zip, xrange, string_types, 
collections_abc,
     integer_types, reraise, u, with_metaclass)
 from logbook.concurrency import new_fine_grained_lock
 
@@ -1355,10 +1355,10 @@
         # - tuple to be unpacked to variables keyfile and certfile.
         # - secure=() equivalent to secure=True for backwards compatibility.
         # - secure=False equivalent to secure=None to disable.
-        if isinstance(self.secure, collections.Mapping):
+        if isinstance(self.secure, collections_abc.Mapping):
             keyfile = self.secure.get('keyfile', None)
             certfile = self.secure.get('certfile', None)
-        elif isinstance(self.secure, collections.Iterable):
+        elif isinstance(self.secure, collections_abc.Iterable):
             # Allow empty tuple for backwards compatibility
             if len(self.secure) == 0:
                 keyfile = certfile = None
@@ -1381,7 +1381,7 @@
                 con.ehlo()
 
             # Allow credentials to be a tuple or dict.
-            if isinstance(self.credentials, collections.Mapping):
+            if isinstance(self.credentials, collections_abc.Mapping):
                 credentials_args = ()
                 credentials_kwargs = self.credentials
             else:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Logbook-1.5.2/logbook/helpers.py 
new/Logbook-1.5.3/logbook/helpers.py
--- old/Logbook-1.5.2/logbook/helpers.py        2019-08-21 06:33:30.000000000 
+0200
+++ new/Logbook-1.5.3/logbook/helpers.py        2019-10-16 19:59:35.000000000 
+0200
@@ -20,8 +20,10 @@
 
 if PY2:
     import __builtin__ as _builtins
+    import collections as collections_abc
 else:
     import builtins as _builtins
+    import collections.abc as collections_abc
 
 try:
     import json


Reply via email to