[Checkins] SVN: z3c.recipe.filetemplate/trunk/ remove sorting of paths. a bad idea.

Gary Poster gary at modernsongs.com
Mon May 4 14:27:03 EDT 2009


Log message for revision 99730:
  remove sorting of paths.  a bad idea.

Changed:
  U   z3c.recipe.filetemplate/trunk/CHANGES.txt
  U   z3c.recipe.filetemplate/trunk/setup.py
  U   z3c.recipe.filetemplate/trunk/z3c/recipe/filetemplate/__init__.py

-=-
Modified: z3c.recipe.filetemplate/trunk/CHANGES.txt
===================================================================
--- z3c.recipe.filetemplate/trunk/CHANGES.txt	2009-05-04 17:14:49 UTC (rev 99729)
+++ z3c.recipe.filetemplate/trunk/CHANGES.txt	2009-05-04 18:27:03 UTC (rev 99730)
@@ -2,11 +2,18 @@
 Changes
 =======
 
-2.1 (unreleased)
-================
 
+2.0.2 (2009-05-04)
+==================
 
+-----
+Fixes
+-----
 
+- Turns out sorting paths was a bad idea.  They are already in a deterministic
+  order, AFAICT, because of the order or processing dependencies.  Sorting
+  them makes them *less* deterministic in practice, across machines.
+
 2.0.1 (2009-04-30)
 ==================
 

Modified: z3c.recipe.filetemplate/trunk/setup.py
===================================================================
--- z3c.recipe.filetemplate/trunk/setup.py	2009-05-04 17:14:49 UTC (rev 99729)
+++ z3c.recipe.filetemplate/trunk/setup.py	2009-05-04 18:27:03 UTC (rev 99730)
@@ -19,7 +19,7 @@
     return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
 
 setup(name='z3c.recipe.filetemplate',
-      version = '2.1dev',
+      version = '2.0.2',
       license='ZPL 2.1',
       url='http://pypi.python.org/pypi/z3c.recipe.filetemplate',
       description="zc.buildout recipe for creating files from file templates",

Modified: z3c.recipe.filetemplate/trunk/z3c/recipe/filetemplate/__init__.py
===================================================================
--- z3c.recipe.filetemplate/trunk/z3c/recipe/filetemplate/__init__.py	2009-05-04 17:14:49 UTC (rev 99729)
+++ z3c.recipe.filetemplate/trunk/z3c/recipe/filetemplate/__init__.py	2009-05-04 18:27:03 UTC (rev 99730)
@@ -50,7 +50,6 @@
             all_paths = [
                 zc.buildout.easy_install.realpath(dist.location)
                 for dist in ws]
-            all_paths.sort()
             all_paths.extend(
                 zc.buildout.easy_install.realpath(path)
                 for path in self.eggs.extra_paths)



More information about the Checkins mailing list