[IPython-dev] Qt console broken in trunk?

MinRK benjaminrk at gmail.com
Sun Jan 30 15:13:42 EST 2011


2.0.10.1 pushed, tagged, registered, etc., replacing 2.0.10-1 for debian-ish
reasons.

-MinRK

On Sun, Jan 30, 2011 at 11:16, Min RK <benjaminrk at gmail.com> wrote:

>
>
> On Jan 30, 2011, at 9:10, Brian Granger <ellisonbg at gmail.com> wrote:
>
> > Thomas,
> >
> > Min and I were just talking about this yesterday.  Here is our logic:
> >
> > * We can't use 2.0.10a because pypi treats this as alpha and will see
> > 2.0.10 as a later version rather than earlier.
> > * We use the 2.0.10-1 notation for exactly the same reason that Debian
> > does - the 2.0.10 is an upstream version number and the -1 is our
> > variant of the 2.0.10 release.
> > * But, you are right, we had not thought about the Debian versioning
> > scheme that would lead to the very confusing 2.0.10-1-1.
> >
> > Min, is there a problem with going with the 2.0.10.1 route?  Will pypi
> > treat this version # correctly?
>
> I'll check this afternoon, and push it as 2.0.10.1 if it doesn't object. As
> long as we are not complying with distutils StrictVersion, might as well
> play as nice with everyone else as we can.
>
> -MinRK
>
> >
> > Brian
> >
> > On Sun, Jan 30, 2011 at 4:38 AM, Thomas Kluyver <takowl at gmail.com>
> wrote:
> >> I've jumped in and updated the bug report.
> >>
> >> I foresee confusion with the version numbering, however. Debian has
> called
> >> its package version 2.0.10-1, although it corresponds to what you
> released
> >> as 2.0.10. Debian package numbering uses "-n" suffixes to denote debian
> >> revisions of an upstream release. Can I suggest that you consider a
> >> different scheme for naming versions matching a particular ZMQ release,
> >> perhaps 2.0.10.1 or 2.0.10a?
> >>
> >> Thanks,
> >> Thomas
> >>
> >> On 30 January 2011 02:53, Brian Granger <ellisonbg at gmail.com> wrote:
> >>>
> >>> Erik,
> >>>
> >>> Thanks for doing this.  We just released 2.0.10-1, which has a fix of
> >>> an important memory leak.  Is there any chance you could update the
> >>> request to say they should use 2.0.10-1?
> >>>
> >>> Here is the download page that has the release:
> >>>
> >>> https://github.com/zeromq/pyzmq/downloads
> >>>
> >>> Thanks,
> >>>
> >>> Brian
> >>>
> >>> On Fri, Jan 28, 2011 at 8:30 PM, Erik Tollerud <
> erik.tollerud at gmail.com>
> >>> wrote:
> >>>> I've submitted a request that they bring in 2.0.10 for the final Natty
> >>>> - https://bugs.launchpad.net/ubuntu/+source/pyzmq/+bug/709089 ... who
> >>>> knows if someone in the Universe will take the time to do it, but the
> >>>> request has been made, it least.
> >>>>
> >>>> On Thu, Jan 27, 2011 at 2:24 AM, Thomas Kluyver <takowl at gmail.com>
> >>>> wrote:
> >>>>> I think Ubuntu might need to be prodded to update - according to the
> >>>>> release
> >>>>> schedule, automatic imports from Debian stopped at the end of
> December:
> >>>>> https://wiki.ubuntu.com/DebianImportFreeze
> >>>>>
> >>>>> ZMQ itself is already at 2.0.10, so it should be a no-brainer to add
> >>>>> the
> >>>>> matching release of pyzmq.
> >>>>>
> >>>>> Thomas
> >>>>>
> >>>>> On 27 January 2011 01:11, Mark Voorhies <mark.voorhies at ucsf.edu>
> wrote:
> >>>>>>
> >>>>>> Naive googling suggests that the major Linux distros are ready for
> >>>>>> 2.0.10:
> >>>>>> (I know some of the packagers are on this list, so feel free to
> >>>>>> correct
> >>>>>> me)
> >>>>>>
> >>>>>> Debian: 2.0.10 is in experimental (looks like it's being held there
> >>>>>> until
> >>>>>> after next week's release of Squeeze)
> >>>>>>             http://packages.qa.debian.org/p/pyzmq.html
> >>>>>>
> >>>>>> Ubuntu: is still on 0.1.20100703+git18f5d06155-1 for Natty?
> >>>>>>             https://launchpad.net/ubuntu/+source/pyzmq
> >>>>>>             Reasonable to assume that 2.0.10 will propagate after it
> >>>>>> hits
> >>>>>> Debian unstable?
> >>>>>>
> >>>>>> Fedora: 2.0.10 is in testing for Fedora 14
> >>>>>>            https://admin.fedoraproject.org/updates/python-zmq
> >>>>>>
> >>>>>> SUSE: 2.0.10 is in SLE_11 (same as SLED?) and OpenSUSE 11.1
> >>>>>>
> >>>>>>
> >>>>>>
> https://build.opensuse.org/package/binaries?package=python-pyzmq&project=devel%3Alanguages%3Apython&repository=SLE_11
> >>>>>>
> >>>>>>
> >>>>>>
> https://build.opensuse.org/package/binaries?package=python-pyzmq&project=devel%3Alanguages%3Apython&repository=openSUSE_11.1
> >>>>>>
> >>>>>> --Mark
> >>>>>>
> >>>>>> On Wednesday, January 26, 2011 04:42:48 pm MinRK wrote:
> >>>>>>> 2.0.10 has a lot of stability improvements over previous releases.
> >>>>>>>  The
> >>>>>>> main argument against it is if major distributions (EPD, various
> >>>>>>> Linux
> >>>>>>> distros) are still shipping 2.0.9, then we should maybe hold back.
> >>>>>>>
> >>>>>>> I can easily change the import if we want to do that.
> >>>>>>>
> >>>>>>> -MinRK
> >>>>>>>
> >>>>>>> On Wed, Jan 26, 2011 at 16:12, Brian Granger <ellisonbg at gmail.com>
> >>>>>>> wrote:
> >>>>>>>
> >>>>>>> I mean require 2.0.10?
> >>>>>>>
> >>>>>>>
> >>>>>>>  On Wed, Jan 26, 2011 at 4:12 PM, Brian Granger
> >>>>>>> <ellisonbg at gmail.com>
> >>>>>>> wrote:
> >>>>>>>  > Should we require 2.0.9 for IPython?
> >>>>>>>  >
> >>>>>>>  > Brian
> >>>>>>>  >
> >>>>>>>  > On Wed, Jan 26, 2011 at 4:09 PM, MinRK <benjaminrk at gmail.com>
> >>>>>>> wrote:
> >>>>>>>  >> What version of pyzmq do you have?  If you are still using
> >>>>>>> 2.0.9,
> >>>>>>> then
> >>>>>>>  >> that's before we made this addition (early October).
> >>>>>>>  >> I realize that since IPython depends on 2.6, I can just import
> >>>>>>> the
> >>>>>>> (super
> >>>>>>>  >> slow) builtin json module, rather than follow pyzmq's import
> >>>>>>> preferences.
> >>>>>>>  >>
> >>>>>>>  >> -MinRK
> >>>>>>>  >> On Wed, Jan 26, 2011 at 16:00, Brian Granger
> >>>>>>> <ellisonbg at gmail.com>
> >>>>>>> wrote:
> >>>>>>>  >>>
> >>>>>>>  >>> Fernando,
> >>>>>>>  >>>
> >>>>>>>  >>> This is actually an import from pyzmq:
> >>>>>>>  >>>
> >>>>>>>  >>> In [4]: from zmq.utils import jsonapi as json
> >>>>>>>  >>>
> >>>>>>>  >>> In [5]: json.__file__
> >>>>>>>  >>> Out[5]:
> >>>>>>>  >>>
> >>>>>>>
> >>>>>>>
> '/Users/bgranger/Documents/Computation/zeromq/pyzmq/zmq/utils/jsonapi.pyc'
> >>>>>>>  >>>
> >>>>>>>  >>> So it looks like something is odd with your pyzmq
> >>>>>>> install...unless
> >>>>>>> for
> >>>>>>>  >>> some reason Python is putting  the IPython directory in you
> >>>>>>> sys.path
> >>>>>>>  >>> so importing zmq picks up IPython.zmq instead of zmq (pyzmq).
> >>>>>>>  Can
> >>>>>>> you
> >>>>>>>  >>> look at your pyzmq install?
> >>>>>>>  >>>
> >>>>>>>  >>> Brian
> >>>>>>>  >>>
> >>>>>>>  >>>
> >>>>>>>  >>> On Wed, Jan 26, 2011 at 3:31 PM, Fernando Perez
> >>>>>>> <fperez.net at gmail.com>
> >>>>>>>  >>> wrote:
> >>>>>>>  >>> > Hey guys,
> >>>>>>>  >>> >
> >>>>>>>  >>> > as I was working on the 'asdf' bug I just posted about, I
> >>>>>>> tried
> >>>>>>> to use
> >>>>>>>  >>> > the Qt console after updating my trunk, and got this:
> >>>>>>>  >>> >
> >>>>>>>  >>> > (trunk)dreamweaver[ipython]> ipython-qtconsole
> >>>>>>>  >>> > Traceback (most recent call last):
> >>>>>>>  >>> >  File "/home/fperez/usr/bin/ipython-qtconsole", line 4, in
> >>>>>>> <module>
> >>>>>>>  >>> >    from IPython.frontend.qt.console.ipythonqt import main
> >>>>>>>  >>> >  File
> >>>>>>>  >>> >
> >>>>>>>
> >>>>>>>
> "/home/fperez/ipython/ipython/IPython/frontend/qt/console/ipythonqt.py",
> >>>>>>>  >>> > line 17, in <module>
> >>>>>>>  >>> >    from IPython.frontend.qt.kernelmanager import
> >>>>>>> QtKernelManager
> >>>>>>>  >>> >  File
> >>>>>>>  >>> >
> >>>>>>>
> "/home/fperez/ipython/ipython/IPython/frontend/qt/kernelmanager.py",
> >>>>>>>  >>> > line 9, in <module>
> >>>>>>>  >>> >    from IPython.zmq.kernelmanager import KernelManager,
> >>>>>>>  >>> > SubSocketChannel, \
> >>>>>>>  >>> >  File
> >>>>>>> "/home/fperez/ipython/ipython/IPython/zmq/kernelmanager.py",
> >>>>>>>  >>> > line 36, in <module>
> >>>>>>>  >>> >    from session import Session, Message
> >>>>>>>  >>> >  File "/home/fperez/ipython/ipython/IPython/zmq/session.py",
> >>>>>>> line
> >>>>>>> 7,
> >>>>>>>  >>> > in <module>
> >>>>>>>  >>> >    from zmq.utils import jsonapi as json
> >>>>>>>  >>> > ImportError: No module named utils
> >>>>>>>  >>> >
> >>>>>>>  >>> >
> >>>>>>>  >>> > Not sure when it broke, but I suspect the merge of the
> recent
> >>>>>>> session
> >>>>>>>  >>> > branch might have something to do with it.
> >>>>>>>  >>> >
> >>>>>>>  >>> > Brian/Min, do you guys have an idea of what happened, maybe
> >>>>>>> just
> >>>>>>> a
> >>>>>>>  >>> > file someone forgot to add from their local working tree?
> >>>>>>>  >>> >
> >>>>>>>  >>> > Cheers,
> >>>>>>>  >>> >
> >>>>>>>  >>> > f
> >>>>>>>  >>> > _______________________________________________
> >>>>>>>  >>> > IPython-dev mailing list
> >>>>>>>  >>> > IPython-dev at scipy.org
> >>>>>>>  >>> > http://mail.scipy.org/mailman/listinfo/ipython-dev
> >>>>>>>  >>> >
> >>>>>>>  >>>
> >>>>>>>  >>>
> >>>>>>>  >>>
> >>>>>>>  >>> --
> >>>>>>>  >>> Brian E. Granger, Ph.D.
> >>>>>>>  >>> Assistant Professor of Physics
> >>>>>>>  >>> Cal Poly State University, San Luis Obispo
> >>>>>>>  >>> bgranger at calpoly.edu
> >>>>>>>  >>> ellisonbg at gmail.com
> >>>>>>>  >>> _______________________________________________
> >>>>>>>  >>> IPython-dev mailing list
> >>>>>>>  >>> IPython-dev at scipy.org
> >>>>>>>  >>> http://mail.scipy.org/mailman/listinfo/ipython-dev
> >>>>>>>  >>
> >>>>>>>  >>
> >>>>>>>  >
> >>>>>>>  >
> >>>>>>>  >
> >>>>>>>  > --
> >>>>>>>  > Brian E. Granger, Ph.D.
> >>>>>>>  > Assistant Professor of Physics
> >>>>>>>  > Cal Poly State University, San Luis Obispo
> >>>>>>>  > bgranger at calpoly.edu
> >>>>>>>  > ellisonbg at gmail.com
> >>>>>>>  >
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>> --
> >>>>>>>
> >>>>>>> Brian E. Granger, Ph.D.
> >>>>>>>  Assistant Professor of Physics
> >>>>>>>  Cal Poly State University, San Luis Obispo
> >>>>>>>  bgranger at calpoly.edu
> >>>>>>>  ellisonbg at gmail.com
> >>>>>>>
> >>>>>> _______________________________________________
> >>>>>> IPython-dev mailing list
> >>>>>> IPython-dev at scipy.org
> >>>>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
> >>>>>
> >>>>>
> >>>>> _______________________________________________
> >>>>> IPython-dev mailing list
> >>>>> IPython-dev at scipy.org
> >>>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
> >>>>>
> >>>>>
> >>>>
> >>>>
> >>>>
> >>>> --
> >>>> Erik Tollerud
> >>>> _______________________________________________
> >>>> IPython-dev mailing list
> >>>> IPython-dev at scipy.org
> >>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
> >>>>
> >>>
> >>>
> >>>
> >>> --
> >>> Brian E. Granger, Ph.D.
> >>> Assistant Professor of Physics
> >>> Cal Poly State University, San Luis Obispo
> >>> bgranger at calpoly.edu
> >>> ellisonbg at gmail.com
> >>
> >>
> >
> >
> >
> > --
> > Brian E. Granger, Ph.D.
> > Assistant Professor of Physics
> > Cal Poly State University, San Luis Obispo
> > bgranger at calpoly.edu
> > ellisonbg at gmail.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20110130/ad6f7a14/attachment.html>


More information about the IPython-dev mailing list