[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#686604: unblock (pre-approval): ipython 0.13.1



retitle 686604 unblock: ipython 0.13.1
thanks

hi,
I have uploaded the 0.13.1 release to unstable.
changes compared to my last mail are attached in ipython_changes.log:
deprecation warning for sympy printing extension if 0.7.2 is installed
(noop in wheezy)
a change to the setup.py requires with no effect for the package.

attached also the complete debdiff wheezy <-> unstable
commit 177894e7f13d7fd95875ebffc2ca9dff2a2850c5
Author: MinRK <benjaminrk@gmail.com>
Date:   Fri Oct 19 16:17:18 2012 -0700

    remove rc for 0.13.1 final

diff --git a/IPython/core/release.py b/IPython/core/release.py
index 7218bc2..9cdfb4c 100644
--- a/IPython/core/release.py
+++ b/IPython/core/release.py
@@ -23,8 +23,7 @@ _version_major = 0
 _version_minor = 13
 _version_micro = 1  # use '' for first of series, number for 1 and above
 # _version_extra = 'dev'
-_version_extra = 'rc3'
-# _version_extra = ''  # Uncomment this for full releases
+_version_extra = ''  # Uncomment this for full releases
 
 # Construct full version string from these.
 _ver = [_version_major, _version_minor]

commit 466f47fa305d64443c21a9a08a1673094a8be9cd
Author: MinRK <benjaminrk@gmail.com>
Date:   Mon Oct 15 10:08:41 2012 -0700

    0.13.1.rc3

diff --git a/IPython/core/release.py b/IPython/core/release.py
index d536b98..7218bc2 100644
--- a/IPython/core/release.py
+++ b/IPython/core/release.py
@@ -23,7 +23,7 @@ _version_major = 0
 _version_minor = 13
 _version_micro = 1  # use '' for first of series, number for 1 and above
 # _version_extra = 'dev'
-_version_extra = 'rc2'
+_version_extra = 'rc3'
 # _version_extra = ''  # Uncomment this for full releases
 
 # Construct full version string from these.

commit 48028620a78c741ebe856750661f7a78d0580640
Author: MinRK <benjaminrk@gmail.com>
Date:   Mon Oct 15 10:08:24 2012 -0700

    qtconsole extras_require to whatsnew

diff --git a/docs/source/whatsnew/version0.13.txt b/docs/source/whatsnew/version0.13.txt
index e36a6a0..f8322da 100644
--- a/docs/source/whatsnew/version0.13.txt
+++ b/docs/source/whatsnew/version0.13.txt
@@ -18,11 +18,12 @@ Notable fixes:
 * Tab completion fixes when using ``IPython.embed_kernel()``.
 * A few NameErrors/AttributeErrors in magics due to the reorganized magics system.
 
-We closed a total of 61 issues (40 pull requests and 21 regular issues);
+We closed a total of 62 issues (41 pull requests and 21 regular issues);
 this is the full list (generated with the script :file:`tools/github_stats.py`):
 
-Pull Requests (40):
+Pull Requests (41):
 
+* :ghpull:`2492`: add missing 'qtconsole' extras_require
 * :ghpull:`2480`: Add deprecation warnings for sympyprinting
 * :ghpull:`2384`: Adapt inline backend to changes in matplotlib
 * :ghpull:`2479`: use new _winapi instead of removed _subprocess

commit b091f6bb8eaa50b807f04dcaaaa57226e8cb01b8
Author: MinRK <benjaminrk@gmail.com>
Date:   Mon Oct 15 10:07:19 2012 -0700

    Backport PR #2492: add missing 'qtconsole' extras_require
    
    The docs mention `easy_install ipython[qtconsole]`, but that would fail because it was undefined. The alternative would be to change the docs, but then we would have no expression of the pygments optional dependency.
    
    should be back ported to 0.13.1

diff --git a/setup.py b/setup.py
index 85f9a08..e061f23 100755
--- a/setup.py
+++ b/setup.py
@@ -230,6 +230,7 @@ if 'setuptools' in sys.modules:
     setuptools_extra_args['entry_points'] = find_scripts(True)
     setup_args['extras_require'] = dict(
         parallel = 'pyzmq>=2.1.4',
+        qtconsole = 'pygments',
         zmq = 'pyzmq>=2.1.4',
         doc = 'Sphinx>=0.3',
         test = 'nose>=0.10.1',

commit 5f1e6abdf6360e565bd43d35d914bb2321ddea76
Author: MinRK <benjaminrk@gmail.com>
Date:   Sun Oct 14 15:59:13 2012 -0700

    add 2480 to whatsnew

diff --git a/docs/source/whatsnew/version0.13.txt b/docs/source/whatsnew/version0.13.txt
index 37c9f9e..e36a6a0 100644
--- a/docs/source/whatsnew/version0.13.txt
+++ b/docs/source/whatsnew/version0.13.txt
@@ -18,11 +18,12 @@ Notable fixes:
 * Tab completion fixes when using ``IPython.embed_kernel()``.
 * A few NameErrors/AttributeErrors in magics due to the reorganized magics system.
 
-We closed a total of 60 issues (39 pull requests and 21 regular issues);
+We closed a total of 61 issues (40 pull requests and 21 regular issues);
 this is the full list (generated with the script :file:`tools/github_stats.py`):
 
-Pull Requests (39):
+Pull Requests (40):
 
+* :ghpull:`2480`: Add deprecation warnings for sympyprinting
 * :ghpull:`2384`: Adapt inline backend to changes in matplotlib
 * :ghpull:`2479`: use new _winapi instead of removed _subprocess
 * :ghpull:`2437`: don't let log cleanup prevent engine start

commit 85db7fb4929cc49c2d88e7a68f849c20f31b5329
Author: MinRK <benjaminrk@gmail.com>
Date:   Sun Oct 14 15:57:59 2012 -0700

    Backport PR #2480: Add deprecation warnings for sympyprinting
    
    The sympyprinting extension has been moved to SymPy for the upcoming 0.7.2 release (see sympy/sympy#1559). For versions containing the new extension, print a deprecation warning and load the extension from SymPy.

diff --git a/IPython/extensions/sympyprinting.py b/IPython/extensions/sympyprinting.py
index c0bd6c0..9973b8a 100644
--- a/IPython/extensions/sympyprinting.py
+++ b/IPython/extensions/sympyprinting.py
@@ -9,6 +9,11 @@ Usage
 Once the extension is loaded, Sympy Basic objects are automatically
 pretty-printed.
 
+As of SymPy 0.7.2, maintenance of this extension has moved to SymPy under
+sympy.interactive.ipythonprinting, any modifications to account for changes to
+SymPy should be submitted to SymPy rather than changed here. This module is
+maintained here for backwards compatablitiy with old SymPy versions.
+
 """
 #-----------------------------------------------------------------------------
 #  Copyright (C) 2008  The IPython Development Team
@@ -30,6 +35,8 @@ try:
 except ImportError:
     pass
 
+import warnings
+
 #-----------------------------------------------------------------------------
 # Definitions of special display functions for use with IPython
 #-----------------------------------------------------------------------------
@@ -101,6 +108,19 @@ _loaded = False
 def load_ipython_extension(ip):
     """Load the extension in IPython."""
     import sympy
+
+    # sympyprinting extension has been moved to SymPy as of 0.7.2, if it
+    # exists there, warn the user and import it
+    try:
+        import sympy.interactive.ipythonprinting
+    except ImportError:
+        pass
+    else:
+        warnings.warn("The sympyprinting extension in IPython is deprecated, "
+            "use sympy.interactive.ipythonprinting")
+        ip.extension_manager.load_extension('sympy.interactive.ipythonprinting')
+        return
+
     global _loaded
     if not _loaded:
         plaintext_formatter = ip.display_formatter.formatters['text/plain']

Attachment: ipython_0.13.1.debdiff.gz
Description: GNU Zip compressed data

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: