Hello community, here is the log from the commit of package python-setuptools for openSUSE:Factory checked in at 2015-07-02 22:45:07 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-setuptools (Old) and /work/SRC/openSUSE:Factory/.python-setuptools.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-setuptools" Changes: -------- --- /work/SRC/openSUSE:Factory/python-setuptools/python-setuptools.changes 2015-06-17 16:15:04.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python-setuptools.new/python-setuptools.changes 2015-07-02 22:45:08.000000000 +0200 @@ -1,0 +2,7 @@ +Mon Jun 22 15:26:18 UTC 2015 - tbechtold@suse.com + +- update to 17.1.1: + * Backed out unintended changes to pkg_resources, restoring removal of + deprecated imp module + +------------------------------------------------------------------- Old: ---- setuptools-17.1.tar.gz New: ---- setuptools-17.1.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-setuptools.spec ++++++ --- /var/tmp/diff_new_pack.YmjF0W/_old 2015-07-02 22:45:09.000000000 +0200 +++ /var/tmp/diff_new_pack.YmjF0W/_new 2015-07-02 22:45:09.000000000 +0200 @@ -17,7 +17,7 @@ Name: python-setuptools -Version: 17.1 +Version: 17.1.1 Release: 0 Url: http://pypi.python.org/pypi/setuptools Summary: Easily download, build, install, upgrade, and uninstall Python packages ++++++ setuptools-17.1.tar.gz -> setuptools-17.1.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setuptools-17.1/CHANGES.txt new/setuptools-17.1.1/CHANGES.txt --- old/setuptools-17.1/CHANGES.txt 2015-06-07 16:36:44.000000000 +0200 +++ new/setuptools-17.1.1/CHANGES.txt 2015-06-08 19:28:47.000000000 +0200 @@ -2,6 +2,14 @@ CHANGES ======= +------ +17.1.1 +------ + +* Backed out unintended changes to pkg_resources, restoring removal of + deprecated imp module (`ref + https://bitbucket.org/pypa/setuptools/commits/f572ec9563d647fa8d4ffc534f2af8...`_). + ---- 17.1 ---- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setuptools-17.1/PKG-INFO new/setuptools-17.1.1/PKG-INFO --- old/setuptools-17.1/PKG-INFO 2015-06-07 16:38:08.000000000 +0200 +++ new/setuptools-17.1.1/PKG-INFO 2015-06-08 19:36:29.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: setuptools -Version: 17.1 +Version: 17.1.1 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-17.1/ez_setup.py new/setuptools-17.1.1/ez_setup.py --- old/setuptools-17.1/ez_setup.py 2015-05-29 04:23:34.000000000 +0200 +++ new/setuptools-17.1.1/ez_setup.py 2015-06-08 19:36:24.000000000 +0200 @@ -30,7 +30,7 @@ except ImportError: USER_SITE = None -DEFAULT_VERSION = "17.1" +DEFAULT_VERSION = "17.1.1" DEFAULT_URL = "https://pypi.python.org/packages/source/s/setuptools/" DEFAULT_SAVE_DIR = os.curdir diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setuptools-17.1/pkg_resources/__init__.py new/setuptools-17.1.1/pkg_resources/__init__.py --- old/setuptools-17.1/pkg_resources/__init__.py 2015-06-07 16:06:01.000000000 +0200 +++ new/setuptools-17.1.1/pkg_resources/__init__.py 2015-06-08 19:24:14.000000000 +0200 @@ -21,7 +21,7 @@ import io import time import re -import imp +import types import zipfile import zipimport import warnings @@ -39,6 +39,12 @@ import textwrap from pkgutil import get_importer +try: + import _imp +except ImportError: + # Python 3.2 compatibility + import imp as _imp + PY3 = sys.version_info > (3,) PY2 = not PY3 @@ -2167,7 +2173,7 @@ return None module = sys.modules.get(packageName) if module is None: - module = sys.modules[packageName] = imp.new_module(packageName) + module = sys.modules[packageName] = types.ModuleType(packageName) module.__path__ = [] _set_parent_ns(packageName) elif not hasattr(module,'__path__'): @@ -2186,7 +2192,7 @@ def declare_namespace(packageName): """Declare that package 'packageName' is a namespace package""" - imp.acquire_lock() + _imp.acquire_lock() try: if packageName in _namespace_packages: return @@ -2213,18 +2219,18 @@ _handle_ns(packageName, path_item) finally: - imp.release_lock() + _imp.release_lock() def fixup_namespace_packages(path_item, parent=None): """Ensure that previously-declared namespace packages include path_item""" - imp.acquire_lock() + _imp.acquire_lock() try: for package in _namespace_packages.get(parent,()): subpath = _handle_ns(package, path_item) if subpath: fixup_namespace_packages(subpath, package) finally: - imp.release_lock() + _imp.release_lock() def file_ns_handler(importer, path_item, packageName, module): """Compute an ns-package subpath for a filesystem or zipfile importer""" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setuptools-17.1/setuptools/version.py new/setuptools-17.1.1/setuptools/version.py --- old/setuptools-17.1/setuptools/version.py 2015-05-29 04:23:34.000000000 +0200 +++ new/setuptools-17.1.1/setuptools/version.py 2015-06-08 19:36:24.000000000 +0200 @@ -1 +1 @@ -__version__ = '17.1' +__version__ = '17.1.1' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setuptools-17.1/setuptools.egg-info/PKG-INFO new/setuptools-17.1.1/setuptools.egg-info/PKG-INFO --- old/setuptools-17.1/setuptools.egg-info/PKG-INFO 2015-06-07 16:38:07.000000000 +0200 +++ new/setuptools-17.1.1/setuptools.egg-info/PKG-INFO 2015-06-08 19:36:28.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: setuptools -Version: 17.1 +Version: 17.1.1 Summary: Easily download, build, install, upgrade, and uninstall Python packages Home-page: https://bitbucket.org/pypa/setuptools Author: Python Packaging Authority