I've gotten the ztk kgs tests to pass with Python 2.5 on Mac OS X.
I've got them mostly passing with on Python 2.6. 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.
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
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
Hi,
I have removed that profiler for python2.6 My understanding of the python api is, that we were using an undocumented feature to merge two hotshot profiler results. Since nobody maintains hotshot any longer, there probably won't be anybody adding this feature officially.
Tests on 2.6 work for me now.
Best regards,
Patrick
On Sun, Aug 16, 2009 at 18:02, Marius Gedminas marius@gedmin.as wrote:
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
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux)
iD8DBQFKiC2bkVdEXeem148RAqBqAJ9OzOs54teKwKNZnFKzgu8oOVmYhwCdEx6B uEo3hYRB9E1rbXZ7AW+gp8c= =nlZQ -----END PGP SIGNATURE-----
Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
On Tue, Sep 15, 2009 at 12:08 PM, Patrick Gerken do3ccqrv@googlemail.com wrote:
Hi,
I have removed that profiler for python2.6 My understanding of the python api is, that we were using an undocumented feature to merge two hotshot profiler results. Since nobody maintains hotshot any longer, there probably won't be anybody adding this feature officially.
Tests on 2.6 work for me now.
Thanks. That's probably the right first step. Does this mean we're permanently removing this feature? That would be OK with me.
Jim
Yes, I would say so.
This http://zope3.pov.lt/trac/browser/zope.testing/trunk/src/zope/testing/testrun...
Was never an official feature, also I did not see an obvious alternative http://www.python.org/doc/2.4.4/lib/profile-stats.html
Apart from that, hotshot is now unmaintained and might be removed http://www.python.org/doc/2.6.2/library/hotshot.html
We still have the cProfile Profiler. It seems that hotshots focus was on faster profiling, but I don't see an issue here, since nobody runs a profiler in his production environments.
Best regards,
Patrick
On Tue, Sep 15, 2009 at 21:21, Jim Fulton jim@zope.com wrote:
On Tue, Sep 15, 2009 at 12:08 PM, Patrick Gerken do3ccqrv@googlemail.com wrote:
Hi,
I have removed that profiler for python2.6 My understanding of the python api is, that we were using an undocumented feature to merge two hotshot profiler results. Since nobody maintains hotshot any longer, there probably won't be anybody adding this feature officially.
Tests on 2.6 work for me now.
Thanks. That's probably the right first step. Does this mean we're permanently removing this feature? That would be OK with me.
Jim
-- Jim Fulton