Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #8708

Re: Packaging/installing jupyter kernels

Path csiph.com!news.mixmin.net!news.unit0.net!news.panservice.it!bofh.it!news.nic.it!robomod
From Julien Puydt <julien.puydt@laposte.net>
Newsgroups linux.debian.maint.python
Subject Re: Packaging/installing jupyter kernels
Date Fri, 05 Aug 2016 22:30:02 +0200
Message-ID <s2TUK-3Xw-11@gated-at.bofh.it> (permalink)
References <s2MTf-7El-23@gated-at.bofh.it> <s2NcB-80H-9@gated-at.bofh.it> <s2SvD-2Re-5@gated-at.bofh.it>
X-Original-To debian-python@lists.debian.org
X-Mailbox-Line From debian-python-request@lists.debian.org Fri Aug 5 20:24:20 2016
Old-Return-Path <julien.puydt@laposte.net>
X-Amavis-Spam-Status No, score=-8.285 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FOURLA=0.1, FREEMAIL_FROM=0.001, LDO_WHITELIST=-5, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-1.287, SARE_FREE_WEBM_LAPOSTE=0.721] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -3.7
Dkim-Signature v=1; a=rsa-sha256; c=simple/simple; d=laposte.net; s=mail0; t=1470428640; bh=TPTUGv3W+mO8oyk7ZoWH/M5PiMZHyg2PZkW97NcVRXQ=; h=Subject:To:References:From:Date:In-Reply-To; b=dVHg9glLDbtKY/G2xVAYh8L16vExWm1aU6B6t6QfwTudYMBe4m+Ey6ZR7JsnvdvXp ebOgwzHS9TBcjAH3/+JxCD0Y1acx1Wm21son1G2pjPlAGTNrX2jPpYB9TrLa2Rjxwx pA/onAy1Zkea1BBadtpqpwJDIwpLNm+zc/VxK0mMLgbolyu8KlDvmbEf7zuklYdutc ZCc4lsGvUX0kwTGcGci9gJ8ovHBfzhDt19RlASiFK1SfH0KPh8Hfkc3CIGc8o0BZkw G+LIdzGo115r4VZy8GUfSD/qPMcGILAkJtWL8BuaPHk4MF6rTxJ5eZz6ZNAcit2qee JD44JksnmtIUw==
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.2.0
MIME-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 7bit
X-Vr-Srcip 88.180.16.216
X-Vr-Cause-1 gggruggvucftvghtrhhoucdtuddrfeeltddrkeeggddugeejucetufdoteggodetrfdotffvucfrrhho
X-Vr-Cause-2 fhhilhgvmecunfetrffquffvgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefuvfhfhffk
X-Vr-Cause-3 ffgfgggjtgfgsehtjeertddtfeejnecuhfhrohhmpefluhhlihgvnhcurfhuhiguthcuoehjuhhlihgv
X-Vr-Cause-4 nhdrphhuhigutheslhgrphhoshhtvgdrnhgvtheqnecukfhppeekkedrudektddrudeirddvudeinecu
X-Vr-Cause-5 rfgrrhgrmhepmhhouggvpehsmhhtphhouhhtpdhhvghloheplgduledvrdduieekrddurdduudgnpdhi
X-Vr-Cause-6 nhgvthepkeekrddukedtrdduiedrvdduiedpmhgrihhlfhhrohhmpehjuhhlihgvnhdrphhuhiguthes
X-Vr-Cause-7 lhgrphhoshhtvgdrnhgvthdprhgtphhtthhopeguvggsihgrnhdqphihthhhohhnsehlihhsthhsrdgu
X-Vr-Cause-8 vggsihgrnhdrohhrgh
X-Vr-Avstate No
X-Mailing-List <debian-python@lists.debian.org> archive/latest/14048
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/0d36c763-a0d9-726b-9db4-5edfa7671d41@laposte.net
Approved robomod@news.nic.it
Lines 50
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Fri, 5 Aug 2016 22:23:59 +0200
X-Original-Message-ID <0d36c763-a0d9-726b-9db4-5edfa7671d41@laposte.net>
X-Original-References <a442f3b7-9b07-a203-3b28-ee53ebc6003d@chronitis.net> <6f5b7915-de32-e876-28ad-6c6349400b05@laposte.net> <eda14ce0-3f39-97ac-d4aa-2ee758b38409@chronitis.net>
Xref csiph.com linux.debian.maint.python:8708

Show key headers only | View raw



On 05/08/2016 20:57, Gordon Ball wrote:
> On 05/08/16 15:17, Julien Puydt wrote:
>> Hi,
>>
>> On 05/08/2016 14:07, Gordon Ball wrote:
>>> Jupyter has been in experimental for a while and presumably will make it
>>> to unstable in the not too distant future.
>>
>> I don't think that will happen that early... there are a few things not
>> ready yet and what is there isn't perfect yet. Help is welcome!
>
> I might be able to help. What are the outstanding issues/blockers?
>
> (I'm not actually a DPMT/PAPT member, but this might be a good time to
> join).

I'm trying to finish nbconvert, with the notebook to come -- last time I 
had a look, we (Debian) were lacking javascript packages. So perhaps you 
need not join the DPMT after all :-P

If you don't feel good with packaging javascript, you could also launch 
ipython (the one in experimental) and try to run a few commands in them. 
You should get a few warnings : those are hints something isn't quite right.

>>
>>> Once that is done, what is the correct way for packages providing a
>>> jupyter kernel to install it?
>>>
>>>  * manually install kernel.json in /usr/share/jupyter/kernels/<pkgname>?
>>>  * build-depend on python3-jupyter-core and call `jupyter kernelspec
>>> install` during build?
>>>  * runtime-depend and install in postinst instead?
>>>  * (something else)
>>
>> No idea.
>
> Example: xonsh (a python-based shell) includes a kernel and tries to
> install it from setup.py (currently disabled by not having jupyter
> available at build time). But it sounds like the question is premature.
>

See above for ideas what to do -- but you can also try to find out what 
the better scheme to ship jupyter kernel is... I don't think anybody 
wondered seriously about it yet. :-)

Cheers,

Snark on #debian-python

Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Packaging/installing jupyter kernels Gordon Ball <gordon@chronitis.net> - 2016-08-05 15:00 +0200
  Re: Packaging/installing jupyter kernels Julien Puydt <julien.puydt@laposte.net> - 2016-08-05 15:20 +0200
    Re: Packaging/installing jupyter kernels Gordon Ball <gordon@chronitis.net> - 2016-08-05 21:00 +0200
      Re: Packaging/installing jupyter kernels Julien Puydt <julien.puydt@laposte.net> - 2016-08-05 22:30 +0200
  Re: Packaging/installing jupyter kernels Julien Cristau <jcristau@debian.org> - 2016-08-05 22:40 +0200

csiph-web