[tahoe-lafs-trac-stream] [Tahoe-LAFS] #2732: upcoming nevow breakage

Tahoe-LAFS trac at tahoe-lafs.org
Tue Feb 16 17:33:47 UTC 2016


#2732: upcoming nevow breakage
-----------------------+------------------------
 Reporter:  warner     |          Owner:  daira
     Type:  defect     |         Status:  new
 Priority:  normal     |      Milestone:  1.10.3
Component:  packaging  |        Version:  1.10.2
 Keywords:             |  Launchpad Bug:
-----------------------+------------------------
 The current version of Nevow (0.12.0) uses a feature of Twisted
 (`request.received_headers`) that was deprecated in Twisted-13.2.0 and
 will be removed entirely in the upcoming Twisted-16.0.0 .

 When it is removed, unit tests (and almost certainly all other
 functionality) will fail with error messages that look like this:

 {{{
   File "/Users/warner/stuff/tahoe/tahoe/ve/lib/python2.7/site-
 packages/twisted/web/http.py", line 1736, in allContentReceived
     req.requestReceived(command, path, version)
   File "/Users/warner/stuff/tahoe/tahoe/src/allmydata/webish.py", line 81,
 in requestReceived
     self.process()
   File "/Users/warner/stuff/tahoe/tahoe/ve/lib/python2.7/site-
 packages/nevow/appserver.py", line 146, in process
     self.fields = cgi.FieldStorage(self.content, self.received_headers,
 exceptions.AttributeError: MyRequest instance has no attribute
 'received_headers'
 }}}

 The Nevow maintainers are aware of this
 [https://github.com/twisted/nevow/issues/53#issuecomment-184691874
 nevow#53], and with luck they'll make a new release before Twisted-16.0.0
 comes out. If so, we just need to add the new Nevow to our deps tarball
 and we're good. We might want to increase our dependency on Nevow as well,
 to force an upgrade.

 This ticket is mostly here in case Twisted releases before Nevow, so we'll
 have an idea of what the problem is.

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


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