[Buildbot-devel] test failure with 0.7.8, Python 2.5 and Twisted 2.1.0 on OS X 10.4

Jean-Paul Calderone exarkun at divmod.com
Tue Aug 5 13:44:28 UTC 2008


On Tue, 5 Aug 2008 08:50:13 -0400, Charles Lepple <clepple at gmail.com> wrote:
>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?

There were 5 major releases between 2.1 to 8.1 so it's likely something
somewhere will break, even though we try very hard to preserve backward
compatibility.  With such a large span of time between the two releases
there was time for APIs to have been deprecated, left in place for more
than a year and then deleted which is ostensibly the policy for Twisted
development.  In practice, things tend to stay around for more than one
year, but three is pushing things.

The jump from 2.5 to 8.0 was a change in the versioning scheme used, in
terms of compatibility it was the same as 2.4 to 2.5.

Jean-Paul




More information about the devel mailing list