[Debian-science-sagemath] Sage 7.6

Ximin Luo infinity0 at debian.org
Sun Apr 9 15:40:00 UTC 2017


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 have attached the output of running d/f-ex-source-map.py on jupyter-js-widgets/dist/embed.js, this will be necessary for the documentation I think. As you can see (easier if you sort it first), it *does* explicitly require ajv. However I still can't see any sign of the typescript stuff - but perhaps I'm just not reading the output correctly.

X

[1] https://anonscm.debian.org/git/python-modules/packages/ipywidgets.git/commit/?h=wip/update-fakewebpack

-- 
GPG: ed25519/56034877E1F87C35
GPG: rsa4096/1318EFAC5FBBDBCE
https://github.com/infinity0/pubkeys.git
-------------- next part --------------
webpack/bootstrap 6e13c8c1579e6bbabdc0
./lib-embed/embed-webpack.js
./node_modules/es6-promise/dist/es6-promise.js
./node_modules/process/browser.js
vertx (ignored)
./node_modules/font-awesome/css/font-awesome.css?f3dc
./node_modules/font-awesome/css/font-awesome.css
./node_modules/css-loader/lib/css-base.js
./node_modules/font-awesome/fonts/fontawesome-webfont.eot?9b26
./node_modules/font-awesome/fonts/fontawesome-webfont.eot
./node_modules/font-awesome/fonts/fontawesome-webfont.woff2
./node_modules/font-awesome/fonts/fontawesome-webfont.woff
./node_modules/font-awesome/fonts/fontawesome-webfont.ttf
./node_modules/font-awesome/fonts/fontawesome-webfont.svg
./node_modules/style-loader/addStyles.js
./node_modules/phosphor/styles/base.css?f74d
./node_modules/phosphor/styles/base.css
./css/widgets.css?ea7c
./css/widgets.css
./node_modules/ajv/dist/ajv.bundle.js
./node_modules/jupyter-widgets-schema/index.js
./node_modules/jupyter-widgets-schema/v1/state.schema.json
./node_modules/jupyter-widgets-schema/v1/view.schema.json
./lib/index.js
./lib/manager-base.js
./node_modules/underscore/underscore.js
./lib/utils.js
./node_modules/semver/semver.js
./lib/widget_string.js
./lib/widget.js
./node_modules/backbone/backbone.js
./node_modules/jquery/dist/jquery.js
./lib/nativeview.js
./node_modules/phosphor/lib/ui/widget.js
./node_modules/phosphor/lib/algorithm/iteration.js
./node_modules/phosphor/lib/core/messaging.js
./node_modules/timers-browserify/main.js
./node_modules/setimmediate/setImmediate.js
./node_modules/phosphor/lib/collections/queue.js
./node_modules/phosphor/lib/core/properties.js
./node_modules/phosphor/lib/core/signaling.js
./node_modules/phosphor/lib/ui/title.js
./lib/widget_core.js
./package.json
./lib/widget_layout.js
./lib/widget_style.js
./lib/widget_link.js
./lib/widget_bool.js
./lib/widget_button.js
./lib/widget_box.js
./node_modules/phosphor/lib/algorithm/searching.js
./node_modules/phosphor/lib/algorithm/sequence.js
./node_modules/phosphor/lib/ui/panel.js
./node_modules/phosphor/lib/algorithm/mutation.js
./node_modules/phosphor/lib/collections/vector.js
./lib/widget_image.js
./lib/widget_color.js
./lib/widget_date.js
./lib/services-shim.js
./lib/widget_int.js
./node_modules/jquery-ui/ui/widgets/slider.js
./node_modules/jquery-ui/ui/widgets/mouse.js
./node_modules/jquery-ui/ui/ie.js
./node_modules/jquery-ui/ui/version.js
./node_modules/jquery-ui/ui/widget.js
./node_modules/jquery-ui/ui/keycode.js
./node_modules/d3-format/build/d3-format.js
./lib/widget_float.js
./lib/widget_controller.js
./lib/widget_selection.js
./lib/widget_selectioncontainer.js
./lib/phosphor/tabpanel.js
./node_modules/phosphor/lib/ui/tabbar.js
./node_modules/phosphor/lib/dom/cursor.js
./node_modules/phosphor/lib/core/disposable.js
./node_modules/phosphor/lib/dom/query.js
./node_modules/phosphor/lib/ui/vdom.js
./lib/phosphor/accordion.js
./lib/phosphor/currentselection.js
./lib-embed/embed-manager.js
./node_modules/scriptjs/dist/script.js


More information about the Debian-science-sagemath mailing list