[Checkins] SVN: z3c.checkversions/trunk/ Ignore installed packages while searching for new versions.

Marius Gedminas cvs-admin at zope.org
Mon Jun 11 09:10:09 UTC 2012


Log message for revision 126703:
  Ignore installed packages while searching for new versions.
  
  This makes the test suite more reliable, among other things.

Changed:
  U   z3c.checkversions/trunk/CHANGELOG.txt
  U   z3c.checkversions/trunk/z3c/checkversions/base.py

-=-
Modified: z3c.checkversions/trunk/CHANGELOG.txt
===================================================================
--- z3c.checkversions/trunk/CHANGELOG.txt	2012-06-11 09:09:53 UTC (rev 126702)
+++ z3c.checkversions/trunk/CHANGELOG.txt	2012-06-11 09:10:06 UTC (rev 126703)
@@ -4,8 +4,10 @@
 0.5 (unreleased)
 ----------------
 
-- print old version comment on a separate line to make generated output usable in
-  buildout.
+- print old version comment on a separate line to make generated output usable
+  in buildout.
+- ignore installed packages while searching for new versions, only look in
+  the package index (makes the test suite more reliable, among other things).
 
 0.4.1 (2010-08-25)
 ------------------

Modified: z3c.checkversions/trunk/z3c/checkversions/base.py
===================================================================
--- z3c.checkversions/trunk/z3c/checkversions/base.py	2012-06-11 09:09:53 UTC (rev 126702)
+++ z3c.checkversions/trunk/z3c/checkversions/base.py	2012-06-11 09:10:06 UTC (rev 126703)
@@ -51,7 +51,7 @@
                         for line in open(blacklist).readlines() if '=' in line])
         else:
             self.blacklist = set()
-        self.pi = package_index.PackageIndex()
+        self.pi = package_index.PackageIndex(search_path=())
         self._set_index_url(index_url)
         if index_url is not None:
             self.__custom_url = True



More information about the checkins mailing list