Hello community,

here is the log from the commit of package python-zc.buildout for 
openSUSE:Factory checked in at 2018-03-11 15:25:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-zc.buildout (Old)
 and      /work/SRC/openSUSE:Factory/.python-zc.buildout.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-zc.buildout"

Sun Mar 11 15:25:37 2018 rev:5 rq:585154 version:2.11.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-zc.buildout/python-zc.buildout.changes    
2018-01-29 15:00:27.950089219 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-zc.buildout.new/python-zc.buildout.changes   
    2018-03-11 15:25:38.918360005 +0100
@@ -1,0 +2,8 @@
+Fri Mar  2 19:17:01 UTC 2018 - sebix+novell....@sebix.at
+
+- update to version 2.11.1:
+ - Made upgrade check more robust. When using extensions, the improvement
+   introduced in 2.11 could prevent buildout from restarting itself when it
+   upgraded setuptools.
+
+-------------------------------------------------------------------

Old:
----
  zc.buildout-2.11.0.tar.gz

New:
----
  zc.buildout-2.11.1.tar.gz

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

Other differences:
------------------
++++++ python-zc.buildout.spec ++++++
--- /var/tmp/diff_new_pack.XxthMC/_old  2018-03-11 15:25:39.658333458 +0100
+++ /var/tmp/diff_new_pack.XxthMC/_new  2018-03-11 15:25:39.662333315 +0100
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %{!?license: %global license %doc}
 Name:           python-zc.buildout
-Version:        2.11.0
+Version:        2.11.1
 Release:        0
 Url:            http://pypi.python.org/pypi/zc.buildout
 Summary:        System for managing development buildouts

++++++ zc.buildout-2.11.0.tar.gz -> zc.buildout-2.11.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zc.buildout-2.11.0/CHANGES.rst 
new/zc.buildout-2.11.1/CHANGES.rst
--- old/zc.buildout-2.11.0/CHANGES.rst  2018-01-21 17:16:41.000000000 +0100
+++ new/zc.buildout-2.11.1/CHANGES.rst  2018-03-01 22:43:17.000000000 +0100
@@ -1,6 +1,14 @@
 Change History
 **************
 
+2.11.1 (2018-03-01)
+===================
+
+- Made upgrade check more robust. When using extensions, the improvement
+  introduced in 2.11 could prevent buildout from restarting itself when it
+  upgraded setuptools.
+
+
 2.11.0 (2018-01-21)
 ===================
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zc.buildout-2.11.0/PKG-INFO 
new/zc.buildout-2.11.1/PKG-INFO
--- old/zc.buildout-2.11.0/PKG-INFO     2018-01-21 17:16:42.000000000 +0100
+++ new/zc.buildout-2.11.1/PKG-INFO     2018-03-01 22:43:18.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: zc.buildout
-Version: 2.11.0
+Version: 2.11.1
 Summary: System for managing development buildouts
 Home-page: http://buildout.org
 Author: Jim Fulton
@@ -64,6 +64,14 @@
         Change History
         **************
         
+        2.11.1 (2018-03-01)
+        ===================
+        
+        - Made upgrade check more robust. When using extensions, the 
improvement
+          introduced in 2.11 could prevent buildout from restarting itself 
when it
+          upgraded setuptools.
+        
+        
         2.11.0 (2018-01-21)
         ===================
         
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zc.buildout-2.11.0/setup.py 
new/zc.buildout-2.11.1/setup.py
--- old/zc.buildout-2.11.0/setup.py     2018-01-21 17:16:41.000000000 +0100
+++ new/zc.buildout-2.11.1/setup.py     2018-03-01 22:43:17.000000000 +0100
@@ -12,7 +12,7 @@
 #
 ##############################################################################
 name = "zc.buildout"
-version = '2.11.0'
+version = '2.11.1'
 
 import os
 from setuptools import setup
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zc.buildout-2.11.0/src/zc/buildout/buildout.py 
new/zc.buildout-2.11.1/src/zc/buildout/buildout.py
--- old/zc.buildout-2.11.0/src/zc/buildout/buildout.py  2018-01-21 
17:16:41.000000000 +0100
+++ new/zc.buildout-2.11.1/src/zc/buildout/buildout.py  2018-03-01 
22:43:17.000000000 +0100
@@ -571,7 +571,8 @@
             if dist.precedence == pkg_resources.DEVELOP_DIST:
                 dest = os.path.join(self['buildout']['develop-eggs-directory'],
                                     dist.key + '.egg-link')
-                open(dest, 'w').write(dist.location)
+                with open(dest, 'w') as fh:
+                    fh.write(dist.location)
                 entries.append(dist.location)
             else:
                 dest = os.path.join(self['buildout']['eggs-directory'],
@@ -1082,10 +1083,13 @@
             )
 
         upgraded = []
+        # The setuptools/zc.buildout locations at the time we started was
+        # recorded in easy_install.py. We use that here to check if we've been
+        # upgraded.
+        start_locations = zc.buildout.easy_install.buildout_and_setuptools_path
         for project in 'zc.buildout', 'setuptools':
             req = pkg_resources.Requirement.parse(project)
-            project_location = pkg_resources.working_set.find(req).location
-            if ws.find(req).location != project_location:
+            if ws.find(req).location not in start_locations:
                 upgraded.append(ws.find(req))
 
         if not upgraded:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zc.buildout-2.11.0/src/zc.buildout.egg-info/PKG-INFO 
new/zc.buildout-2.11.1/src/zc.buildout.egg-info/PKG-INFO
--- old/zc.buildout-2.11.0/src/zc.buildout.egg-info/PKG-INFO    2018-01-21 
17:16:42.000000000 +0100
+++ new/zc.buildout-2.11.1/src/zc.buildout.egg-info/PKG-INFO    2018-03-01 
22:43:18.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: zc.buildout
-Version: 2.11.0
+Version: 2.11.1
 Summary: System for managing development buildouts
 Home-page: http://buildout.org
 Author: Jim Fulton
@@ -64,6 +64,14 @@
         Change History
         **************
         
+        2.11.1 (2018-03-01)
+        ===================
+        
+        - Made upgrade check more robust. When using extensions, the 
improvement
+          introduced in 2.11 could prevent buildout from restarting itself 
when it
+          upgraded setuptools.
+        
+        
         2.11.0 (2018-01-21)
         ===================
         


Reply via email to