Re: [Zope3-dev] Heads up: I'm about to merge the jim-adapter branch
On Wednesday 26 April 2006 20:42, Jim Fulton wrote: I've tested the branch against a major Zope 3 application here at Zope Corporation. In doing so, I've found and fixed lots of backward compatibility issues. I encourage you to try your applications with the trunk after the merge. If you find problems, put them in the collector and we'll fix them as soon as we can. I will start testing the stuff right away. You will probably get reports during the day. Regards, Stephan -- Stephan Richter CBU Physics Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web Software Design, Development and Training ___ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com
[Zope3-dev] Re: [Zope-dev] Reminder: Feature Freeze May 1
--On 21. April 2006 08:55:26 -0400 Jim Fulton [EMAIL PROTECTED] wrote: Don't forget that the feature freeze for the June release is May 1! That is only 10 days away! New features should be check in in a *stable* form by then. While we won't necessarily do a beta release then, anything checked in for the new release must be ready for a beta release when it is checked into the trunk. We need agree on a release schedule. Perhaps we should agree on a schedule on IRC? Andreas -- ZOPYX Ltd. Co. KG - Charlottenstr. 37/1 - 72070 Tübingen - Germany Web: www.zopyx.com - Email: [EMAIL PROTECTED] - Phone +49 - 7071 - 793376 E-Publishing, Python, Zope Plone development, Consulting pgpJJVcyZBBTW.pgp Description: PGP signature ___ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com
Re: [Zope3-dev] Heads up: I'm about to merge the jim-adapter branch
Florian Lindner wrote: Am Donnerstag, 27. April 2006 02:42 schrieb Jim Fulton: I'm about to merge the jim-adapter branch. This branch has three major refactorings on it: My project fails (on zope startup) with: from zope.app.zapi import getUtility, getView, absoluteURL, getMultiAdapter ImportError: cannot import name getView My project is probably easy to fix but it cannot be started right now. Should I file a collector item for that? Yes. Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO (540) 361-1714http://www.python.org Zope Corporation http://www.zope.com http://www.zope.org ___ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com
[Zope3-dev] Zope 3 trunk and Python 2.5a2
I just tried building the Zope 3 trunk with the Python 2.5 alpha 2 that was released a few hours ago. Unfortunately, the testrunner dies in the standard library. This is probably related to changes in the optparse module; it was updated shortly before the release to the latest Optik release. I don't have time to look into it right now, but if someone does, it would be good to figure out if this is a problem in optparse, or in the way we're using it. Here's the traceback I got: python2.5 setup.py \ build_ext -i install_data --install-dir . running build_ext running build_headers running install_data python2.5 test.py -v Traceback (most recent call last): File test.py, line 61, in module result = testrunner.run(defaults) File /home/fdrake/projects/Zope/Zope3-py2.5/src/zope/testing/testrunner.py, line 191, in run options = get_options(args, defaults) File /home/fdrake/projects/Zope/Zope3-py2.5/src/zope/testing/testrunner.py, line 1641, in get_options default_setup, _ = parser.parse_args(default_setup_args) File /home/fdrake/plat/linux/lib/python2.5/optparse.py, line 1376, in parse_args stop = self._process_args(largs, rargs, values) File /home/fdrake/plat/linux/lib/python2.5/optparse.py, line 1416, in _process_args self._process_long_opt(rargs, values) File /home/fdrake/plat/linux/lib/python2.5/optparse.py, line 1491, in _process_long_opt option.process(opt, value, values, self) File /home/fdrake/plat/linux/lib/python2.5/optparse.py, line 774, in processvalue = self.convert_value(opt, value) File /home/fdrake/plat/linux/lib/python2.5/optparse.py, line 766, in convert_value return self.check_value(opt, value) File /home/fdrake/plat/linux/lib/python2.5/optparse.py, line 761, in check_value return checker(self, opt, value) File /home/fdrake/plat/linux/lib/python2.5/optparse.py, line 420, in check_builtin return cvt(value) File /home/fdrake/plat/linux/lib/python2.5/optparse.py, line 407, in _parse_int return _parse_num(val, int) File /home/fdrake/plat/linux/lib/python2.5/optparse.py, line 394, in _parse_num if val[:2].lower() == 0x: # hexadecimal TypeError: unsubscriptable object make: *** [test_inplace] Error 1 -Fred -- Fred L. Drake, Jr.fdrake at gmail.com Don't let schooling interfere with your education. -- Mark Twain ___ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com
Re: [Zope3-dev] Zope 3 trunk and Python 2.5a2
[Fred Drake] I just tried building the Zope 3 trunk with the Python 2.5 alpha 2 that was released a few hours ago. Unfortunately, the testrunner dies in the standard library. This is probably related to changes in the optparse module; it was updated shortly before the release to the latest Optik release. I believe that ;-) The test runner worked with 2.5a1, so the problem you're seeing is definitely new in 2.5a2 (2.5a1 had other problems with Zope3, which should be fixed in 2.5a2 -- although that's hard to check if the tests won't run at all!). ___ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com
[Zope3-dev] Re: Heads up: I'm about to merge the jim-adapter branch
Well, the merge happened last night. As I expected, there were a number of issues that arose after the merge. Various folks have worked valiantly to find and fix problems. Much thanks! I encourage folks to try the trukn with their applications and report problems in the collector: http://www.zope.org/Collectors/Zope3-dev Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO (540) 361-1714http://www.python.org Zope Corporation http://www.zope.com http://www.zope.org ___ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com
Re: [Zope3-dev] Zope 3 trunk and Python 2.5a2
[Fred Drake] I just tried building the Zope 3 trunk with the Python 2.5 alpha 2 that was released a few hours ago. Unfortunately, the testrunner dies in the standard library. This is probably related to changes in the optparse module; it was updated shortly before the release to the latest Optik release. I don't have time to look into it right now, but if someone does, it would be good to figure out if this is a problem in optparse, or in the way we're using it. I can fix it, but that's still a good question. In Zope3's testrunner.py, just change '--at-level', 1, to '--at-level', '1', in the default_setup_args list literal. At the end of your traceback, `val` was the integer 1, but optparse expects to be crunching a string at that point: File /home/fdrake/plat/linux/lib/python2.5/optparse.py, line 394, in _parse_num if val[:2].lower() == 0x: # hexadecimal TypeError: unsubscriptable object ___ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com
Re: [Zope3-dev] Zope 3 trunk and Python 2.5a2
[Tim Peters, on getting the Zope3 testrunner to work w/ 2.5a2] In Zope3's testrunner.py, just change '--at-level', 1, to '--at-level', '1', in the default_setup_args list literal. After that, I don't know how well Zope3's test.py -v is expected to work on Windows these days. It was pretty bad here, ending with Ran 6553 tests with 19 failures and 179 errors A great many of those were repeats of: ... File C:\code\python\lib\linecache.py, line 14, in getline lines = getlines(filename, module_globals) TypeError: __patched_linecache_getlines() takes exactly 2 arguments (3 given) That's because this 2.5a2 patch changed the signature of linecache.getline, which doctest needs to know about, but zope.testing has its own doctest.py: r45248 | phillip.eby | 2006-04-10 21:07:43 -0400 (Mon, 10 Apr 2006) | 4 lines Updated the warnings, linecache, inspect, traceback, site, and doctest modules to work correctly with modules imported from zipfiles or via other PEP 302 __loader__ objects. Tests and doc updates are included. ___ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com
Re: [Zope3-dev] Zope 3 trunk and Python 2.5a2
Tim Peters wrote: File C:\code\python\lib\linecache.py, line 14, in getline lines = getlines(filename, module_globals) TypeError: __patched_linecache_getlines() takes exactly 2 arguments (3 given) I have a fix for that, but can't even get zope.testing's tests to pass with 2.4.3. After I fix that I'll run the zope.testing tests under 2.4 and 2.5 and check in the fix. After that there are some restricted Python failures. We might not bother porting restricted Python to 2.5 and use a different approach altogether, but that'll take more thought. -- Benji York Senior Software Engineer Zope Corporation ___ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com