Your message dated Thu, 03 Nov 2011 15:11:32 +0000
with message-id <[email protected]>
and subject line Bug#636726: fixed in spyder 2.1.1-1
has caused the Debian Bug report #636726,
regarding spyder: provide ipython 0.11 compatibility
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.)
--
636726: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=636726
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: spyder
Version: 2.0.12-1
Severity: normal
Tags: patch
User: [email protected]
Usertags: ipython-0.11
IPython 0.11 has been released last week [0,1]. It is currently
available in debian experimental.
In order to upgrade IPython in unstable your package needs to be updated
to deal with the new api and configuration system.
Some hints for migrating applications are available here:
http://wiki.ipython.org/Cookbook/Updating_code_that_uses_IPython_for_0.11
Attached a patch that should fix the issue while remaining compatible to
ipython < 0.11.
The documentation for the new version can be found here:
http://ipython.org/ipython-doc/rel-0.11/index.html
[0] http://mail.scipy.org/pipermail/ipython-dev/2011-July/008041.html
[1] http://ipython.org/ipython-doc/rel-0.11/whatsnew/version0.11.html
Index: spyder-2.0.12/spyderlib/widgets/externalshell/startup.py
===================================================================
--- spyder-2.0.12.orig/spyderlib/widgets/externalshell/startup.py 2011-08-05 18:00:38.767221743 +0200
+++ spyder-2.0.12/spyderlib/widgets/externalshell/startup.py 2011-08-05 18:07:10.247221694 +0200
@@ -178,9 +178,16 @@
# For pyreadline v1.5-1.6 only:
import pyreadline
pyreadline.GetOutputFile = lambda: None
- import IPython.Shell
- del __is_ipython
- __ipythonshell__ = IPython.Shell.start(user_ns={'runfile': runfile,
+ try:
+ from IPython.frontend.terminal.embed import InteractiveShellEmbed
+ del __is_ipython
+ __ipythonshell__ = InteractiveShellEmbed(user_ns={'runfile': runfile,
+ 'debugfile': debugfile})
+ __ipythonshell__.stdin_encoding = os.environ['SPYDER_ENCODING']
+ except ImportError:
+ import IPython.Shell
+ del __is_ipython
+ __ipythonshell__ = IPython.Shell.start(user_ns={'runfile': runfile,
'debugfile': debugfile})
- __ipythonshell__.IP.stdin_encoding = os.environ['SPYDER_ENCODING']
+ __ipythonshell__.IP.stdin_encoding = os.environ['SPYDER_ENCODING']
__ipythonshell__.mainloop()
Index: spyder-2.0.12/spyderlib/widgets/internalshell.py
===================================================================
--- spyder-2.0.12.orig/spyderlib/widgets/internalshell.py 2011-08-05 17:57:02.107221769 +0200
+++ spyder-2.0.12/spyderlib/widgets/internalshell.py 2011-08-05 18:00:19.047221745 +0200
@@ -15,7 +15,10 @@
#----Builtins
import __builtin__
try:
- from IPython.deep_reload import reload
+ try:
+ from IPython.lib.deepreload import reload
+ except ImportError:
+ from IPython.deep_reload import reload
__builtin__.dreload = reload
except ImportError:
pass
signature.asc
Description: OpenPGP digital signature
--- End Message ---
--- Begin Message ---
Source: spyder
Source-Version: 2.1.1-1
We believe that the bug you reported is fixed in the latest version of
spyder, which is due to be installed in the Debian FTP archive:
python-spyderlib_2.1.1-1_all.deb
to main/s/spyder/python-spyderlib_2.1.1-1_all.deb
spyder_2.1.1-1.debian.tar.gz
to main/s/spyder/spyder_2.1.1-1.debian.tar.gz
spyder_2.1.1-1.dsc
to main/s/spyder/spyder_2.1.1-1.dsc
spyder_2.1.1-1_all.deb
to main/s/spyder/spyder_2.1.1-1_all.deb
spyder_2.1.1.orig.tar.gz
to main/s/spyder/spyder_2.1.1.orig.tar.gz
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Picca Frédéric-Emmanuel <[email protected]> (supplier of updated spyder package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Mon, 31 Oct 2011 12:43:34 +0200
Source: spyder
Binary: spyder python-spyderlib
Architecture: source all
Version: 2.1.1-1
Distribution: unstable
Urgency: low
Maintainer: Debian Science Maintainers
<[email protected]>
Changed-By: Picca Frédéric-Emmanuel <[email protected]>
Description:
python-spyderlib - Python IDE for scientists
spyder - Python IDE for scientists
Closes: 636726
Changes:
spyder (2.1.1-1) unstable; urgency=low
.
* Import Upstream version 2.1.0 (Closes: #636726)
* use the old upstream url http://code.google.com/p/spyder/
until the transition is done.
* debian/control
- fix Breaks and Replace
- Depends: python-sphinx (>= 1.0.7+dfsg), pyflakes (>= 0.5.0),
pep8, python-rope (>= 0.9.2)
* debian/copyright fixed using config-edit
* debian/rules
- use the new dh_sphinxdoc helper
* debian/patches
- 0001-fix-documentation-installation.patch (updated)
build the sphinx documentation only once.
* debian/spyder.desktop (deleted)
- use the one provided by the upstream
Checksums-Sha1:
2f6204a7187622275257d9b5ae9a4225d38bc23f 1550 spyder_2.1.1-1.dsc
bbafe546ba8f119c66b64c3a6f8065564cb11d76 1575689 spyder_2.1.1.orig.tar.gz
e765ffc4ab51673e87b0349f0a15ec84bd210288 16329 spyder_2.1.1-1.debian.tar.gz
56293049d55f62fa5a7e29fa22f1d1bcbfff7b29 14946 spyder_2.1.1-1_all.deb
73b75bde7f300a80ea8c808aec29edc8e7c3f479 1585530
python-spyderlib_2.1.1-1_all.deb
Checksums-Sha256:
bd26a975d2c63f6098538642652e16e7a34fe7a36a1e5aa55e4be7daf3213e93 1550
spyder_2.1.1-1.dsc
4f1ef2d8049a1fbe67f7428808293f6b47faa87557f81667a4f88b2b249a0a59 1575689
spyder_2.1.1.orig.tar.gz
ce32ffb39b45d9d5ac08f22eaa91a43b99e99af7bc7f7c715bbc74d0772c4e5a 16329
spyder_2.1.1-1.debian.tar.gz
9e1968fe89a236463a2d457c89a4235e996c8fd1ef4a5e2552ddf57cda6a503b 14946
spyder_2.1.1-1_all.deb
e77c3007c49fa119e09cfc7d4bf5101af6231e173355bd9ec27ac951fb840889 1585530
python-spyderlib_2.1.1-1_all.deb
Files:
da8003a7478ff3b711c3678a90564b9d 1550 science extra spyder_2.1.1-1.dsc
79e5eb58ae01fe5b35359d4a60c7fac6 1575689 science extra spyder_2.1.1.orig.tar.gz
0d07c475a5e25b3e7d70a0c0888bcb81 16329 science extra
spyder_2.1.1-1.debian.tar.gz
7787907ab50cebbba5e2289d80eb3c4c 14946 devel extra spyder_2.1.1-1_all.deb
884e4ed986d0df314d76e4540c03ea9c 1585530 python extra
python-spyderlib_2.1.1-1_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iEYEARECAAYFAk6yqqsACgkQtqm6aqWbEXGdVQCfZ2YkdF6eigLeEZivwekskwtM
PwIAoIVT1oDzmO/WbzfHuarKu1lwd6Ll
=9GLl
-----END PGP SIGNATURE-----
--- End Message ---