[Buildbot-devel] test failure with 0.7.8, Python 2.5 and Twisted 2.1.0 on OS X 10.4
Charles Lepple
clepple at gmail.com
Tue Aug 5 12:50:13 UTC 2008
On Aug 5, 2008, at 8:36 AM, Jean-Paul Calderone wrote:
>>> $ PYTHONPATH=. trial buildbot.test
>>> [...]
>>> [ERROR]: buildbot.test.test_slaves.Slave2.testFirstComeFirstServed
>>>
>>> [snip]
>>> File "/sw/lib/python2.5/site-packages/twisted/spread/jelly.py",
>>> line
>>> 512, in jelly
>>> (objType, obj))
>>> <class 'twisted.spread.jelly.InsecureJelly'>: Type not allowed for
>>> object: <type 'type'> <class 'buildbot.slave.bot.FailPingError'>
>>>
>
> This is due to an incompatible change made in Python 2.5. The test
> (and so the behavior) should work with Python 2.4 or with a newer
> version of Twisted (2.5 or newer, I think, but 8.1 would be safest)
> which accounts for the change.
>
> There were half a dozen or so other incompatibilities in Python 2.5.
> It'd probably be best to get a newer version of Twisted or an older
> version of Python into Fink.
Jean-Paul,
thanks for the heads-up. I will ping the Fink lists to see if anyone
would have a problem with upgrading Twisted. (There is currently no
maintainer for Twisted in Fink.) Do you know offhand if the 8.1
upgrade breaks any interfaces, or for that matter, why the version
number jumped so much?
At the moment, Buildbot can work with Python 2.3, 2.4 or 2.5 on Fink,
but the older Python versions are being phased out.
--
Charles Lepple
clepple at gmail
More information about the devel
mailing list