[Debian-science-sagemath] Jupyter notebook dependency
Gordon Ball
gordon at chronitis.net
Tue Jul 23 09:25:38 BST 2019
On Mon, Jul 22, 2019 at 05:17:33PM +0100, Dima Pasechnik wrote:
> IIRC, one would also need an iPython update (which is held up by
> iPython stopping Python2 support)
For buster, we stuck with the IPython 5.x LTS series, which was the last
to support both python 2 and 3.
I expect to drop the python 2 version and hence be able upgrade to the latest
python3 version, but there are a lot of rdepends to untangle (unlike
jupyter-notebook, which is almost a leaf package).
(See the python2-rm tracker:
https://release.debian.org/transitions/html/python2-rm.html )
>
> On Mon, Jul 22, 2019 at 5:15 PM Ximin Luo <infinity0 at debian.org> wrote:
> >
> > Gordon Ball:
> > > Sagemath currently builds the package sagemath-jupyter, which in turn
> > > depends on python-notebook (ie, the python 2 notebook server).
> > >
> > > Jupyter notebook 6.0 has recently been released, which drops support for
> > > python 2.7.
> > >
> > > Looking in the source for sagemath, the only place I can find where the
> > > notebook is directly imported from is in
> > > src/sage/repl/ipython_kernel/install.py:313, then only to test whether
> > > the notebook server is installed. In the debian package, this file looks
> > > superfluous to me. This suggests it should be possible to depend on the
> > > python3 notebook server without compromising the ability to run the
> > > custom sagemath python2 kernel. (It's possible my fairly simple search
> > > here has missed some deeper entanglement).
> > >
> > > Would it be possible to change the notebook dependency so that I can
> > > update jupyter-notebook without causing uninstallable?
> > >
> >
> > This sounds reasonable, but you may want to test more deeply by building it and also running it afterwards as a user. Fancy dynamic-import tricks are possible in Python although I don't remember that Sage does any of that stuff.
> >
> > X
> >
> > --
> > GPG: ed25519/56034877E1F87C35
> > GPG: rsa4096/1318EFAC5FBBDBCE
> > https://github.com/infinity0/pubkeys.git
> >
> > _______________________________________________
> > Debian-science-sagemath mailing list
> > Debian-science-sagemath at alioth-lists.debian.net
> > https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-sagemath
>
> _______________________________________________
> Debian-science-sagemath mailing list
> Debian-science-sagemath at alioth-lists.debian.net
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-sagemath
More information about the Debian-science-sagemath
mailing list