[IPython-User] Qt issue in IPython 0.12: workaround?

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

[IPython-User] Qt issue in IPython 0.12: workaround?

Emanuele Olivetti-3
Hi,

We are developing a Qt application that we run from the IPython console
(ipython --gui=qt). A part of our users still uses Ubuntu 12.04,
which ships IPython 0.12.1. Unfortunately there is a bug in that version, that
was fixed after releasing 0.12.1:
   https://github.com/ipython/ipython/pull/2294/files?diff=unified
   https://github.com/ipython/ipython/pull/2294

As described in the link above, the bug prevents some dialogs from displaying.
So our Ubuntu 12.04 users cannot see, for example, the QColorDialog.

It is a bit impractical to ask our users to upgrade ubuntu in order to
upgrade IPtyhon. Moreover asking them to manually install a newer IPython
may not be easy. Is there a way to solve the issue with a workaround
from the (our) application side? (like monkey patching?)
What would you suggest?

Best,

Emanuele
_______________________________________________
IPython-User mailing list
[hidden email]
http://mail.scipy.org/mailman/listinfo/ipython-user
Reply | Threaded
Open this post in threaded view
|

Re: Qt issue in IPython 0.12: workaround?

rossant
Hi,

Do you have the possibility to ask them to install Anaconda
(https://store.continuum.io/cshop/anaconda/)? This installs very
easily on Ubuntu, and you'll always get the latest versions of all
Python packages you want ("conda install ipython" instead of "apt-get
install ipython", etc.). The Python packages available on Ubuntu 12.04
are generally quite old...

Cyrille

2014-11-28 16:46 GMT+01:00 Emanuele Olivetti <[hidden email]>:

> Hi,
>
> We are developing a Qt application that we run from the IPython console
> (ipython --gui=qt). A part of our users still uses Ubuntu 12.04,
> which ships IPython 0.12.1. Unfortunately there is a bug in that version, that
> was fixed after releasing 0.12.1:
>    https://github.com/ipython/ipython/pull/2294/files?diff=unified
>    https://github.com/ipython/ipython/pull/2294
>
> As described in the link above, the bug prevents some dialogs from displaying.
> So our Ubuntu 12.04 users cannot see, for example, the QColorDialog.
>
> It is a bit impractical to ask our users to upgrade ubuntu in order to
> upgrade IPtyhon. Moreover asking them to manually install a newer IPython
> may not be easy. Is there a way to solve the issue with a workaround
> from the (our) application side? (like monkey patching?)
> What would you suggest?
>
> Best,
>
> Emanuele
> _______________________________________________
> IPython-User mailing list
> [hidden email]
> http://mail.scipy.org/mailman/listinfo/ipython-user
_______________________________________________
IPython-User mailing list
[hidden email]
http://mail.scipy.org/mailman/listinfo/ipython-user
Reply | Threaded
Open this post in threaded view
|

Re: Qt issue in IPython 0.12: workaround?

Julian Taylor-3
In reply to this post by Emanuele Olivetti-3
On 28.11.2014 16:46, Emanuele Olivetti wrote:

> Hi,
>
> We are developing a Qt application that we run from the IPython console
> (ipython --gui=qt). A part of our users still uses Ubuntu 12.04,
> which ships IPython 0.12.1. Unfortunately there is a bug in that version, that
> was fixed after releasing 0.12.1:
>    https://github.com/ipython/ipython/pull/2294/files?diff=unified
>    https://github.com/ipython/ipython/pull/2294
>
> As described in the link above, the bug prevents some dialogs from displaying.
> So our Ubuntu 12.04 users cannot see, for example, the QColorDialog.
>
> It is a bit impractical to ask our users to upgrade ubuntu in order to
> upgrade IPtyhon. Moreover asking them to manually install a newer IPython
> may not be easy. Is there a way to solve the issue with a workaround
> from the (our) application side? (like monkey patching?)
> What would you suggest?
>

ipython 0.13.2 is available in ubuntu 12.04's backport repository.

Also if the fix is simple and proven its no problem to apply the fix to
the ubuntu package.

_______________________________________________
IPython-User mailing list
[hidden email]
http://mail.scipy.org/mailman/listinfo/ipython-user
Reply | Threaded
Open this post in threaded view
|

Re: Qt issue in IPython 0.12: workaround?

Emanuele Olivetti-3
In reply to this post by Emanuele Olivetti-3
Thank you for all the answers!
I'll suggest 12.04 backports to our users then. Anaconda/miniconda
is indeed an excellent tool, but it may be too disruptive to ask for a
full Python stack install just to run one software.
Indeed I should have sent this to [ipython-dev]. But first I'll try the
backports and I'll ask there in case that will not solve the issue.

Best,

Emanuele

_______________________________________________
IPython-User mailing list
[hidden email]
http://mail.scipy.org/mailman/listinfo/ipython-user
Reply | Threaded
Open this post in threaded view
|

Re: Qt issue in IPython 0.12: workaround?

Emanuele Olivetti-3
On 11/30/2014 12:03 AM, Emanuele Olivetti wrote:
> Thank you for all the answers!
> I'll suggest 12.04 backports to our users then. Anaconda/miniconda
> is indeed an excellent tool, but it may be too disruptive to ask for a
> full Python stack install just to run one software.
> Indeed I should have sent this to [ipython-dev]. But first I'll try the
> backports and I'll ask there in case that will not solve the issue.
>
>

The backports solution works fine. Thank you again.

Emanuele
_______________________________________________
IPython-User mailing list
[hidden email]
http://mail.scipy.org/mailman/listinfo/ipython-user