Opened 13 years ago

Closed 13 years ago

#166 closed defect (fixed)

DeprecationWarnings on startup

Reported by: Zooko Owned by:
Priority: major Milestone: 0.6.0
Component: unknown Version: 0.5.1
Keywords: Cc:

Description

There is a new version of Twisted out, which means it is time to update foolscap to deal with new deprecations:

Zooko-Ofsimplegeos-MacBook-Pro:logs pubvolgrid$ tahoe start 
STARTING '/Users/pubvolgrid/.tahoe'
/Library/Python/2.6/site-packages/foolscap-0.5.1-py2.6.egg/foolscap/pb.py:48: DeprecationWarning: twisted.application.strports.parse was deprecated in Twisted 10.2.0: in favor of twisted.internet.endpoints.serverFromString
  name, args, kw = strports.parse(port, None)
/Library/Python/2.6/site-packages/foolscap-0.5.1-py2.6.egg/foolscap/pb.py:56: DeprecationWarning: Unqualified strport description passed to 'service'.Use qualified endpoint descriptions; for example, 'tcp:52607'.
  self.s = strports.service(port, self)

Change History (1)

comment:1 Changed 13 years ago by Brian Warner

Milestone: undecided0.6.0
Resolution: fixed
Status: newclosed

This was fixed in the 0.6.0 release, by [628c8eecdc3b3990d4082c095d8b01e7cd006a9f], which removes the use of strports.parse and strports.service. (If I'd paid attention to this ticket earlier, we probably could have avoided #167).

Note: See TracTickets for help on using tickets.