[Debian-science-sagemath] nbsphinx 0.5: issue with ipywidgets
Gordon Ball
gordon at chronitis.net
Tue Dec 31 13:43:25 GMT 2019
On Mon, Dec 30, 2019 at 11:11:38PM +0800, Dima Pasechnik wrote:
> On Mon, Dec 30, 2019 at 10:41 PM Jerome BENOIT <calculus at rezozer.net> wrote:
> >
> >
> >
> > On 30/12/2019 16:58, Gordon Ball wrote:
> > > On Mon, Dec 30, 2019 at 03:06:46PM +0400, Jerome BENOIT wrote:
> > >> Hello, I am on my way to package the latest version of nbsphinx.
> > >> Now nbsphinx uses ipywidgets. At one point is import ipywidgets.embed
> > >> but it appears that embed.py is not distributed while it exists upstream.
> > >> I am not that familiar with python: is it a ipywidgets packaging bug ?
> > >> an upstream nbsphinx bug ? may I use a workin around ?
> > >> Thanks in advance, Jerome
> > >
> > > I haven't looked in detail, but I would guess that it might be because
> > > we currently package a pretty outdated version of ipywidgets (6.0,
> > > current upstream is 7.5).
>
> these old versions are most probably due to the need to maintain
> python2/3 compatibility.
> Not sure what's Debian plan on this is.
>
This is not the case. Python2.7 support has already been dropped from
this package. The problem isn't the python libraries, which are
uncomplicated, but the build required for the accompanying javascript
library which provides the client-side/embedded implentation of the
widget. Upgrading from the current version requires several new packages
(phosphor, bits of jupyterlab), either packaging or emulating the build
tool they use (lerna), dealing with incompatibilities in their preferred
typescript version and the debian version, and finally bringing it all
together into a working build. Ximin did a heroic amount of work in the
past getting version 6 to work, and I haven't found time to do the same
for version 7.
> > >
> > > The build for ipywidgets is a big javascript mess. Barring extra help,
> > > it's probably unlikely to change soon.
> > >
> >
> > Thanks for the prompt reply. Unfortunately I cannot help.
> > For the record, I have just push an intermediate version of the package at Salsa.
> >
> > Cheers, Jerome
> >
> > >> --
> > >> Jerome BENOIT | calculus+at-rezozer^dot*net
> > >> https://qa.debian.org/developer.php?login=calculus@rezozer.net
> > >> AE28 AE15 710D FF1D 87E5 A762 3F92 19A6 7F36 C68B
> > >>
> > >
> > >
> > >
> > >
> > >> _______________________________________________
> > >> 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
> > >
> >
> > --
> > Jerome BENOIT | calculus+at-rezozer^dot*net
> > https://qa.debian.org/developer.php?login=calculus@rezozer.net
> > AE28 AE15 710D FF1D 87E5 A762 3F92 19A6 7F36 C68B
> >
> > _______________________________________________
> > 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