[Zope-Checkins] SVN: Zope/trunk/ Another round of package updates. These are no direct Zope2 dependencies, but required to run all tests of all direct dependencies

2009-07-01 Thread Hanno Schlichting
Log message for revision 101377:
  Another round of package updates. These are no direct Zope2 dependencies, but 
required to run all tests of all direct dependencies
  

Changed:
  U   Zope/trunk/doc/CHANGES.rst
  U   Zope/trunk/versions.cfg

-=-
Modified: Zope/trunk/doc/CHANGES.rst
===
--- Zope/trunk/doc/CHANGES.rst  2009-07-01 17:24:10 UTC (rev 101376)
+++ Zope/trunk/doc/CHANGES.rst  2009-07-01 17:32:39 UTC (rev 101377)
@@ -24,15 +24,20 @@
 - Updated packages:
 
   - pytz = 2009j
+  - zc.buildout = 1.3.0
   - zope.app.appsetup = 3.12.0
   - zope.app.cache = 3.6.0
   - zope.app.pagetemplate = 3.7.1
   - zope.app.publication = 3.8.1
   - zope.app.publisher = 3.8.3
   - zope.app.testing = 3.7.0
+  - zope.app.wsgi = 3.6.0
+  - zope.app.zcmlfiles = 3.5.5
   - zope.contenttype = 3.4.2
   - zope.dublincore = 3.4.3
   - zope.i18nmessageid = 3.5.0
+  - zope.index = 3.5.2
+  - zope.interface = 3.5.2
   - zope.server = 3.6.0
   - zope.testing = 3.7.5
   - zope.traversing = 3.7.1

Modified: Zope/trunk/versions.cfg
===
--- Zope/trunk/versions.cfg 2009-07-01 17:24:10 UTC (rev 101376)
+++ Zope/trunk/versions.cfg 2009-07-01 17:32:39 UTC (rev 101377)
@@ -20,7 +20,7 @@
 pytz = 2009j
 setuptools = 0.6c9
 transaction = 1.0a1
-zc.buildout = 1.2.1
+zc.buildout = 1.3.0
 zc.lockfile = 1.0.0
 zc.recipe.egg = 1.2.2
 zc.recipe.testrunner = 1.2.0
@@ -59,8 +59,8 @@
 zope.app.securitypolicy = 3.5.1
 zope.app.session = 3.6.0
 zope.app.testing = 3.7.0
-zope.app.wsgi = 3.5.2
-zope.app.zcmlfiles = 3.5.3
+zope.app.wsgi = 3.6.0
+zope.app.zcmlfiles = 3.5.5
 zope.app.zopeappgenerations = 3.5.0
 zope.app.zptpage = 3.5.0
 zope.authentication = 3.7.0
@@ -91,8 +91,8 @@
 zope.hookable = 3.4.1
 zope.i18n = 3.7.0
 zope.i18nmessageid = 3.5.0
-zope.index = 3.5.1
-zope.interface = 3.5.1
+zope.index = 3.5.2
+zope.interface = 3.5.2
 zope.intid = 3.7.0
 zope.keyreference = 3.6.1
 zope.lifecycleevent = 3.5.2

___
Zope-Checkins maillist  -  Zope-Checkins@zope.org
http://mail.zope.org/mailman/listinfo/zope-checkins


[Zope-Checkins] SVN: Zope/trunk/ Added an allpy interpreter that has the same egg set as the alltests script. Changed the checknew script to check all packages found on sys.path, instead of only direc

2009-07-01 Thread Hanno Schlichting
Log message for revision 101376:
  Added an allpy interpreter that has the same egg set as the alltests script. 
Changed the checknew script to check all packages found on sys.path, instead of 
only direct dependencies of Zope2. Otherwise we'll miss out on new releases 
from the test-only dependencies
  

Changed:
  U   Zope/trunk/alltests.cfg
  U   Zope/trunk/inst/checknew.py

-=-
Modified: Zope/trunk/alltests.cfg
===
--- Zope/trunk/alltests.cfg 2009-07-01 16:32:55 UTC (rev 101375)
+++ Zope/trunk/alltests.cfg 2009-07-01 17:24:10 UTC (rev 101376)
@@ -3,7 +3,7 @@
 
 [buildout]
 extends = buildout.cfg
-parts += alltests
+parts += alltests allpy
 
 [alltests]
 recipe = zc.recipe.testrunner
@@ -83,3 +83,10 @@
 
 
 defaults = ['--module', '!^(zope[.]app)[.]']
+
+
+[allpy]
+recipe = zc.recipe.egg
+eggs = ${alltests:eggs}
+interpreter = allpy
+scripts = allpy

Modified: Zope/trunk/inst/checknew.py
===
--- Zope/trunk/inst/checknew.py 2009-07-01 16:32:55 UTC (rev 101375)
+++ Zope/trunk/inst/checknew.py 2009-07-01 17:24:10 UTC (rev 101376)
@@ -10,25 +10,31 @@
 print 'Setting socket time out to %d seconds' % 3
 socket.setdefaulttimeout(3)
 
-ws = pkg_resources.require('Zope2')
-pi = PackageIndex()
+env = pkg_resources.Environment()
+env.scan()
 
 names = []
 installed = []
-for dist in ws:
-name = dist.project_name
-if name not in names:
-names.append(name)
-installed.append(dict(
-dist=dist,
-name=name,
-req=parse_requirements(name).next(),
-))
+for name in env:
+if name == 'python':
+continue
+distributions = env[name]
+for dist in distributions:
+name = dist.project_name
+if name not in names:
+names.append(name)
+installed.append(dict(
+dist=dist,
+name=name,
+req=parse_requirements(name).next(),
+))
 
 def _key(value):
 return value['name']
 installed.sort(key=_key)
 
+pi = PackageIndex()
+
 upgrade = False
 for info in installed:
 print("Checking for new version of %s." % info['name'])
@@ -46,7 +52,8 @@
 
 
 def help():
-print("Use this script via ./bin/zopepy inst/checknew.py.")
+print("Use this script via ./bin/allpy inst/checknew.py.")
+print("You need to use the alltests.cfg config file for buildout.")
 
 
 if __name__ == '__main__':

___
Zope-Checkins maillist  -  Zope-Checkins@zope.org
http://mail.zope.org/mailman/listinfo/zope-checkins