Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #8541 > unrolled thread
| Started by | PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> |
|---|---|
| First post | 2016-05-19 21:40 +0200 |
| Last post | 2016-06-29 18:10 +0200 |
| Articles | 6 — 3 participants |
Back to article view | Back to linux.debian.maint.python
Status of ipython-qtconsole PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2016-05-19 21:40 +0200
Re: Status of ipython-qtconsole Julien Cristau <jcristau@debian.org> - 2016-05-21 16:20 +0200
RE:Status of ipython-qtconsole PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2016-06-11 18:10 +0200
Re: Status of ipython-qtconsole Gordon Ball <gordon@chronitis.net> - 2016-06-11 18:10 +0200
RE:Status of ipython-qtconsole PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2016-06-11 23:10 +0200
RE:Status of ipython-qtconsole PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2016-06-29 18:10 +0200
| From | PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> |
|---|---|
| Date | 2016-05-19 21:40 +0200 |
| Subject | Status of ipython-qtconsole |
| Message-ID | <rABXz-41A-1@gated-at.bofh.it> |
Hello, I saw that a bunch of jupyter projects were uploaded into experimental. It would be nice to have also the qtconsole part. I would like to know if there is already an effort in order to package the current ipython-qtconsole. I would be glade to help package this module. One of my package (spyder) depends on this module Cheers Frederic
[toc] | [next] | [standalone]
| From | Julien Cristau <jcristau@debian.org> |
|---|---|
| Date | 2016-05-21 16:20 +0200 |
| Message-ID | <rBfUZ-4A7-5@gated-at.bofh.it> |
| In reply to | #8541 |
On Thu, May 19, 2016 at 18:53:29 +0000, PICCA Frederic-Emmanuel wrote: > Hello, > Hi Frederic-Emmanuel, > I saw that a bunch of jupyter projects were uploaded into experimental. > It would be nice to have also the qtconsole part. > > I would like to know if there is already an effort in order to package the current > ipython-qtconsole. > > I would be glade to help package this module. > > One of my package (spyder) depends on this module > Not as far as I know. I'd be happy to review a package if that would help. Cheers, Julien
[toc] | [prev] | [next] | [standalone]
| From | PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> |
|---|---|
| Date | 2016-06-11 18:10 +0200 |
| Message-ID | <rITDY-5fl-13@gated-at.bofh.it> |
| In reply to | #8544 |
Hello Julien
> Not as far as I know. I'd be happy to review a package if that would
> help.
I just pushed here my wip package
git clone git+ssh://git.debian.org/git/python-modules/packages/python-qtconsole.git
I have debian/TODO.org file where I put the remaining things to do.
I would be glade if your could do a review (it si still work in progress)
But this is my first package for python-modules
Here the question which need to be answered before uploaded even to experimental
* qtconsole provide jupyter-qtconsole
- [ ] for python3 what is the right scheme
jupyter-qtconsole3 or jupyter3-qtconsole
the problem is that jupyter-core provide only jupyter and not jupyter3
so for now if I start
jupyter qtconsole it start a Python2 kernel
with jupyter-qtconsole3 -> jupyter qtconsole3 -> Python3
with jupyter3-qtconsole -> jupyter ????
Cheers,
Fred
Ps: I will add the -doc file :)
[toc] | [prev] | [next] | [standalone]
| From | Gordon Ball <gordon@chronitis.net> |
|---|---|
| Date | 2016-06-11 18:10 +0200 |
| Message-ID | <rITDY-5fl-11@gated-at.bofh.it> |
| In reply to | #8586 |
On 11/06/16 17:45, PICCA Frederic-Emmanuel wrote:
> Hello Julien
>
>> Not as far as I know. I'd be happy to review a package if that would
>> help.
>
> I just pushed here my wip package
>
> git clone git+ssh://git.debian.org/git/python-modules/packages/python-qtconsole.git
>
> I have debian/TODO.org file where I put the remaining things to do.
>
> I would be glade if your could do a review (it si still work in progress)
> But this is my first package for python-modules
>
> Here the question which need to be answered before uploaded even to experimental
>
> * qtconsole provide jupyter-qtconsole
>
> - [ ] for python3 what is the right scheme
> jupyter-qtconsole3 or jupyter3-qtconsole
>
> the problem is that jupyter-core provide only jupyter and not jupyter3
> so for now if I start
> jupyter qtconsole it start a Python2 kernel
>
> with jupyter-qtconsole3 -> jupyter qtconsole3 -> Python3
> with jupyter3-qtconsole -> jupyter ????
>
I think in jupyter this is meant to be handled by the --kernel option - ie
jupyter qtconsole --kernel python2
jupyter qtconsole --kernel python3
given the existence of non-python kernels (irkernel, ihaskell, iruby,
ijavascript, etc...)
>
> Cheers,
> Fred
>
>
> Ps: I will add the -doc file :)
>
[toc] | [prev] | [next] | [standalone]
| From | PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> |
|---|---|
| Date | 2016-06-11 23:10 +0200 |
| Message-ID | <rIYkh-87V-3@gated-at.bofh.it> |
| In reply to | #8587 |
> I think in jupyter this is meant to be handled by the --kernel option - ie
> jupyter qtconsole --kernel python2
ok it works
> jupyter qtconsole --kernel python3
$ jupyter qtconsole --kernel python3
Traceback (most recent call last):
File "/usr/bin/jupyter-qtconsole", line 9, in <module>
load_entry_point('qtconsole==4.2.1', 'gui_scripts', 'jupyter-qtconsole')()
File "/usr/lib/python2.7/dist-packages/qtconsole/qtconsoleapp.py", line 396, in main
JupyterQtConsoleApp.launch_instance()
File "/usr/lib/python2.7/dist-packages/jupyter_core/application.py", line 267, in launch_instance
return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs)
File "/usr/lib/python2.7/dist-packages/traitlets/config/application.py", line 595, in launch_instance
app.initialize(argv)
File "<decorator-gen-115>", line 2, in initialize
File "/usr/lib/python2.7/dist-packages/traitlets/config/application.py", line 74, in catch_config_error
return method(app, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/qtconsole/qtconsoleapp.py", line 367, in initialize
JupyterConsoleApp.initialize(self,argv)
File "/usr/lib/python2.7/dist-packages/jupyter_client/consoleapp.py", line 334, in initialize
self.init_kernel_manager()
File "/usr/lib/python2.7/dist-packages/jupyter_client/consoleapp.py", line 288, in init_kernel_manager
self.kernel_manager.start_kernel(**kwargs)
File "/usr/lib/python2.7/dist-packages/jupyter_client/manager.py", line 230, in start_kernel
kernel_cmd = self.format_kernel_cmd(extra_arguments=extra_arguments)
File "/usr/lib/python2.7/dist-packages/jupyter_client/manager.py", line 170, in format_kernel_cmd
cmd = self.kernel_spec.argv + extra_arguments
File "/usr/lib/python2.7/dist-packages/jupyter_client/manager.py", line 82, in kernel_spec
self._kernel_spec = self.kernel_spec_manager.get_kernel_spec(self.kernel_name)
File "/usr/lib/python2.7/dist-packages/jupyter_client/kernelspec.py", line 175, in get_kernel_spec
raise NoSuchKernel(kernel_name)
jupyter_client.kernelspec.NoSuchKernel: No such kernel named python3
given the existence of non-python kernels (irkernel, ihaskell, iruby,
ijavascript, etc...)
But if I list the kernel available I have just
~$ jupyter-kernelspec list
Available kernels:
python3 /usr/lib/python3/dist-packages/ipykernel/resources
so it is really strange...
Cheers
Fred
[toc] | [prev] | [next] | [standalone]
| From | PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> |
|---|---|
| Date | 2016-06-29 18:10 +0200 |
| Message-ID | <rPqdP-6kR-3@gated-at.bofh.it> |
| In reply to | #8588 |
Hello, I follow what is done with jupyter-core and distribute only the python3 scripts. so now I have these binary packages: python-qtconsole python3-qtconsole jupyter-qtconsole ipython-qtconsole ipython3-qtconsole python-qtconsole-doc where ipython-qtconsole and ipython3-qtconsole are transition package BUT for now ipython-qtconsole provide the python module and the scripts. ipython3-qtconsole depends on jupyter-qtconsole + python3-qtconsole (module + scipt) ipython-qtconsole depends on python-qtconsole (no ore scripts) is it ok like this ? or should I add to ipython-qtconsole also the jupyter-qtconsole in order to provide the command line even if it add a python3 stack. cheers Frederic
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.maint.python
csiph-web