[Zope-dev] Update on ztk kgs: Python 2.6 issues

Marius Gedminas marius at gedmin.as
Sun Aug 16 12:02:39 EDT 2009


On Sat, Aug 15, 2009 at 06:55:17PM -0400, Jim Fulton wrote:
> I've gotten the ztk kgs tests to pass with Python 2.5 on Mac OS X.

Yay!

> I've got them mostly passing with on Python 2.6.

Double yay!

> The only failure I'm
> getting is for zope.testing and it's due to a Python 2.6 hotshot bug:
> 
>   http://bugs.python.org/issue6710
> 
> I'm not sure what to do about this. Perhaps I should disable this
> test, or maybe even the feature for Python 2.6.

Sounds about right.  Python 2.6 has cProfile, which is (supposedly)
better than hotshot.

> When building, I'm getting some deprecation warnings:
> 
> /Users/jim/.buildout/eggs/infrae.subversion-1.4.5-py2.6.egg/infrae/subversion/Common.py:4:
> DeprecationWarning: the sets module is deprecated
>   from sets import Set            # For python 2.3 compatibility
> /Users/jim/.buildout/eggs/z3c.recipe.compattest-0.7-py2.6.egg/z3c/recipe/compattest/recipe.py:4:
> DeprecationWarning: The popen2 module is deprecated.  Use the
> subprocess module.
>   import popen2
> 
> It would be great if someone would fix these. :)
> 
> When running the tests, the only deprecation warnings are from
> twisted, which we can't do anything about.
> 
> BTW, if you want to try this yourself, use the buildout at:
> 
>   svn://svn.zope.org/repos/main/zopetoolkit/branches/jim-kgs/kgs
> 
> Jim

Marius Gedminas
-- 
http://pov.lt/ -- Zope 3 consulting and development
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mail.zope.org/pipermail/zope-dev/attachments/20090816/6d73d7de/attachment.bin 


More information about the Zope-Dev mailing list