DeprecationWarning: the sets module is deprecated

Bug #349844 reported by Stein Magnus Jodal
26
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Django
New
Undecided
Unassigned
ipython (Debian)
Fix Released
Unknown
ipython (Ubuntu)
Fix Released
Low
Unassigned
Declined for Jaunty by Loïc Minier

Bug Description

Binary package hint: ipython

Upon starting ipython 0.9.1-1 on Python 2.6.1+, the following DeprecationWarning is issued:

$ ipython
1/var/lib/python-support/python2.6/IPython/Magic.py:38: DeprecationWarning: the sets module is deprecated
  from sets import Set
1
In [1]:

The attached patch fixes this.

Related branches

Revision history for this message
Stein Magnus Jodal (jodal) wrote :
Changed in ipython (Ubuntu):
importance: Undecided → Low
Changed in ipython (Ubuntu):
status: New → Triaged
Revision history for this message
Rolf Leggewie (r0lf) wrote :

the fix should be backported to jaunty after verification in karmic

Revision history for this message
Evan (ev) wrote :

Given that we currently automatically sync ipython from Debian, and this is a small change, could you please submit the patch upstream:
https://wiki.ubuntu.com/Debian/Bugs

Do note for the future that if you make changes in Ubuntu, you need to modify the maintainer field per:
https://wiki.ubuntu.com/UbuntuDevelopment/FAQ#What does XSBC-Original-Maintainer mean?

Thanks!

Revision history for this message
Rolf Leggewie (r0lf) wrote :

Debian still uses python 2.5, so I'm not sure they will want this patch or ship it with priority

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ipython - 0.9.1-3ubuntu2

---------------
ipython (0.9.1-3ubuntu2) karmic; urgency=low

  * sets module is deprecated in python 2.6. (LP: #349844)
  * build requires quilt 0.46-5 or later for unpatch (LP: #383017)

 -- Rolf Leggewie <email address hidden> Wed, 03 Jun 2009 05:01:56 +0200

Changed in ipython (Ubuntu):
status: Triaged → Fix Released
Changed in ipython (Debian):
status: Unknown → New
Changed in ipython (Debian):
status: New → Fix Released
Revision history for this message
Ivan Kharlamov (the-paper-men) wrote :

I run python-django on Ubuntu Lucid and somehow still get the same warning.

/home/mikropolip/Projects/666/issues/views.py:4: DeprecationWarning: the sets module is deprecated
  from sets import Set

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.