Hello community,

here is the log from the commit of package python3-setuptools for 
openSUSE:Factory checked in at 2016-12-02 16:40:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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-11-08 18:25:21.000000000 +0100
+++ 
/work/SRC/openSUSE:Factory/.python3-setuptools.new/python3-setuptools.changes   
    2016-12-02 16:40:35.000000000 +0100
@@ -1,0 +2,17 @@
+Wed Nov 30 18:52:53 UTC 2016 - [email protected]
+
+- update to version 29.0.1:
+  * #861: Re-release of v29.0.1 with the executable script launchers
+    bundled. Now, launchers are included by default and users that
+    want to disable this behavior must set the environment variable
+    'SETUPTOOLS_INSTALL_WINDOWS_SPECIFIC_FILES' to a false value like
+    "false" or "0".
+
+-------------------------------------------------------------------
+Sat Nov 26 17:54:23 UTC 2016 - [email protected]
+
+- update to version 29.0.0:
+  * #841: Drop special exception for packages invoking win32com during
+    the build/install process. See Distribute #118 for history.
+
+-------------------------------------------------------------------

Old:
----
  setuptools-28.8.0.tar.gz

New:
----
  setuptools-29.0.1.tar.gz

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

Other differences:
------------------
++++++ python3-setuptools.spec ++++++
--- /var/tmp/diff_new_pack.dDaoT7/_old  2016-12-02 16:40:36.000000000 +0100
+++ /var/tmp/diff_new_pack.dDaoT7/_new  2016-12-02 16:40:36.000000000 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           python3-setuptools
-Version:        28.8.0
+Version:        29.0.1
 Release:        0
 Url:            http://pypi.python.org/pypi/setuptools
 Summary:        Easily download, build, install, upgrade, and uninstall Python 
packages

++++++ setuptools-28.8.0.tar.gz -> setuptools-29.0.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/setuptools-28.8.0/CHANGES.rst 
new/setuptools-29.0.1/CHANGES.rst
--- old/setuptools-28.8.0/CHANGES.rst   2016-11-04 20:37:16.000000000 +0100
+++ new/setuptools-29.0.1/CHANGES.rst   2016-11-27 04:27:44.000000000 +0100
@@ -2,6 +2,23 @@
 CHANGES
 =======
 
+v29.0.1
+-------
+
+* #861: Re-release of v29.0.1 with the executable script
+  launchers bundled. Now, launchers are included by default
+  and users that want to disable this behavior must set the
+  environment variable
+  'SETUPTOOLS_INSTALL_WINDOWS_SPECIFIC_FILES' to
+  a false value like "false" or "0".
+
+v29.0.0
+-------
+
+* #841: Drop special exception for packages invoking
+  win32com during the build/install process. See
+  Distribute #118 for history.
+
 v28.8.0
 -------
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/setuptools-28.8.0/PKG-INFO 
new/setuptools-29.0.1/PKG-INFO
--- old/setuptools-28.8.0/PKG-INFO      2016-11-04 20:38:51.000000000 +0100
+++ new/setuptools-29.0.1/PKG-INFO      2016-11-27 04:34:46.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: setuptools
-Version: 28.8.0
+Version: 29.0.1
 Summary: Easily download, build, install, upgrade, and uninstall Python 
packages
 Home-page: https://github.com/pypa/setuptools
 Author: Python Packaging Authority
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/setuptools-28.8.0/setup.cfg 
new/setuptools-29.0.1/setup.cfg
--- old/setuptools-28.8.0/setup.cfg     2016-11-04 20:38:51.000000000 +0100
+++ new/setuptools-29.0.1/setup.cfg     2016-11-27 04:34:46.000000000 +0100
@@ -1,5 +1,5 @@
 [bumpversion]
-current_version = 28.8.0
+current_version = 29.0.1
 commit = True
 tag = True
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/setuptools-28.8.0/setup.py 
new/setuptools-29.0.1/setup.py
--- old/setuptools-28.8.0/setup.py      2016-11-04 20:37:16.000000000 +0100
+++ new/setuptools-29.0.1/setup.py      2016-11-27 04:28:45.000000000 +0100
@@ -54,8 +54,8 @@
 )
 
 force_windows_specific_files = (
-    os.environ.get("SETUPTOOLS_INSTALL_WINDOWS_SPECIFIC_FILES")
-    not in (None, "", "0")
+    os.environ.get("SETUPTOOLS_INSTALL_WINDOWS_SPECIFIC_FILES", "1").lower()
+    not in ("", "0", "false", "no")
 )
 
 include_windows_files = (
@@ -85,7 +85,7 @@
 
 setup_params = dict(
     name="setuptools",
-    version="28.8.0",
+    version="29.0.1",
     description="Easily download, build, install, upgrade, and uninstall "
         "Python packages",
     author="Python Packaging Authority",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/setuptools-28.8.0/setuptools/sandbox.py 
new/setuptools-29.0.1/setuptools/sandbox.py
--- old/setuptools-28.8.0/setuptools/sandbox.py 2016-11-04 20:37:16.000000000 
+0100
+++ new/setuptools-29.0.1/setuptools/sandbox.py 2016-11-26 05:56:52.000000000 
+0100
@@ -373,14 +373,6 @@
 else:
     _EXCEPTIONS = []
 
-try:
-    from win32com.client.gencache import GetGeneratePath
-    _EXCEPTIONS.append(GetGeneratePath())
-    del GetGeneratePath
-except ImportError:
-    # it appears pywin32 is not installed, so no need to exclude.
-    pass
-
 
 class DirectorySandbox(AbstractSandbox):
     """Restrict operations to a single subdirectory - pseudo-chroot"""
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/setuptools-28.8.0/setuptools/tests/namespaces.py 
new/setuptools-29.0.1/setuptools/tests/namespaces.py
--- old/setuptools-28.8.0/setuptools/tests/namespaces.py        1970-01-01 
01:00:00.000000000 +0100
+++ new/setuptools-29.0.1/setuptools/tests/namespaces.py        2016-11-26 
05:56:52.000000000 +0100
@@ -0,0 +1,42 @@
+from __future__ import absolute_import, unicode_literals
+
+import textwrap
+
+
+def build_namespace_package(tmpdir, name):
+    src_dir = tmpdir / name
+    src_dir.mkdir()
+    setup_py = src_dir / 'setup.py'
+    namespace, sep, rest = name.partition('.')
+    script = textwrap.dedent("""
+        import setuptools
+        setuptools.setup(
+            name={name!r},
+            version="1.0",
+            namespace_packages=[{namespace!r}],
+            packages=[{namespace!r}],
+        )
+        """).format(**locals())
+    setup_py.write_text(script, encoding='utf-8')
+    ns_pkg_dir = src_dir / namespace
+    ns_pkg_dir.mkdir()
+    pkg_init = ns_pkg_dir / '__init__.py'
+    tmpl = '__import__("pkg_resources").declare_namespace({namespace!r})'
+    decl = tmpl.format(**locals())
+    pkg_init.write_text(decl, encoding='utf-8')
+    pkg_mod = ns_pkg_dir / (rest + '.py')
+    some_functionality = 'name = {rest!r}'.format(**locals())
+    pkg_mod.write_text(some_functionality, encoding='utf-8')
+    return src_dir
+
+
+def make_site_dir(target):
+    """
+    Add a sitecustomize.py module in target to cause
+    target to be added to site dirs such that .pth files
+    are processed there.
+    """
+    sc = target / 'sitecustomize.py'
+    target_str = str(target)
+    tmpl = '__import__("site").addsitedir({target_str!r})'
+    sc.write_text(tmpl.format(**locals()), encoding='utf-8')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/setuptools-28.8.0/setuptools/tests/test_namespaces.py 
new/setuptools-29.0.1/setuptools/tests/test_namespaces.py
--- old/setuptools-28.8.0/setuptools/tests/test_namespaces.py   1970-01-01 
01:00:00.000000000 +0100
+++ new/setuptools-29.0.1/setuptools/tests/test_namespaces.py   2016-11-27 
04:27:00.000000000 +0100
@@ -0,0 +1,52 @@
+from __future__ import absolute_import, unicode_literals
+
+import os
+import sys
+import subprocess
+
+import pytest
+
+from . import namespaces
+
+
+class TestNamespaces:
+
+    @pytest.mark.xfail(sys.version_info < (3, 3),
+        reason="Requires PEP 420")
+    @pytest.mark.skipif('os.environ.get("APPVEYOR")',
+        reason="https://github.com/pypa/setuptools/issues/851";)
+    def test_mixed_site_and_non_site(self, tmpdir):
+        """
+        Installing two packages sharing the same namespace, one installed
+        to a site dir and the other installed just to a path on PYTHONPATH
+        should leave the namespace in tact and both packages reachable by
+        import.
+        """
+        pkg_A = namespaces.build_namespace_package(tmpdir, 'myns.pkgA')
+        pkg_B = namespaces.build_namespace_package(tmpdir, 'myns.pkgB')
+        site_packages = tmpdir / 'site-packages'
+        path_packages = tmpdir / 'path-packages'
+        targets = site_packages, path_packages
+        python_path = os.pathsep.join(map(str, targets))
+        # use pip to install to the target directory
+        install_cmd = [
+            'pip',
+            'install',
+            str(pkg_A),
+            '-t', str(site_packages),
+        ]
+        subprocess.check_call(install_cmd)
+        namespaces.make_site_dir(site_packages)
+        install_cmd = [
+            'pip',
+            'install',
+            str(pkg_B),
+            '-t', str(path_packages),
+        ]
+        subprocess.check_call(install_cmd)
+        try_import = [
+            sys.executable,
+            '-c', 'import myns.pkgA; import myns.pkgB',
+        ]
+        env = dict(PYTHONPATH=python_path)
+        subprocess.check_call(try_import, env=env)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/setuptools-28.8.0/setuptools/tests/test_sandbox.py 
new/setuptools-29.0.1/setuptools/tests/test_sandbox.py
--- old/setuptools-28.8.0/setuptools/tests/test_sandbox.py      2016-11-04 
20:37:17.000000000 +0100
+++ new/setuptools-29.0.1/setuptools/tests/test_sandbox.py      2016-11-26 
05:56:52.000000000 +0100
@@ -23,22 +23,6 @@
 
         return do_write
 
-    def test_win32com(self, tmpdir):
-        """
-        win32com should not be prevented from caching COM interfaces
-        in gen_py.
-        """
-        win32com = pytest.importorskip('win32com')
-        gen_py = win32com.__gen_path__
-        target = os.path.join(gen_py, 'test_write')
-        sandbox = DirectorySandbox(str(tmpdir))
-        try:
-            # attempt to create gen_py file
-            sandbox.run(self._file_writer(target))
-        finally:
-            if os.path.exists(target):
-                os.remove(target)
-
     def test_setup_py_with_BOM(self):
         """
         It should be possible to execute a setup.py with a Byte Order Mark
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/setuptools-28.8.0/setuptools.egg-info/PKG-INFO 
new/setuptools-29.0.1/setuptools.egg-info/PKG-INFO
--- old/setuptools-28.8.0/setuptools.egg-info/PKG-INFO  2016-11-04 
20:38:51.000000000 +0100
+++ new/setuptools-29.0.1/setuptools.egg-info/PKG-INFO  2016-11-27 
04:34:46.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: setuptools
-Version: 28.8.0
+Version: 29.0.1
 Summary: Easily download, build, install, upgrade, and uninstall Python 
packages
 Home-page: https://github.com/pypa/setuptools
 Author: Python Packaging Authority
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/setuptools-28.8.0/setuptools.egg-info/SOURCES.txt 
new/setuptools-29.0.1/setuptools.egg-info/SOURCES.txt
--- old/setuptools-28.8.0/setuptools.egg-info/SOURCES.txt       2016-11-04 
20:38:51.000000000 +0100
+++ new/setuptools-29.0.1/setuptools.egg-info/SOURCES.txt       2016-11-27 
04:34:46.000000000 +0100
@@ -116,6 +116,7 @@
 setuptools/tests/environment.py
 setuptools/tests/files.py
 setuptools/tests/fixtures.py
+setuptools/tests/namespaces.py
 setuptools/tests/py26compat.py
 setuptools/tests/script-with-bom.py
 setuptools/tests/server.py
@@ -132,6 +133,7 @@
 setuptools/tests/test_integration.py
 setuptools/tests/test_manifest.py
 setuptools/tests/test_msvc.py
+setuptools/tests/test_namespaces.py
 setuptools/tests/test_packageindex.py
 setuptools/tests/test_sandbox.py
 setuptools/tests/test_sdist.py
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/setuptools-28.8.0/setuptools.egg-info/entry_points.txt 
new/setuptools-29.0.1/setuptools.egg-info/entry_points.txt
--- old/setuptools-28.8.0/setuptools.egg-info/entry_points.txt  2016-11-04 
20:38:51.000000000 +0100
+++ new/setuptools-29.0.1/setuptools.egg-info/entry_points.txt  2016-11-27 
04:34:46.000000000 +0100
@@ -1,6 +1,6 @@
 [console_scripts]
 easy_install = setuptools.command.easy_install:main
-easy_install-3.5 = setuptools.command.easy_install:main
+easy_install-3.6 = setuptools.command.easy_install:main
 
 [distutils.commands]
 alias = setuptools.command.alias:alias


Reply via email to