Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide ipython 0.11 compatibility #411

Closed
sandrotosi opened this issue Aug 3, 2011 · 8 comments
Closed

Provide ipython 0.11 compatibility #411

sandrotosi opened this issue Aug 3, 2011 · 8 comments

Comments

@sandrotosi
Copy link
Contributor

@sandrotosi sandrotosi commented Aug 3, 2011

Hello,
I'm forwarding the Debian bug #636464, http://bugs.debian.org/636464:

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/0.11-Migration

You need to update ipython_directive.py and ipython_console_highlighting.py.
Newer versions are available in the ipython source but they are not well
tested yet, please report problems upstream.

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
<<<

Except for the part about the debian package, matplotlib needs to support the new ipython apis. I thought #390 was somehow related to it, but at a second look it seems not (if otherwise, I apologize for the double report).

Thanks in advance,
Sandro

@efiring

This comment has been minimized.

Copy link
Member

@efiring efiring commented Aug 3, 2011

On 08/03/2011 07:08 AM, sandrotosi wrote:

Hello,
I'm forwarding the Debian bug #636464, http://bugs.debian.org/636464:

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/0.11-Migration

You need to update ipython_directive.py and ipython_console_highlighting.py.
Newer versions are available in the ipython source but they are not well
tested yet, please report problems upstream.

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
<<<

Except for the part about the debian package, matplotlib needs to support the new ipython apis. I thought #390 was somehow related to it, but at a second look it seems not (if otherwise, I apologize for the double report).

Thanks in advance,
Sandro

As far as I know, mpl master is fully consistent with IPython 0.11. Do
you have evidence or examples to the contrary?

Eric

@sandrotosi

This comment has been minimized.

Copy link
Contributor Author

@sandrotosi sandrotosi commented Aug 3, 2011

Hi Eric,

On Wed, Aug 3, 2011 at 19:59, efiring
reply@reply.github.com
wrote:

As far as I know, mpl master is fully consistent with IPython 0.11.  Do
you have evidence or examples to the contrary?

Sorry I was too dense :)

Currently in Debian we provide mpl 1.0.1 and we'd like to also ship
ipython 0.11 . I've received a bug report where it states that mpl
1.0.1 needs to be adapted in order to work correctly with ipy 0.11
(and I hope the reported did his homework before submitting :) .

From your reply I guess there was some work that it's maybe only on
master and was not released with 1.0.1 ? If so, can you please point
me to the relevant commits, so I can cherrypick them and update the
debian package?

I tried a very basic example, "plot([1, 2], [2, 4])", and it works
fine, but there might be some other snippets failing.

Thanks for your help,

Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi

@juliantaylor

This comment has been minimized.

Copy link
Contributor

@juliantaylor juliantaylor commented Aug 3, 2011

basic plotting seem sot be working well with ipython 0.11
but in lib/matplotlib/sphinxext there is a file ipython_directive.py which does not work anymore (console_highlighting does indeed work)

ImportError: No module named Shell

I assume it is used to build docs?
if it is not used then this issue can probably be closed.

@WeatherGod

This comment has been minimized.

Copy link
Member

@WeatherGod WeatherGod commented Aug 4, 2011

sandro, from the little bit that I understand, the issues that would arise would occur with the compatibility issues surrounding qt3 and qt4. Heck, even within qt4, there are version issues. I haven't tried v0.11, so I don't know if other backends will work while using the new qt-based interface. I think the relevant pull request would be pull #390

@efiring

This comment has been minimized.

Copy link
Member

@efiring efiring commented Aug 4, 2011

Ipython 0.11 does not support qt3 at all.
Pull #390 is relevant.
The right way to handle this is with a release, not cherry-picking.
How soon do you need a version compatible with 0.11, Sandro?

@sandrotosi

This comment has been minimized.

Copy link
Contributor Author

@sandrotosi sandrotosi commented Aug 4, 2011

On Thu, Aug 4, 2011 at 20:45, efiring
reply@reply.github.com
wrote:

Ipython 0.11 does not support qt3 at all.
Pull #390 is relevant.
The right way to handle this is with a release, not cherry-picking.
How soon do you need a version compatible with 0.11, Sandro?

There's no big pressure, so take your time to prepare a nice release :)

Cheers,

Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi

@jdh2358

This comment has been minimized.

Copy link
Collaborator

@jdh2358 jdh2358 commented Aug 17, 2011

I wrote the original version of the ipython directive (based on ipython 0.10) and put it in the mpl repo so I would have ready access to it for some other documentation projects I was working on. It isn't used anywhere in mpl proper, and it is now hosted and maintained in the ipython distro. I suggest we flush it. Happy to submit a pull request ahead of mpl 1.1.

JDH

@efiring

This comment has been minimized.

Copy link
Member

@efiring efiring commented Aug 17, 2011

On 08/17/2011 01:35 PM, jdh2358 wrote:

I wrote the original version of the ipython directive (based on ipython 0.10) and put it in the mpl repo so I would have ready access to it for some other documentation projects I was working on. It isn't used anywhere in mpl proper, and it is now hosted and maintained in the ipython distro. I suggest we flush it. Happy to submit a pull request ahead of mpl 1.1.

JDH

Go ahead. You might as well delete the release subdirectory tree at the
same time since it seems that both the win and the osx sides are out of
date and unused.

Eric

@efiring efiring closed this Oct 7, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants
You can’t perform that action at this time.