Hello community,

here is the log from the commit of package python-importlab for 
openSUSE:Factory checked in at 2019-09-13 14:59:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-importlab (Old)
 and      /work/SRC/openSUSE:Factory/.python-importlab.new.7948 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-importlab"

Fri Sep 13 14:59:52 2019 rev:2 rq:730195 version:0.5.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-importlab/python-importlab.changes        
2019-03-04 09:21:38.984587220 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-importlab.new.7948/python-importlab.changes  
    2019-09-13 14:59:53.773281247 +0200
@@ -1,0 +2,6 @@
+Wed Sep 11 14:58:59 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Update to 0.5.1:
+  * FIX: Correct a broken import
+
+-------------------------------------------------------------------

Old:
----
  importlab-0.5.tar.gz

New:
----
  importlab-0.5.1.tar.gz

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

Other differences:
------------------
++++++ python-importlab.spec ++++++
--- /var/tmp/diff_new_pack.MnKExf/_old  2019-09-13 14:59:54.189281265 +0200
+++ /var/tmp/diff_new_pack.MnKExf/_new  2019-09-13 14:59:54.189281265 +0200
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-importlab
-Version:        0.5
+Version:        0.5.1
 Release:        0
 Summary:        A library to calculate python dependency graphs
 License:        Apache-2.0

++++++ importlab-0.5.tar.gz -> importlab-0.5.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/importlab-0.5/CHANGELOG new/importlab-0.5.1/CHANGELOG
--- old/importlab-0.5/CHANGELOG 2018-12-26 23:11:35.000000000 +0100
+++ new/importlab-0.5.1/CHANGELOG       2019-05-24 20:29:51.000000000 +0200
@@ -1,3 +1,6 @@
+Version 0.5.1 (2019-05-24)
+* FIX: Correct a broken import
+
 Version 0.5 (2018-12-26)
 * Support `from . import Symbol` style of relative imports
 * Set the default target Python version to the host version
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/importlab-0.5/PKG-INFO new/importlab-0.5.1/PKG-INFO
--- old/importlab-0.5/PKG-INFO  2019-01-07 13:27:20.000000000 +0100
+++ new/importlab-0.5.1/PKG-INFO        2019-05-24 20:47:35.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.2
 Name: importlab
-Version: 0.5
+Version: 0.5.1
 Summary: A library to calculate python dependency graphs.
 Home-page: https://github.com/google/importlab
 Maintainer: Google Inc.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/importlab-0.5/importlab/import_finder.py 
new/importlab-0.5.1/importlab/import_finder.py
--- old/importlab-0.5/importlab/import_finder.py        2018-12-26 
19:43:06.000000000 +0100
+++ new/importlab-0.5.1/importlab/import_finder.py      2019-05-24 
20:29:51.000000000 +0200
@@ -12,7 +12,21 @@
 # Pytype doesn't recognize the `major` attribute:
 # https://github.com/google/pytype/issues/127.
 if sys.version_info[0] >= 3:
-    import importlib
+    # Note that `import importlib` does not work: accessing `importlib.util`
+    # will give an attribute error. This is hard to reproduce in a unit test 
but
+    # can be seen by install importlab in a Python 3 environment and running
+    # `importlab --tree --trim` on a file that imports one of:
+    #   * jsonschema (`pip install jsonschema`)
+    #   * pytype (`pip install pytype`),
+    #   * dotenv (`pip install python-dotenv`)
+    #   * IPython (`pip install ipython`)
+    # A correct output will look like:
+    #   Reading 1 files
+    #   Source tree:
+    #   + foo.py
+    #       :: jsonschema/__init__.py
+    # An incorrect output will be missing the line with the import.
+    import importlib.util
 else:
     import imp
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/importlab-0.5/importlab.egg-info/PKG-INFO 
new/importlab-0.5.1/importlab.egg-info/PKG-INFO
--- old/importlab-0.5/importlab.egg-info/PKG-INFO       2019-01-07 
13:27:20.000000000 +0100
+++ new/importlab-0.5.1/importlab.egg-info/PKG-INFO     2019-05-24 
20:47:35.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.2
 Name: importlab
-Version: 0.5
+Version: 0.5.1
 Summary: A library to calculate python dependency graphs.
 Home-page: https://github.com/google/importlab
 Maintainer: Google Inc.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/importlab-0.5/setup.py new/importlab-0.5.1/setup.py
--- old/importlab-0.5/setup.py  2018-12-26 23:11:47.000000000 +0100
+++ new/importlab-0.5.1/setup.py        2019-05-24 20:29:51.000000000 +0200
@@ -13,7 +13,7 @@
 EMAIL = '[email protected]'
 AUTHOR = 'Google Inc.'
 REQUIRES_PYTHON = '>=2.7.0'
-VERSION = '0.5'
+VERSION = '0.5.1'
 
 REQUIRED = [
     'networkx',


Reply via email to