[tahoe-lafs-trac-stream] [tahoe-lafs] #1564: DeprecationWarning in sftpd.py against Twisted >11.0
tahoe-lafs
trac at tahoe-lafs.org
Sat Nov 24 19:46:48 UTC 2012
#1564: DeprecationWarning in sftpd.py against Twisted >11.0
-------------------------------+--------------------------------------
Reporter: warner | Owner: davidsarah
Type: defect | Status: closed
Priority: minor | Milestone: 1.10.0
Component: code-frontend | Version: 1.9.0b1
Resolution: duplicate | Keywords: sftp deprecation twisted
Launchpad Bug: |
-------------------------------+--------------------------------------
Old description:
> 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 ?
New description:
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 ?
--
Comment (by davidsarah):
This is actually a duplicate of #1295.
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/1564#comment:6>
tahoe-lafs <https://tahoe-lafs.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list