[tahoe-lafs-trac-stream] [tahoe-lafs] #1564: DeprecationWarning in sftpd.py against Twisted >11.0

tahoe-lafs trac at tahoe-lafs.org
Sun Oct 16 10:44:56 PDT 2011


#1564: DeprecationWarning in sftpd.py against Twisted >11.0
--------------------+---------------------------
 Reporter:  warner  |          Owner:  somebody
     Type:  defect  |         Status:  new
 Priority:  minor   |      Milestone:  undecided
Component:  code    |        Version:  1.9.0b1
 Keywords:          |  Launchpad Bug:
--------------------+---------------------------
 I ran the tahoe test suite against current Twisted trunk, to see what
 happens. I got one test failure (addressed elsewhere) and one deprecation:

 {{{
 334:warner at Cookies% PYTHONPATH=~/stuff/python/twisted/trunk make quicktest
 python bin/tahoe debug trial  allmydata
 /Users/warner2/stuff/tahoe/trunk-
 foolscap/src/allmydata/frontends/sftpd.py:25: DeprecationWarning:
 twisted.internet.interfaces.IFinishableConsumer was deprecated in Twisted
 11.1.0: Please use IConsumer (and IConsumer.unregisterProducer) instead.
   from twisted.internet.interfaces import IFinishableConsumer
 }}}

 Is it possible to change sftpd.py to follow their advice and still remain
 compatible with our current spec of Twisted >= 10.1.0 ?

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


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