Your message dated Mon, 21 Jun 2010 14:39:03 +0200
with message-id <[email protected]>
and subject line Fixed in 0.10-1
has caused the Debian Bug report #536513,
regarding Deprecation warnings with python2.6
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
536513: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=536513
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: ipython
Version: 0.9.1-3
Severity: minor
Tags: patch
Hi there
Rolf Leggewie provided a debdiff to Ubuntu to fix a deprecation warning
on startup with python2.6; attached. (from
https://bugs.launchpad.net/ubuntu/+source/ipython/+bug/349844)
Cheers,
--
Loïc Minier
diff -u ipython-0.9.1/debian/changelog ipython-0.9.1/debian/changelog
--- ipython-0.9.1/debian/changelog
+++ ipython-0.9.1/debian/changelog
@@ -1,3 +1,10 @@
+ipython (0.9.1-3ubuntu1) 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 protected]> Wed, 03 Jun 2009 05:01:56 +0200
+
ipython (0.9.1-3) unstable; urgency=low
[ Stephan Peijnik ]
diff -u ipython-0.9.1/debian/control ipython-0.9.1/debian/control
--- ipython-0.9.1/debian/control
+++ ipython-0.9.1/debian/control
@@ -4,7 +4,7 @@
Maintainer: Debian Python Modules Team
<[email protected]>
Uploaders: Bernd Zeimetz <[email protected]>, Ondrej Certik <[email protected]>,
Stephan Peijnik <[email protected]>
-Build-Depends: debhelper (>= 5.0.37.2), cdbs (>= 0.4.43), python,
python-support (>= 0.4), quilt
+Build-Depends: debhelper (>= 5.0.37.2), cdbs (>= 0.4.43), python,
python-support (>= 0.4), quilt (>= 0.46-5)
Build-Depends-Indep: python-sphinx, python-pygments, python-foolscap,
python-openssl (>= 0.6), python-nose, python-twisted-core,
python-zope-interface, python-pexpect, python (>= 2.5) | python-ctypes
Homepage: http://ipython.scipy.org/
Vcs-Svn: svn://svn.debian.org/python-modules/packages/ipython/trunk/
diff -u ipython-0.9.1/debian/patches/series ipython-0.9.1/debian/patches/series
--- ipython-0.9.1/debian/patches/series
+++ ipython-0.9.1/debian/patches/series
@@ -4,0 +5 @@
+07_deprecate_sets_module.patch
only in patch2:
unchanged:
--- ipython-0.9.1.orig/debian/patches/07_deprecate_sets_module.patch
+++ ipython-0.9.1/debian/patches/07_deprecate_sets_module.patch
@@ -0,0 +1,32 @@
+The sets module is deprecated in python 2.6. This patch fixes LP bug 349844.
+
+Index: ipython-0.9.1/IPython/Magic.py
+===================================================================
+--- ipython-0.9.1.orig/IPython/Magic.py 2009-06-03 04:59:10.000000000
+0200
++++ ipython-0.9.1/IPython/Magic.py 2009-06-03 05:00:19.000000000 +0200
+@@ -35,7 +35,6 @@
+ from cStringIO import StringIO
+ from getopt import getopt,GetoptError
+ from pprint import pprint, pformat
+-from sets import Set
+
+ # cProfile was added in Python2.5
+ try:
+@@ -75,7 +74,7 @@
+ head, tail = dh[:-10], dh[-10:]
+
+ newhead = []
+- done = Set()
++ done = set()
+ for h in head:
+ if h in done:
+ continue
+@@ -149,7 +148,7 @@
+ filter(inst_magic,self.__dict__.keys()) + \
+ filter(inst_bound_magic,self.__class__.__dict__.keys())
+ out = []
+- for fn in Set(magics):
++ for fn in set(magics):
+ out.append(fn.replace('magic_','',1))
+ out.sort()
+ return out
--- End Message ---
--- Begin Message ---
Version: 0.10-1
Hi,
this bug was fixed in Debian some months ago...
Cheers,
Bernd
--
Bernd Zeimetz Debian GNU/Linux Developer
http://bzed.de http://www.debian.org
GPG Fingerprints: 06C8 C9A2 EAAD E37E 5B2C BE93 067A AD04 C93B FF79
ECA1 E3F2 8E11 2432 D485 DD95 EB36 171A 6FF9 435F
--- End Message ---
_______________________________________________
Python-modules-team mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/python-modules-team