[Debian-science-sagemath] Sage 7.6
Ximin Luo
infinity0 at debian.org
Wed Apr 12 11:29:00 UTC 2017
Ximin Luo:
> Ximin Luo:
>> Gordon Ball:
>>> [..]
>>> * ipywidgets 5.2.2 -> 6.0.0
>>> + add phosphor 0.7.0
>>> + new internal JS package jupyter-widgets-schema
>>> + new internal JS package jupyterlab-widgets
>>> + upgrade jquery -> 3.1.1 (already in debian)
>>> + upgrade jquery-ui -> 1.12.1 (already in debian)
>>> + add font-awesome 4.5.0 (already in debian)
>>> + drop bootstrap
>>> + add ajv 4.9.0
>>> + add jupyterlab-services
>>> + add @types-backbone 1.3.33
>>> + add @types-semver 5.3.30
>>>
>>> Further dependencies:
>>>
>>> [..]
>>> * phosphor ->
>>> [..]
>>
>> For the time being, I'll omit the documentation temporarily.
>>
>
> Omitting the documentation also allows us to omit most of the above, except for phosphor (and it has no child dependencies).
>
> This is because the widgetsnbextension build, I guess, eliminates some dead code so that ajv is not actually present in extension.js - see [1] which is the output of running debian/fakewebpack-extract-source-map.py on extension.js.map. However, it does add:
>
> +./node_modules/timers-browserify/main.js
> - https://github.com/jryans/timers-browserify
> - only depends on setimmediate, connect, browserify
> - node-connect is already in Debian
> - the package is small enough that node-browserify-lite could probably work instead of browserify
> +./node_modules/setimmediate/setImmediate.js
> - already in Debian
>
> Then, it looks like the @types-backbone and @types-semvar are also not used - there are no new "backbone" or "semver" entries in that output either. I'm less sure about this however. Did you look at how the typescript stuff is used, more closely?
>
> [..]
I've finished updating the fakewebpack build-emulation for widgetsnbextension, so now "all" we have to do is package the dependencies. The typescript stuff will be a problem:
$ ipywidgets/debian$ git grep -A2 FIXME
[..]
fakewebpack-prep-tree.mk:# FIXME: doesn't work at the moment, needs a bunch of typescript dependencies
fakewebpack-prep-tree.mk-$U/jupyter-js-widgets/lib.stamp:
fakewebpack-prep-tree.mk- cd $U/jupyter-js-widgets && tsc --project src
I'm getting a lot of type errors because various dependencies / type definitions don't exist. Trying to reverse-engineer the build now...
X
--
GPG: ed25519/56034877E1F87C35
GPG: rsa4096/1318EFAC5FBBDBCE
https://github.com/infinity0/pubkeys.git
More information about the Debian-science-sagemath
mailing list