[Debian-science-sagemath] Jupyter packages

Ximin Luo infinity0 at debian.org
Fri Jan 6 18:45:00 UTC 2017


Gordon Ball:
>>> [..]
>>>
>>>  * nbconvert (4.2.0-4 -> -5): re-enable documentation build since
>>> nbsphinx was added to repos
>>>

nbsphinx already build-depends on nbconvert so this would be a cyclic dependency. Whilst it's *possible* to set these things up in Debian it's strongly discouraged because it makes bootstrapping harder. Could you explain the details so we can try to figure out a better solution?

>>>  * ipykernel (4.5.2-1 -> -2): the test-suite appears to timeout
>>> non-deterministically; the tests are all marked as passed but it never
>>> terminates. I added a timeout in 4.5.2-1 but I didn't think this through
>>> very well - rather than the build hanging, it now fails randomly (about
>>> 1/5 it appears). (unresolved upstream bug: ipykernel#207 [1]). Given the
>>> bug timing this was probably present also in 4.5.0, so downgrading won't
>>> help. I have disabled the build-time test and added an autopkgtest which
>>> treats a timeout as passing (but should pick up any other error still).
>>>

It's not great to disable the entire testsuite, I'm hesistant to upload this. I've asked upstream if they can figure out which specific tests we could disable to avoid the hang:

https://github.com/ipython/ipykernel/issues/207#issuecomment-270962415

but if we can't figure this out in the next ~week then I'd be happy to upload.

>>>  * ipywidgets: (5.2.2-2 -> -3) build depend on m4 (not essential), patch
>>> out the warning if widgetsnbextension isn't installed; explicitly check
>>> that python2 notebook exists before falling back from python3 in
>>> postinst (I managed to encounter this error somehow removing and
>>> reinstalling packages - although I'm not quite sure how)
>>>

I made some minor changes in git, you can take a look.

I'm unsure about succeeding the postinst if neither the python/python3 modules are installed, but I'll defer to your judgement on this one, you have probably tested it more thoroughly than I. Perhaps try to reproduce it and/or add a comment describing it?

Anyway, LGTM I'm happy to upload.

>>>  * jupyter-notebook: (4.2.3-3 -> -4) don't repeatedly try to recreate
>>> /etc/jupyter/nbconfig in postinst, don't try and (harmlessly) delete
>>> /etc to avoid a scary looking warning; patch out the attempt to import
>>> ipywidgets, and replace it with a suggestion to install the
>>> jupyter-nbextension-jupyter-js-widgets package
>>>

LGTM as well.

X

-- 
GPG: ed25519/56034877E1F87C35
GPG: rsa4096/1318EFAC5FBBDBCE
https://github.com/infinity0/pubkeys.git



More information about the Debian-science-sagemath mailing list