Hello community,

here is the log from the commit of package python3-logilab-common for 
openSUSE:Factory checked in at 2016-07-05 09:53:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python3-logilab-common (Old)
 and      /work/SRC/openSUSE:Factory/.python3-logilab-common.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python3-logilab-common"

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python3-logilab-common/python3-logilab-common.changes
    2016-05-30 09:58:50.000000000 +0200
+++ 
/work/SRC/openSUSE:Factory/.python3-logilab-common.new/python3-logilab-common.changes
       2016-07-05 09:53:12.000000000 +0200
@@ -1,0 +2,11 @@
+Mon Jul  4 16:37:58 UTC 2016 - [email protected]
+
+- update to version 1.2.2:
+  * [doc] fixes
+  * [configuration] long is gone in Python 3, rely on
+    six.integer_types
+  * [pytest] make pytest module runnable
+  * [registry] make RegistryStore.load_file work with unicode value
+    for modname (closes #6302914)
+
+-------------------------------------------------------------------

Old:
----
  logilab-common-1.2.1.tar.gz

New:
----
  logilab-common-1.2.2.tar.gz

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

Other differences:
------------------
++++++ python3-logilab-common.spec ++++++
--- /var/tmp/diff_new_pack.V24ERM/_old  2016-07-05 09:53:12.000000000 +0200
+++ /var/tmp/diff_new_pack.V24ERM/_new  2016-07-05 09:53:12.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           python3-logilab-common
-Version:        1.2.1
+Version:        1.2.2
 Release:        0
 Url:            http://www.logilab.org/projects/common/
 Summary:        Python lowlevel functionality shared by logilab projects

++++++ logilab-common-1.2.1.tar.gz -> logilab-common-1.2.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/logilab-common-1.2.1/PKG-INFO 
new/logilab-common-1.2.2/PKG-INFO
--- old/logilab-common-1.2.1/PKG-INFO   2016-05-27 15:27:30.000000000 +0200
+++ new/logilab-common-1.2.2/PKG-INFO   2016-06-21 15:46:50.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: logilab-common
-Version: 1.2.1
+Version: 1.2.2
 Summary: collection of low-level Python packages and modules used by Logilab 
projects
 Home-page: http://www.logilab.org/project/logilab-common
 Author: Logilab
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/logilab-common-1.2.1/__pkginfo__.py 
new/logilab-common-1.2.2/__pkginfo__.py
--- old/logilab-common-1.2.1/__pkginfo__.py     2016-05-27 15:12:20.000000000 
+0200
+++ new/logilab-common-1.2.2/__pkginfo__.py     2016-06-21 15:26:56.000000000 
+0200
@@ -25,7 +25,7 @@
 subpackage_of = 'logilab'
 subpackage_master = True
 
-numversion = (1, 2, 1)
+numversion = (1, 2, 2)
 version = '.'.join([str(num) for num in numversion])
 
 license = 'LGPL' # 2.1 or later
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/logilab-common-1.2.1/logilab/common/configuration.py 
new/logilab-common-1.2.2/logilab/common/configuration.py
--- old/logilab-common-1.2.1/logilab/common/configuration.py    2016-05-27 
15:12:20.000000000 +0200
+++ new/logilab-common-1.2.2/logilab/common/configuration.py    2016-06-21 
15:26:56.000000000 +0200
@@ -122,7 +122,7 @@
 from copy import copy
 from warnings import warn
 
-from six import string_types
+from six import integer_types, string_types
 from six.moves import range, configparser as cp, input
 
 from logilab.common.compat import str_encode as _encode
@@ -372,7 +372,7 @@
         value = value and 'yes' or 'no'
     elif isinstance(value, string_types) and value.isspace():
         value = "'%s'" % value
-    elif optdict.get('type') == 'time' and isinstance(value, (float, int, 
long)):
+    elif optdict.get('type') == 'time' and isinstance(value, (float, ) + 
integer_types):
         value = format_time(value)
     elif optdict.get('type') == 'bytes' and hasattr(value, '__int__'):
         value = format_bytes(value)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/logilab-common-1.2.1/logilab/common/pytest.py 
new/logilab-common-1.2.2/logilab/common/pytest.py
--- old/logilab-common-1.2.1/logilab/common/pytest.py   2016-05-27 
15:12:20.000000000 +0200
+++ new/logilab-common-1.2.2/logilab/common/pytest.py   2016-06-21 
15:26:56.000000000 +0200
@@ -1296,3 +1296,7 @@
     unittest.FunctionTestCase.__bases__ = (testlib.TestCase,)
 unittest.TestSuite.run = _ts_run
 unittest.TestSuite._wrapped_run = _ts_wrapped_run
+
+if __name__ == '__main__':
+    run()
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/logilab-common-1.2.1/logilab/common/registry.py 
new/logilab-common-1.2.2/logilab/common/registry.py
--- old/logilab-common-1.2.1/logilab/common/registry.py 2016-05-27 
15:12:20.000000000 +0200
+++ new/logilab-common-1.2.2/logilab/common/registry.py 2016-06-21 
15:26:56.000000000 +0200
@@ -58,8 +58,11 @@
 Predicates
 ----------
 .. autoclass:: Predicate
-.. autofunc:: objectify_predicate
+.. autofunction:: objectify_predicate
 .. autoclass:: yes
+.. autoclass:: AndPredicate
+.. autoclass:: OrPredicate
+.. autoclass:: NotPredicate
 
 Debugging
 ---------
@@ -237,15 +240,15 @@
 
     Registration methods:
 
-    .. automethod: register
-    .. automethod: unregister
+    .. automethod:: register
+    .. automethod:: unregister
 
     Selection methods:
 
-    .. automethod: select
-    .. automethod: select_or_none
-    .. automethod: possible_objects
-    .. automethod: object_by_id
+    .. automethod:: select
+    .. automethod:: select_or_none
+    .. automethod:: possible_objects
+    .. automethod:: object_by_id
     """
     def __init__(self, debugmode):
         super(Registry, self).__init__()
@@ -487,7 +490,7 @@
     :meth:`register_objects` method, given a list of directories to
     inspect for python modules.
 
-    .. automethod: register_objects
+    .. automethod:: register_objects
 
     For each module, by default, all compatible objects are registered
     automatically. However if some objects come as replacement of
@@ -734,6 +737,8 @@
         # module
         self._lastmodifs[filepath] = mdate
         # load the module
+        if sys.version_info < (3,) and not isinstance(modname, str):
+            modname = str(modname)
         module = __import__(modname, fromlist=modname.split('.')[:-1])
         self.load_module(module)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/logilab-common-1.2.1/logilab_common.egg-info/PKG-INFO 
new/logilab-common-1.2.2/logilab_common.egg-info/PKG-INFO
--- old/logilab-common-1.2.1/logilab_common.egg-info/PKG-INFO   2016-05-27 
15:27:25.000000000 +0200
+++ new/logilab-common-1.2.2/logilab_common.egg-info/PKG-INFO   2016-06-21 
15:46:44.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: logilab-common
-Version: 1.2.1
+Version: 1.2.2
 Summary: collection of low-level Python packages and modules used by Logilab 
projects
 Home-page: http://www.logilab.org/project/logilab-common
 Author: Logilab


Reply via email to