Hello community,

here is the log from the commit of package python3-setuptools for 
openSUSE:Factory checked in at 2015-07-16 17:14:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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    
2015-06-17 16:16:13.000000000 +0200
+++ 
/work/SRC/openSUSE:Factory/.python3-setuptools.new/python3-setuptools.changes   
    2015-07-16 17:14:40.000000000 +0200
@@ -1,0 +2,29 @@
+Tue Jun 30 22:17:11 UTC 2015 - [email protected]
+
+- update to version 18.0.1:
+  * Issue #401: Fix failure in test suite.
+
+- changes from version 18.0.0:
+  * Dropped support for builds with Pyrex. Only Cython is supported.
+  * Issue #288: Detect Cython later in the build process, after
+      "setup_requires" dependencies are resolved.
+      Projects backed by Cython can now be readily built
+      with a ``setup_requires`` dependency. For example::
+
+      ext = setuptools.Extension('mylib', ['src/CythonStuff.pyx', 
'src/CStuff.c'])
+          setuptools.setup(
+               ...
+                       ext_modules=[ext],
+                               setup_requires=['cython'],
+                                   )
+
+      For compatibility with older versions of setuptools, packagers should
+      still include ``src/CythonMod.c`` in the source distributions or
+      require that Cython be present before building source distributions.
+      However, for systems with this build of setuptools, Cython will be
+      downloaded on demand.
+  * Issue #396: Fixed test failure on OS X.
+  * Pull Request #136: Remove excessive quoting from shebang headers
+    for Jython.
+
+-------------------------------------------------------------------

Old:
----
  setuptools-17.1.1.tar.gz

New:
----
  setuptools-18.0.1.tar.gz

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

Other differences:
------------------
++++++ python3-setuptools.spec ++++++
--- /var/tmp/diff_new_pack.zgqn8N/_old  2015-07-16 17:14:40.000000000 +0200
+++ /var/tmp/diff_new_pack.zgqn8N/_new  2015-07-16 17:14:40.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           python3-setuptools
-Version:        17.1.1
+Version:        18.0.1
 Release:        0
 Url:            http://pypi.python.org/pypi/setuptools
 Summary:        Easily download, build, install, upgrade, and uninstall Python 
packages
@@ -50,8 +50,6 @@
 %setup -q -n setuptools-%{version}
 %patch1 -p0
 find . -type f -name "*.orig" -delete
-#TODO(saschpe): drop failing test for the time being, fix later..
-rm setuptools/tests/test_sdist.py
 
 %build
 python3 setup.py build

++++++ setuptools-17.1.1.tar.gz -> setuptools-18.0.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/setuptools-17.1.1/CHANGES.txt 
new/setuptools-18.0.1/CHANGES.txt
--- old/setuptools-17.1.1/CHANGES.txt   2015-06-08 19:28:47.000000000 +0200
+++ new/setuptools-18.0.1/CHANGES.txt   2015-06-24 22:58:42.000000000 +0200
@@ -3,6 +3,38 @@
 =======
 
 ------
+18.0.1
+------
+
+* Issue #401: Fix failure in test suite.
+
+----
+18.0
+----
+
+* Dropped support for builds with Pyrex. Only Cython is supported.
+* Issue #288: Detect Cython later in the build process, after
+  ``setup_requires`` dependencies are resolved.
+  Projects backed by Cython can now be readily built
+  with a ``setup_requires`` dependency. For example::
+
+    ext = setuptools.Extension('mylib', ['src/CythonStuff.pyx', 
'src/CStuff.c'])
+    setuptools.setup(
+        ...
+        ext_modules=[ext],
+        setup_requires=['cython'],
+    )
+
+  For compatibility with older versions of setuptools, packagers should
+  still include ``src/CythonMod.c`` in the source distributions or
+  require that Cython be present before building source distributions.
+  However, for systems with this build of setuptools, Cython will be
+  downloaded on demand.
+* Issue #396: Fixed test failure on OS X.
+* Pull Request #136: Remove excessive quoting from shebang headers
+  for Jython.
+
+------
 17.1.1
 ------
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/setuptools-17.1.1/PKG-INFO 
new/setuptools-18.0.1/PKG-INFO
--- old/setuptools-17.1.1/PKG-INFO      2015-06-08 19:36:29.000000000 +0200
+++ new/setuptools-18.0.1/PKG-INFO      2015-06-24 22:59:54.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: setuptools
-Version: 17.1.1
+Version: 18.0.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.1/ez_setup.py 
new/setuptools-18.0.1/ez_setup.py
--- old/setuptools-17.1.1/ez_setup.py   2015-06-08 19:36:24.000000000 +0200
+++ new/setuptools-18.0.1/ez_setup.py   2015-06-24 22:59:47.000000000 +0200
@@ -30,7 +30,7 @@
 except ImportError:
     USER_SITE = None
 
-DEFAULT_VERSION = "17.1.1"
+DEFAULT_VERSION = "18.0.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.1/setuptools/command/build_ext.py 
new/setuptools-18.0.1/setuptools/command/build_ext.py
--- old/setuptools-17.1.1/setuptools/command/build_ext.py       2015-05-10 
00:36:35.000000000 +0200
+++ new/setuptools-18.0.1/setuptools/command/build_ext.py       2015-06-18 
14:36:06.000000000 +0200
@@ -11,8 +11,8 @@
 from setuptools.extension import Library
 
 try:
-    # Attempt to use Pyrex for building extensions, if available
-    from Pyrex.Distutils.build_ext import build_ext as _build_ext
+    # Attempt to use Cython for building extensions, if available
+    from Cython.Distutils.build_ext import build_ext as _build_ext
 except ImportError:
     _build_ext = _du_build_ext
 
@@ -42,7 +42,6 @@
 
 if_dl = lambda s: s if have_rtld else ''
 
-
 class build_ext(_build_ext):
     def run(self):
         """Build extensions in build directory, then copy if --inplace"""
@@ -74,15 +73,6 @@
             if ext._needs_stub:
                 self.write_stub(package_dir or os.curdir, ext, True)
 
-    if _build_ext is not _du_build_ext and not hasattr(_build_ext,
-                                                       'pyrex_sources'):
-        # Workaround for problems using some Pyrex versions w/SWIG and/or 2.4
-        def swig_sources(self, sources, *otherargs):
-            # first do any Pyrex processing
-            sources = _build_ext.swig_sources(self, sources) or sources
-            # Then do any actual SWIG stuff on the remainder
-            return _du_build_ext.swig_sources(self, sources, *otherargs)
-
     def get_ext_filename(self, fullname):
         filename = _build_ext.get_ext_filename(self, fullname)
         if fullname in self.ext_map:
@@ -176,6 +166,7 @@
         return _build_ext.get_export_symbols(self, ext)
 
     def build_extension(self, ext):
+        ext._convert_pyx_sources_to_lang()
         _compiler = self.compiler
         try:
             if isinstance(ext, Library):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/setuptools-17.1.1/setuptools/command/easy_install.py 
new/setuptools-18.0.1/setuptools/command/easy_install.py
--- old/setuptools-17.1.1/setuptools/command/easy_install.py    2015-06-08 
19:24:12.000000000 +0200
+++ new/setuptools-18.0.1/setuptools/command/easy_install.py    2015-06-18 
14:36:06.000000000 +0200
@@ -1944,15 +1944,6 @@
             __import__('java').lang.System.getProperty('os.name') != 'Linux'
         )
 
-    @classmethod
-    def from_environment(cls):
-        string = '"' + cls._sys_executable() + '"'
-        return cls.from_string(string)
-
-    @classmethod
-    def from_string(cls, string):
-        return cls([string])
-
     def as_header(self):
         """
         Workaround Jython's sys.executable being a .sh (an invalid
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/setuptools-17.1.1/setuptools/extension.py 
new/setuptools-18.0.1/setuptools/extension.py
--- old/setuptools-17.1.1/setuptools/extension.py       2015-05-10 
00:36:35.000000000 +0200
+++ new/setuptools-18.0.1/setuptools/extension.py       2015-06-18 
14:36:06.000000000 +0200
@@ -12,35 +12,33 @@
 
 msvc9_support.patch_for_specialized_compiler()
 
-def have_pyrex():
+def _have_cython():
     """
-    Return True if Cython or Pyrex can be imported.
+    Return True if Cython can be imported.
     """
-    pyrex_impls = 'Cython.Distutils.build_ext', 'Pyrex.Distutils.build_ext'
-    for pyrex_impl in pyrex_impls:
-        try:
-            # from (pyrex_impl) import build_ext
-            __import__(pyrex_impl, fromlist=['build_ext']).build_ext
-            return True
-        except Exception:
-            pass
+    cython_impl = 'Cython.Distutils.build_ext',
+    try:
+        # from (cython_impl) import build_ext
+        __import__(cython_impl, fromlist=['build_ext']).build_ext
+        return True
+    except Exception:
+        pass
     return False
 
+# for compatibility
+have_pyrex = _have_cython
+
 
 class Extension(_Extension):
     """Extension that uses '.c' files in place of '.pyx' files"""
 
-    def __init__(self, *args, **kw):
-        _Extension.__init__(self, *args, **kw)
-        self._convert_pyx_sources_to_lang()
-
     def _convert_pyx_sources_to_lang(self):
         """
         Replace sources with .pyx extensions to sources with the target
         language extension. This mechanism allows language authors to supply
         pre-converted sources but to prefer the .pyx sources.
         """
-        if have_pyrex():
+        if _have_cython():
             # the build has Cython, so allow it to compile the .pyx files
             return
         lang = self.language or ''
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/setuptools-17.1.1/setuptools/tests/test_easy_install.py 
new/setuptools-18.0.1/setuptools/tests/test_easy_install.py
--- old/setuptools-17.1.1/setuptools/tests/test_easy_install.py 2015-05-10 
00:36:35.000000000 +0200
+++ new/setuptools-18.0.1/setuptools/tests/test_easy_install.py 2015-06-24 
02:19:42.000000000 +0200
@@ -488,9 +488,11 @@
         cmd_new = ei.CommandSpec.from_param(cmd)
         assert cmd is cmd_new
 
+    @mock.patch('sys.executable', TestScriptHeader.exe_with_spaces)
+    @mock.patch.dict(os.environ)
     def test_from_environment_with_spaces_in_executable(self):
-        with mock.patch('sys.executable', TestScriptHeader.exe_with_spaces):
-            cmd = ei.CommandSpec.from_environment()
+        os.environ.pop('__PYVENV_LAUNCHER__', None)
+        cmd = ei.CommandSpec.from_environment()
         assert len(cmd) == 1
         assert cmd.as_header().startswith('#!"')
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/setuptools-17.1.1/setuptools/version.py 
new/setuptools-18.0.1/setuptools/version.py
--- old/setuptools-17.1.1/setuptools/version.py 2015-06-08 19:36:24.000000000 
+0200
+++ new/setuptools-18.0.1/setuptools/version.py 2015-06-24 22:59:47.000000000 
+0200
@@ -1 +1 @@
-__version__ = '17.1.1'
+__version__ = '18.0.1'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/setuptools-17.1.1/setuptools.egg-info/PKG-INFO 
new/setuptools-18.0.1/setuptools.egg-info/PKG-INFO
--- old/setuptools-17.1.1/setuptools.egg-info/PKG-INFO  2015-06-08 
19:36:28.000000000 +0200
+++ new/setuptools-18.0.1/setuptools.egg-info/PKG-INFO  2015-06-24 
22:59:53.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: setuptools
-Version: 17.1.1
+Version: 18.0.1
 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