[tahoe-lafs-trac-stream] [tahoe-lafs] #1740: new zope.interface deprecation warning about "implements()"

tahoe-lafs trac at tahoe-lafs.org
Thu May 17 00:50:09 UTC 2012


#1740: new zope.interface deprecation warning about "implements()"
--------------------+---------------------------
 Reporter:  warner  |          Owner:
     Type:  defect  |         Status:  new
 Priority:  normal  |      Milestone:  undecided
Component:  code    |        Version:  1.9.1
 Keywords:          |  Launchpad Bug:
--------------------+---------------------------
 One of the buildslaves just started failing tests,
 [https://tahoe-lafs.org/buildbot-tahoe-
 lafs/builders/MM%20netbsd5%20i386%20warp/builds/76 here].
 The tests that assert {{{tahoe start}}} doesn't emit a lot of noise
 is catching the following deprecation warnings:

 {{{
 src/allmydata/web/directory.py:1113: DeprecationWarning:
 The implements API is deprecated, and will not work in Python3 Use
 the @implementer class decorator instead.
   implements(IPushProducer)
 }}}

 My guess is that there's a new version of zope.interface installed
 on that box, and it's starting to work on py3 compatibility.

 We need to find out what versions of zope.interface offer the
 suggested replacement decorator, decide if we can tolerate being
 limited to those versions, then update everything (twisted,
 foolscap, nevow, tahoe) to use the replacement.

 In other words, we need to either enforce a older-than dependency
 restriction to avoid ever using the newer zope.interface, or add a
 warning-suppression to make this noise go away :-). Actually,
 that's more like :-(.

-- 
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/1740>
tahoe-lafs <https://tahoe-lafs.org>
secure decentralized storage


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