[BlueBream] python2.6 and zope.app.twisted

Baiju M mbaiju at zeomega.com
Sun Mar 21 00:54:24 EDT 2010


On Sun, Mar 21, 2010 at 1:25 AM, Michael Howitz <mh at gocept.com> wrote:
> Hi,
>
> http://bluebream.zope.org/doc/1.0/gettingstarted.html#preparations tells to use python 2.6 to install bluebream.
> But I get the following errors while installing zope.app.twisted (during buildout of my project):
>
> Getting distribution for 'zope.app.twisted==3.5.0'.
> SyntaxError: ('invalid token', ('build/bdist.macosx-10.6-i386/egg/twisted/conch/ssh/filetransfer.py', 855, 30, 'FILEXFER_ATTR_EXTENDED    = 0x+80000000\n'))
>
> build/bdist.macosx-10.6-i386/egg/twisted/web/microdom.py:157: SyntaxWarning: assertion is always true, perhaps remove parentheses?
>  assert (oldChild.parentNode is self,
> build/bdist.macosx-10.6-i386/egg/twisted/web2/dav/fileop.py:512: SyntaxWarning: assertion is always true, perhaps remove parentheses?
>  assert (
> SyntaxError: ('invalid token', ('/Users/mac/Documents/eggs/tmpHDTQEb/zope.app.twisted-3.5.0-py2.6.egg/twisted/conch/ssh/filetransfer.py', 855, 30, 'FILEXFER_ATTR_EXTENDED    = 0x+80000000\n'))
>
> /Users/mac/Documents/eggs/tmpHDTQEb/zope.app.twisted-3.5.0-py2.6.egg/twisted/web/microdom.py:157: SyntaxWarning: assertion is always true, perhaps remove parentheses?
>  assert (oldChild.parentNode is self,
> /Users/mac/Documents/eggs/tmpHDTQEb/zope.app.twisted-3.5.0-py2.6.egg/twisted/web2/dav/fileop.py:512: SyntaxWarning: assertion is always true, perhaps remove parentheses?
>  assert (
> /Users/mac/Documents/eggs/zope.app.twisted-3.5.0-py2.6.egg/twisted/web/microdom.py:157: SyntaxWarning: assertion is always true, perhaps remove parentheses?
>  assert (oldChild.parentNode is self,
> /Users/mac/Documents/eggs/zope.app.twisted-3.5.0-py2.6.egg/twisted/web2/dav/fileop.py:512: SyntaxWarning: assertion is always true, perhaps remove parentheses?
>  assert (
> Got zope.app.twisted 3.5.0.
>
> Can I savely ignore these errors or should I worry about them?
> Is zope.app.twisted really configured to be used in BlueBream or should it be dropped from being installed by the paster template?

zope.app.twisted is configured to be used with BlueBream, so it can be removed
from dependencies.

For those who are not aware how to remove a dependency, here is more
detailed steps:
1. Open the setup.py and locate install_requires keyword argument.
    The keyword argument will be a list of dependencies.
2. To remove a particular dependency, comment that line or delete it.
    The 'zope.app.twisted' must be the second dependency listed there in BB 1.0
3. Run buildout again

BTW, I am preparing a Blueprint for 1.1 release (Draft):
http://wiki.zope.org/bluebream/RemovalOfDeprecatedPackagesIn11Release
When I am done with that draft, I will send a mail for discussion here.

Regards,
Baiju M


More information about the bluebream mailing list