Ticket #443 (closed enhancement: fixed)

Opened 4 years ago

Last modified 4 years ago

fix 8.2.0 deprecations

Reported by: dustin Owned by:
Priority: major Milestone: 0.7.11
Version: 0.7.10 Keywords: sprint
Cc:

Description

We should fix the deprecation warnings that Twisted-8.2.0 produces before the next release.

/usr/lib/python2.5/warnings.py:41: DeprecationWarning: setUpClass, deprecated since Twisted 8.2.0, was overridden by buildbot.test.test_vc.Mercurial.  Use setUp instead.

and related.

Change History

comment:1 Changed 4 years ago by dustin

  • Keywords sprint added

comment:2 Changed 4 years ago by dustin

  • Status changed from new to closed
  • Resolution set to fixed

I think this one is a bug in twistd.web.distrib, so I'm not going to worry about it

    test_webPathname ...                                                   [OK]
/home/dustin/code/buildbot/t/buildbot/sandbox/lib/python2.5/site-packages/Twisted-8.2.0-py2.5-linux-x86_64.egg/twisted/application/internet.py:116: DeprecationWarning: The mode parameter of IReactorUNIX.listenUNIX will be removed.  Do not pass a value for it.  Set permissions on the containing directory before calling IReactorUNIX.listenUNIX, instead.

As for the rest:

commit 2410d7d9360bb2d0a5b15621825c4c39f84d143c
Author: Dustin J. Mitchell <dustin@zmanda.com>
Date:   Mon Mar 30 23:25:33 2009 -0400

    (refs #443) fix deprecations in tests with Twisted-8.2.0
Note: See TracTickets for help on using tickets.