Hello community,

here is the log from the commit of package python3-setuptools for 
openSUSE:Factory checked in at 2015-04-22 01:13:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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-04-07 09:26:57.000000000 +0200
+++ 
/work/SRC/openSUSE:Factory/.python3-setuptools.new/python3-setuptools.changes   
    2015-04-22 01:13:05.000000000 +0200
@@ -1,0 +2,7 @@
+Thu Apr 16 19:43:41 UTC 2015 - [email protected]
+
+- update to version 15.1:
+  * Updated Packaging to 15.1 to address Packaging #28.
+  * Fix "setuptools.sandbox._execfile()" with Python 3.1.
+
+-------------------------------------------------------------------

Old:
----
  setuptools-15.0.tar.gz

New:
----
  setuptools-15.1.tar.gz

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

Other differences:
------------------
++++++ python3-setuptools.spec ++++++
--- /var/tmp/diff_new_pack.Pc94yq/_old  2015-04-22 01:13:06.000000000 +0200
+++ /var/tmp/diff_new_pack.Pc94yq/_new  2015-04-22 01:13:06.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           python3-setuptools
-Version:        15.0
+Version:        15.1
 Release:        0
 Url:            http://pypi.python.org/pypi/setuptools
 Summary:        Easily download, build, install, upgrade, and uninstall Python 
packages

++++++ setuptools-15.0.tar.gz -> setuptools-15.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/setuptools-15.0/CHANGES.txt 
new/setuptools-15.1/CHANGES.txt
--- old/setuptools-15.0/CHANGES.txt     2015-04-04 00:25:33.000000000 +0200
+++ new/setuptools-15.1/CHANGES.txt     2015-04-15 15:01:36.000000000 +0200
@@ -3,6 +3,13 @@
 =======
 
 ----
+15.1
+----
+
+* Updated Packaging to 15.1 to address Packaging #28.
+* Fix ``setuptools.sandbox._execfile()`` with Python 3.1.
+
+----
 15.0
 ----
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/setuptools-15.0/PKG-INFO new/setuptools-15.1/PKG-INFO
--- old/setuptools-15.0/PKG-INFO        2015-04-04 00:26:11.000000000 +0200
+++ new/setuptools-15.1/PKG-INFO        2015-04-15 15:16:31.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: setuptools
-Version: 15.0
+Version: 15.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-15.0/docs/conf.py 
new/setuptools-15.1/docs/conf.py
--- old/setuptools-15.0/docs/conf.py    2015-03-28 15:55:49.000000000 +0100
+++ new/setuptools-15.1/docs/conf.py    2015-04-15 15:00:38.000000000 +0200
@@ -242,6 +242,10 @@
                                pattern=r"Pip #(?P<pip>\d+)",
                                url='{GH}/pypa/pip/issues/{pip}',
                        ),
+                       dict(
+                               pattern=r"Packaging #(?P<packaging>\d+)",
+                               url='{GH}/pypa/packaging/issues/{packaging}',
+                       ),
                ],
        ),
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/setuptools-15.0/ez_setup.py 
new/setuptools-15.1/ez_setup.py
--- old/setuptools-15.0/ez_setup.py     2015-03-28 16:07:10.000000000 +0100
+++ new/setuptools-15.1/ez_setup.py     2015-04-04 00:26:40.000000000 +0200
@@ -30,7 +30,7 @@
 except ImportError:
     USER_SITE = None
 
-DEFAULT_VERSION = "15.0"
+DEFAULT_VERSION = "15.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-15.0/pkg_resources/__init__.py 
new/setuptools-15.1/pkg_resources/__init__.py
--- old/setuptools-15.0/pkg_resources/__init__.py       2015-03-28 
15:55:54.000000000 +0100
+++ new/setuptools-15.1/pkg_resources/__init__.py       2015-04-04 
00:34:27.000000000 +0200
@@ -2528,7 +2528,7 @@
         if not is_legacy:
             return
 
-        # While an empty version is techincally a legacy version and
+        # While an empty version is technically a legacy version and
         # is not a valid PEP 440 version, it's also unlikely to
         # actually come from someone and instead it is more likely that
         # it comes from setuptools attempting to parse a filename and
@@ -2542,7 +2542,7 @@
             non PEP 440,
             version. You may find odd behavior and sort order.
             In particular it will be sorted as less than 0.0. It
-            is recommend to migrate to PEP 440 compatible
+            is recommended to migrate to PEP 440 compatible
             versions.
             """).strip().replace('\n', ' ')
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/setuptools-15.0/pkg_resources/_vendor/packaging/__about__.py 
new/setuptools-15.1/pkg_resources/_vendor/packaging/__about__.py
--- old/setuptools-15.0/pkg_resources/_vendor/packaging/__about__.py    
2015-03-28 15:55:49.000000000 +0100
+++ new/setuptools-15.1/pkg_resources/_vendor/packaging/__about__.py    
2015-04-15 15:00:38.000000000 +0200
@@ -22,7 +22,7 @@
 __summary__ = "Core utilities for Python packages"
 __uri__ = "https://github.com/pypa/packaging";
 
-__version__ = "15.0"
+__version__ = "15.1"
 
 __author__ = "Donald Stufft"
 __email__ = "[email protected]"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/setuptools-15.0/pkg_resources/_vendor/packaging/specifiers.py 
new/setuptools-15.1/pkg_resources/_vendor/packaging/specifiers.py
--- old/setuptools-15.0/pkg_resources/_vendor/packaging/specifiers.py   
2015-03-28 15:55:50.000000000 +0100
+++ new/setuptools-15.1/pkg_resources/_vendor/packaging/specifiers.py   
2015-04-15 15:00:38.000000000 +0200
@@ -673,10 +673,14 @@
         if self._prereleases is not None:
             return self._prereleases
 
+        # If we don't have any specifiers, and we don't have a forced value,
+        # then we'll just return None since we don't know if this should have
+        # pre-releases or not.
+        if not self._specs:
+            return None
+
         # Otherwise we'll see if any of the given specifiers accept
         # prereleases, if any of them do we'll return True, otherwise False.
-        # Note: The use of any() here means that an empty set of specifiers
-        #       will always return False, this is an explicit design decision.
         return any(s.prereleases for s in self._specs)
 
     @prereleases.setter
@@ -688,27 +692,21 @@
         if not isinstance(item, (LegacyVersion, Version)):
             item = parse(item)
 
+        # Determine if we're forcing a prerelease or not, if we're not forcing
+        # one for this particular filter call, then we'll use whatever the
+        # SpecifierSet thinks for whether or not we should support prereleases.
+        if prereleases is None:
+            prereleases = self.prereleases
+
         # We can determine if we're going to allow pre-releases by looking to
         # see if any of the underlying items supports them. If none of them do
         # and this item is a pre-release then we do not allow it and we can
         # short circuit that here.
         # Note: This means that 1.0.dev1 would not be contained in something
         #       like >=1.0.devabc however it would be in >=1.0.debabc,>0.0.dev0
-        if (not (self.prereleases or prereleases)) and item.is_prerelease:
+        if not prereleases and item.is_prerelease:
             return False
 
-        # Determine if we're forcing a prerelease or not, we bypass
-        # self.prereleases here and use self._prereleases because we want to
-        # only take into consideration actual *forced* values. The underlying
-        # specifiers will handle the other logic.
-        # The logic here is: If prereleases is anything but None, we'll just
-        #                    go aheand and continue to use that. However if
-        #                    prereleases is None, then we'll use whatever the
-        #                    value of self._prereleases is as long as it is not
-        #                    None itself.
-        if prereleases is None and self._prereleases is not None:
-            prereleases = self._prereleases
-
         # We simply dispatch to the underlying specs here to make sure that the
         # given version is contained within all of them.
         # Note: This use of all() here means that an empty set of specifiers
@@ -719,24 +717,18 @@
         )
 
     def filter(self, iterable, prereleases=None):
-        # Determine if we're forcing a prerelease or not, we bypass
-        # self.prereleases here and use self._prereleases because we want to
-        # only take into consideration actual *forced* values. The underlying
-        # specifiers will handle the other logic.
-        # The logic here is: If prereleases is anything but None, we'll just
-        #                    go aheand and continue to use that. However if
-        #                    prereleases is None, then we'll use whatever the
-        #                    value of self._prereleases is as long as it is not
-        #                    None itself.
-        if prereleases is None and self._prereleases is not None:
-            prereleases = self._prereleases
+        # Determine if we're forcing a prerelease or not, if we're not forcing
+        # one for this particular filter call, then we'll use whatever the
+        # SpecifierSet thinks for whether or not we should support prereleases.
+        if prereleases is None:
+            prereleases = self.prereleases
 
         # If we have any specifiers, then we want to wrap our iterable in the
         # filter method for each one, this will act as a logical AND amongst
         # each specifier.
         if self._specs:
             for spec in self._specs:
-                iterable = spec.filter(iterable, prereleases=prereleases)
+                iterable = spec.filter(iterable, prereleases=bool(prereleases))
             return iterable
         # If we do not have any specifiers, then we need to have a rough filter
         # which will filter out any pre-releases, unless there are no final
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/setuptools-15.0/pkg_resources/_vendor/vendored.txt 
new/setuptools-15.1/pkg_resources/_vendor/vendored.txt
--- old/setuptools-15.0/pkg_resources/_vendor/vendored.txt      2015-03-28 
15:55:50.000000000 +0100
+++ new/setuptools-15.1/pkg_resources/_vendor/vendored.txt      2015-04-15 
15:00:38.000000000 +0200
@@ -1 +1 @@
-packaging==15.0
+packaging==15.1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/setuptools-15.0/setuptools/command/easy_install.py 
new/setuptools-15.1/setuptools/command/easy_install.py
--- old/setuptools-15.0/setuptools/command/easy_install.py      2015-03-28 
15:55:54.000000000 +0100
+++ new/setuptools-15.1/setuptools/command/easy_install.py      2015-04-04 
00:34:27.000000000 +0200
@@ -152,7 +152,7 @@
     create_index = PackageIndex
 
     def initialize_options(self):
-        # the --user option seemst to be an opt-in one,
+        # the --user option seems to be an opt-in one,
         # so the default should be False.
         self.user = 0
         self.zip_ok = self.local_snapshots_ok = None
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/setuptools-15.0/setuptools/sandbox.py 
new/setuptools-15.1/setuptools/sandbox.py
--- old/setuptools-15.0/setuptools/sandbox.py   2015-03-28 15:55:51.000000000 
+0100
+++ new/setuptools-15.1/setuptools/sandbox.py   2015-04-04 00:34:27.000000000 
+0200
@@ -34,12 +34,12 @@
     Python 3 implementation of execfile.
     """
     mode = 'rb'
-    # Python 2.6 compile requires LF for newlines, so use deprecated
-    #  Universal newlines support.
-    if sys.version_info < (2, 7):
-        mode += 'U'
     with open(filename, mode) as stream:
         script = stream.read()
+    # compile() function in Python 2.6 and 3.1 requires LF line endings.
+    if sys.version_info[:2] < (2, 7) or sys.version_info[:2] >= (3, 0) and 
sys.version_info[:2] < (3, 2):
+        script = script.replace(b'\r\n', b'\n')
+        script = script.replace(b'\r', b'\n')
     if locals is None:
         locals = globals
     code = compile(script, filename, 'exec')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/setuptools-15.0/setuptools/tests/test_integration.py 
new/setuptools-15.1/setuptools/tests/test_integration.py
--- old/setuptools-15.0/setuptools/tests/test_integration.py    2015-03-28 
15:55:51.000000000 +0100
+++ new/setuptools-15.1/setuptools/tests/test_integration.py    2015-04-15 
15:00:38.000000000 +0200
@@ -28,7 +28,7 @@
     try:
         urlopen('https://pypi.python.org/pypi')
     except Exception as exc:
-        pytest.skip(reason=str(exc))
+        pytest.skip(str(exc))
 
 
 @pytest.fixture
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/setuptools-15.0/setuptools/version.py 
new/setuptools-15.1/setuptools/version.py
--- old/setuptools-15.0/setuptools/version.py   2015-03-28 16:07:10.000000000 
+0100
+++ new/setuptools-15.1/setuptools/version.py   2015-04-04 00:26:40.000000000 
+0200
@@ -1 +1 @@
-__version__ = '15.0'
+__version__ = '15.1'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/setuptools-15.0/setuptools.egg-info/PKG-INFO 
new/setuptools-15.1/setuptools.egg-info/PKG-INFO
--- old/setuptools-15.0/setuptools.egg-info/PKG-INFO    2015-04-04 
00:26:09.000000000 +0200
+++ new/setuptools-15.1/setuptools.egg-info/PKG-INFO    2015-04-15 
15:16:27.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: setuptools
-Version: 15.0
+Version: 15.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