Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#224 closed defect (fixed)

need Twisted 14 compatibility

Reported by: dawuud Owned by:
Priority: major Milestone: 0.6.5
Component: packaging Version: 0.6.4
Keywords: twisted Cc: zooko@…

Description

I noticed a while back that Foolscap doesn't fully support Twisted 14... This unit test, foolscap.test.test_promise fails :

[ERROR] Traceback (most recent call last):

File "/home/human/virtenv-foolscap/local/lib/python2.7/site-packages/twisted/trial/runner.py", line 498, in loadPackage

module = modinfo.load()

File "/home/human/virtenv-foolscap/local/lib/python2.7/site-packages/twisted/python/modules.py", line 383, in load

return self.pathEntry.pythonPath.moduleLoader(self.name)

File "/home/human/virtenv-foolscap/local/lib/python2.7/site-packages/twisted/python/reflect.py", line 303, in namedAny

topLevelPackage = _importAndCheckStack(trialname)

File "/home/human/virtenv-foolscap/local/lib/python2.7/site-packages/twisted/python/reflect.py", line 242, in _importAndCheckStack

return import(importName)

File "/home/human/projects/foolscap-master/foolscap/test/test_promise.py", line 5, in <module>

from foolscap.promise import makePromise, send, sendOnly, when, UsageError?

File "/home/human/projects/foolscap-master/foolscap/promise.py", line 8, in <module>

id = util.unsignedID

exceptions.AttributeError?: 'module' object has no attribute 'unsignedID'

foolscap.test.test_promise

Change History (4)

comment:1 Changed 10 years ago by Zooko

Cc: zooko@… added

comment:2 Changed 10 years ago by davidsarah

See also https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=755339. There is a patch there that has been applied to the foolscap package in Debian {testing, unstable}, but I don't know whether it is correct.

comment:3 Changed 10 years ago by davidsarah

Resolution: fixed
Status: newclosed

comment:4 Changed 10 years ago by davidsarah

Component: unknownpackaging
Keywords: twisted added
Milestone: undecided0.6.5
Note: See TracTickets for help on using tickets.