Hello community,

here is the log from the commit of package python3-setuptools for 
openSUSE:Factory checked in at 2016-02-05 00:31:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python3-setuptools (Old)
 and      /work/SRC/openSUSE:Factory/.python3-setuptools.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python3-setuptools"

Changes:
--------
--- /work/SRC/openSUSE:Factory/python3-setuptools/python3-setuptools.changes    
2016-01-28 22:50:24.000000000 +0100
+++ 
/work/SRC/openSUSE:Factory/.python3-setuptools.new/python3-setuptools.changes   
    2016-02-05 00:31:13.000000000 +0100
@@ -1,0 +2,25 @@
+Thu Feb  4 18:03:15 UTC 2016 - a...@gmx.de
+
+- update to version 19.7:
+  * `Off-project PR <https://github.com/jaraco/setuptools/pull/32>`_:
+    For FreeBSD, also honor root certificates from ca_root_nss.
+
+-------------------------------------------------------------------
+Sun Jan 31 20:13:39 UTC 2016 - a...@gmx.de
+
+- update to version 19.6.2:
+  * Issue #491: Correct regression incurred in 19.4 where a
+    double-namespace package installed using pip would cause a
+    TypeError.
+
+-------------------------------------------------------------------
+Sat Jan 30 17:45:52 UTC 2016 - a...@gmx.de
+
+- update to version 19.6.1:
+  * Restore compatibility for PyPy 3 compatibility lost in 19.4.1
+    addressing Issue #487.
+  * "setuptools.launch" shim now loads scripts in a new namespace,
+    avoiding getting relative imports from the setuptools package on
+    Python 2.
+
+-------------------------------------------------------------------

Old:
----
  setuptools-19.6.tar.gz

New:
----
  setuptools-19.7.tar.gz

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

Other differences:
------------------
++++++ python3-setuptools.spec ++++++
--- /var/tmp/diff_new_pack.IO0OTI/_old  2016-02-05 00:31:14.000000000 +0100
+++ /var/tmp/diff_new_pack.IO0OTI/_new  2016-02-05 00:31:14.000000000 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           python3-setuptools
-Version:        19.6
+Version:        19.7
 Release:        0
 Url:            http://pypi.python.org/pypi/setuptools
 Summary:        Easily download, build, install, upgrade, and uninstall Python 
packages

++++++ setuptools-19.6.tar.gz -> setuptools-19.7.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/setuptools-19.6/CHANGES.txt 
new/setuptools-19.7/CHANGES.txt
--- old/setuptools-19.6/CHANGES.txt     2016-01-24 17:49:01.000000000 +0100
+++ new/setuptools-19.7/CHANGES.txt     2016-02-03 14:19:59.000000000 +0100
@@ -2,6 +2,28 @@
 CHANGES
 =======
 
+19.7
+----
+
+* `Off-project PR <https://github.com/jaraco/setuptools/pull/32>`_:
+  For FreeBSD, also honor root certificates from ca_root_nss.
+
+19.6.2
+------
+
+* Issue #491: Correct regression incurred in 19.4 where
+  a double-namespace package installed using pip would
+  cause a TypeError.
+
+19.6.1
+------
+
+* Restore compatibility for PyPy 3 compatibility lost in
+  19.4.1 addressing Issue #487.
+* ``setuptools.launch`` shim now loads scripts in a new
+  namespace, avoiding getting relative imports from
+  the setuptools package on Python 2.
+
 19.6
 ----
 
@@ -16,6 +38,7 @@
   expose the desired functionality. For example::
 
     $ python -m setuptools.launch setup.py develop
+
 * Issue #488: Fix dual manifestation of Extension class in
   extension packages installed as dependencies when Cython
   is present.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/setuptools-19.6/PKG-INFO new/setuptools-19.7/PKG-INFO
--- old/setuptools-19.6/PKG-INFO        2016-01-25 01:52:20.000000000 +0100
+++ new/setuptools-19.7/PKG-INFO        2016-02-03 14:20:32.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: setuptools
-Version: 19.6
+Version: 19.7
 Summary: Easily download, build, install, upgrade, and uninstall Python 
packages
 Home-page: https://bitbucket.org/pypa/setuptools
 Author: Python Packaging Authority
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/setuptools-19.6/pkg_resources/__init__.py 
new/setuptools-19.7/pkg_resources/__init__.py
--- old/setuptools-19.6/pkg_resources/__init__.py       2016-01-24 
03:24:02.000000000 +0100
+++ new/setuptools-19.7/pkg_resources/__init__.py       2016-02-01 
03:35:38.000000000 +0100
@@ -46,7 +46,7 @@
     import imp as _imp
 
 from pkg_resources.extern import six
-from pkg_resources.extern.six.moves import urllib, map
+from pkg_resources.extern.six.moves import urllib, map, filter
 
 # capture these to bypass sandboxing
 from os import utime
@@ -77,9 +77,6 @@
 __import__('pkg_resources.extern.packaging.specifiers')
 
 
-filter = six.moves.filter
-map = six.moves.map
-
 if (3, 0) < sys.version_info < (3, 3):
     msg = (
         "Support for Python 3.0-3.2 has been dropped. Future versions "
@@ -1177,22 +1174,23 @@
         old_exc = sys.exc_info()[1]
         cache_path = self.extraction_path or get_default_cache()
 
-        err = ExtractionError("""Can't extract file(s) to egg cache
+        tmpl = textwrap.dedent("""
+            Can't extract file(s) to egg cache
 
-The following error occurred while trying to extract file(s) to the Python egg
-cache:
+            The following error occurred while trying to extract file(s) to 
the Python egg
+            cache:
 
-  %s
+              {old_exc}
 
-The Python egg cache directory is currently set to:
+            The Python egg cache directory is currently set to:
 
-  %s
+              {cache_path}
 
-Perhaps your account does not have write access to this directory?  You can
-change the cache directory by setting the PYTHON_EGG_CACHE environment
-variable to point to an accessible directory.
-""" % (old_exc, cache_path)
-        )
+            Perhaps your account does not have write access to this directory? 
 You can
+            change the cache directory by setting the PYTHON_EGG_CACHE 
environment
+            variable to point to an accessible directory.
+            """).lstrip()
+        err = ExtractionError(tmpl.format(**locals()))
         err.manager = self
         err.cache_path = cache_path
         err.original_error = old_exc
@@ -1728,10 +1726,13 @@
         with open(path, 'rb') as stream:
             return stream.read()
 
-register_loader_type(type(None), DefaultProvider)
+    @classmethod
+    def _register(cls):
+        loader_cls = getattr(importlib_machinery, 'SourceFileLoader',
+            type(None))
+        register_loader_type(loader_cls, cls)
 
-if importlib_machinery is not None:
-    register_loader_type(importlib_machinery.SourceFileLoader, DefaultProvider)
+DefaultProvider._register()
 
 
 class EmptyProvider(NullProvider):
@@ -2137,7 +2138,7 @@
                         break
 register_finder(pkgutil.ImpImporter, find_on_path)
 
-if importlib_machinery is not None:
+if hasattr(importlib_machinery, 'FileFinder'):
     register_finder(importlib_machinery.FileFinder, find_on_path)
 
 _declare_state('dict', _namespace_handlers={})
@@ -2183,18 +2184,27 @@
         path = module.__path__
         path.append(subpath)
         loader.load_module(packageName)
+        _rebuild_mod_path(path, packageName, module)
+    return subpath
 
-        # Rebuild mod.__path__ ensuring that all entries are ordered
-        # corresponding to their sys.path order
-        sys_path= [(p and _normalize_cached(p) or p) for p in sys.path]
-        def sort_key(p):
-            parts = p.split(os.sep)
-            parts = parts[:-(packageName.count('.') + 1)]
-            return sys_path.index(_normalize_cached(os.sep.join(parts)))
 
-        path.sort(key=sort_key)
-        module.__path__[:] = [_normalize_cached(p) for p in path]
-    return subpath
+def _rebuild_mod_path(orig_path, package_name, module):
+    """
+    Rebuild module.__path__ ensuring that all entries are ordered
+    corresponding to their sys.path order
+    """
+    sys_path = [_normalize_cached(p) for p in sys.path]
+    def position_in_sys_path(p):
+        """
+        Return the ordinal of the path based on its position in sys.path
+        """
+        parts = p.split(os.sep)
+        parts = parts[:-(package_name.count('.') + 1)]
+        return sys_path.index(_normalize_cached(os.sep.join(parts)))
+
+    orig_path.sort(key=position_in_sys_path)
+    module.__path__[:] = [_normalize_cached(p) for p in orig_path]
+
 
 def declare_namespace(packageName):
     """Declare that package 'packageName' is a namespace package"""
@@ -2254,7 +2264,7 @@
 register_namespace_handler(pkgutil.ImpImporter, file_ns_handler)
 register_namespace_handler(zipimport.zipimporter, file_ns_handler)
 
-if importlib_machinery is not None:
+if hasattr(importlib_machinery, 'FileFinder'):
     register_namespace_handler(importlib_machinery.FileFinder, file_ns_handler)
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/setuptools-19.6/setuptools/launch.py 
new/setuptools-19.7/setuptools/launch.py
--- old/setuptools-19.6/setuptools/launch.py    2016-01-24 16:05:00.000000000 
+0100
+++ new/setuptools-19.7/setuptools/launch.py    2016-02-01 03:32:22.000000000 
+0100
@@ -10,19 +10,26 @@
 import sys
 
 
-def load():
+def run():
        """
-       Load the script in sys.argv[1] and run it as if it had
+       Run the script in sys.argv[1] as if it had
        been invoked naturally.
        """
-       globals()['__file__'] = sys.argv[1]
+       __builtins__
+       script_name = sys.argv[1]
+       namespace = dict(
+               __file__ = script_name,
+               __name__ = '__main__',
+               __doc__ = None,
+       )
        sys.argv[:] = sys.argv[1:]
 
        open_ = getattr(tokenize, 'open', open)
-       script = open_(__file__).read()
+       script = open_(script_name).read()
        norm_script = script.replace('\\r\\n', '\\n')
-       return compile(norm_script, __file__, 'exec')
+       code = compile(norm_script, script_name, 'exec')
+       exec(code, namespace)
 
 
 if __name__ == '__main__':
-       exec(load())
+       run()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/setuptools-19.6/setuptools/ssl_support.py 
new/setuptools-19.7/setuptools/ssl_support.py
--- old/setuptools-19.6/setuptools/ssl_support.py       2016-01-24 
03:24:02.000000000 +0100
+++ new/setuptools-19.7/setuptools/ssl_support.py       2016-02-03 
14:18:22.000000000 +0100
@@ -25,6 +25,7 @@
 /usr/local/share/certs/ca-root.crt
 /etc/ssl/cert.pem
 /System/Library/OpenSSL/certs/cert.pem
+/usr/local/share/certs/ca-root-nss.crt
 """.strip().split()
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/setuptools-19.6/setuptools/version.py 
new/setuptools-19.7/setuptools/version.py
--- old/setuptools-19.6/setuptools/version.py   2016-01-24 03:28:02.000000000 
+0100
+++ new/setuptools-19.7/setuptools/version.py   2016-02-03 14:20:24.000000000 
+0100
@@ -1 +1 @@
-__version__ = '19.6'
+__version__ = '19.7'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/setuptools-19.6/setuptools.egg-info/PKG-INFO 
new/setuptools-19.7/setuptools.egg-info/PKG-INFO
--- old/setuptools-19.6/setuptools.egg-info/PKG-INFO    2016-01-25 
01:52:17.000000000 +0100
+++ new/setuptools-19.7/setuptools.egg-info/PKG-INFO    2016-02-03 
14:20:29.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: setuptools
-Version: 19.6
+Version: 19.7
 Summary: Easily download, build, install, upgrade, and uninstall Python 
packages
 Home-page: https://bitbucket.org/pypa/setuptools
 Author: Python Packaging Authority


Reply via email to