Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#7689 closed defect (fixed)

Deprecation Warning

Reported by: ragasa Owned by: ragasa
Priority: normal Component: DownloadsPlugin
Severity: normal Keywords: downloads, python
Cc: jordi@… Trac Release: 0.12


I used to use DownloadsPlugin with Trac 0.11 but after upgrading to 0.12 I'm getting this problem when I try to install DownloadsPlugin 3 for Trac 0.12. I read somewhere that sets got deprecated at Python 2.6.

/usr/local/lib/python2.6/dist-packages/TracDownloads-0.3-py2.6.egg/tracdownloads/ DeprecationWarning: the sets module is deprecated
  import sets

Attachments (0)

Change History (5)

comment:1 Changed 4 years ago by ragasa

made it work by removing the line

import sets

at the I don't know what problem it will cause but for now it works.

comment:2 Changed 4 years ago by ragasa

  • Owner changed from Blackhex to ragasa

comment:3 Changed 4 years ago by ragasa

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

comment:4 Changed 4 years ago by anonymous

  • Cc jordi@… added

Is this really a fix? Is the sets module actually used at all?

comment:5 Changed 4 years ago by anonymous

Never mind. I see the SVN head does have a fix for this. Thanks!

Add Comment

Modify Ticket

as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from ragasa. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.