[tahoe-lafs-trac-stream] [tahoe-lafs] #1435: incompatibility between zope.interface 3.6.3/3.6.4 and Nevow 0.10

tahoe-lafs trac at tahoe-lafs.org
Wed Aug 17 11:29:09 PDT 2011


#1435: incompatibility between zope.interface 3.6.3/3.6.4 and Nevow 0.10
-------------------------+-------------------------------------------------
     Reporter:           |      Owner:  zooko
  davidsarah             |     Status:  reopened
         Type:  defect   |  Milestone:  1.9.0
     Priority:  major    |    Version:  1.8.2
    Component:           |   Keywords:  zope.interface nevow packaging
  packaging              |  setuptools reviewed
   Resolution:           |
Launchpad Bug:  811792   |
-------------------------+-------------------------------------------------
Changes (by zooko):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 That {{{UserWarning}}} is {{{zope.interface}}} warning about the poor
 behavior that {{{Nevow}}} does which caused this bug in the first place
 and that {{{zope.interface}}} currently works around. So I would expect
 that {{{UserWarning}}} to be present in newer version of
 {{{zope.interface}}} when used with {{{Nevow}}} 0.10.0.

 Indeed, it fails with {{{zope.interface}}} 3.7.0:

 {{{
 allmydata.test.test_runner.RunNode.test_client_no_noise
 ===============================================================================
 [FAIL]
 Traceback (most recent call last):
   File "/home/zooko/playground/tahoe-
 lafs/393-2/src/allmydata/test/test_system.py", line 1766, in
 _check_succeeded
     self.failUnlessEqual(err, "")
 twisted.trial.unittest.FailTest: not equal:
 a = "/usr/local/lib/python2.7/dist-packages/zope.interface-3.7.0-py2.7
 -linux-x86_64.egg/zope/interface/interface.py:688: UserWarning: Hashing
 uninitialized InterfaceClass instance\n  warnings.warn('Hashing
 uninitialized InterfaceClass instance')\n"
 b = ''
 }}}

 So, we should probably suppress that {{{UserWarning}}} and relax the
 requirement on {{{zope.interface}}} to {{{<= 3.6.2, >= 3.6.5}}}.

-- 
Ticket URL: <http://tahoe-lafs.org/trac/tahoe-lafs/ticket/1435#comment:27>
tahoe-lafs <http://tahoe-lafs.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list