Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps,js): move to jupyterlab-manager 0.40 #153

Conversation

maartenbreddels
Copy link
Member

Change in jupyter-widgets/ipywidgets#2265 caused voila to break, as noted by @SylvainCorlay.
In order to test if jupyter-widgets/ipywidgets#2418 works in voila, we first need to move to manager 0.40.

@@ -8,7 +8,7 @@
"@jupyter-widgets/base": "^1.2.2",
"@jupyter-widgets/controls": "^1.4.2",
"@jupyter-widgets/html-manager": "^0.15.2",
"@jupyter-widgets/jupyterlab-manager": "^0.39.1",
"@jupyter-widgets/jupyterlab-manager": "^0.40.0",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you probably need to update html-manager to 0.16 then?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good question. I thought html-manager was not a dependency anymore, but it is, only for the requireLoader
https://github.com/QuantStack/voila/blob/ab241427955d6dd917e74962d6365937f9c3fffe/js/src/manager.js#L10
So it's fine I think. I'd rather see that requireLoader go into main.js, and it being an argument of the widget manager, so also this part is pluggable.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, sorry for a minute I thought that html-manager depended on jupyterlab-manager.

@maartenbreddels maartenbreddels changed the title chore(deps,js): move to jupyterlab-manager 0.40 WIP: chore(deps,js): move to jupyterlab-manager 0.40 May 24, 2019
@maartenbreddels maartenbreddels changed the title WIP: chore(deps,js): move to jupyterlab-manager 0.40 chore(deps,js): move to jupyterlab-manager 0.40 May 24, 2019
@maartenbreddels
Copy link
Member Author

Travis failure: The bundle is now so large, it refuses to build with source mapping. Locally I had to disable source mapping to build it.

@SylvainCorlay
Copy link
Member

Travis failure: The bundle is now so large, it refuses to build with source mapping. Locally I had to disable source mapping to build it.

😒

@SylvainCorlay
Copy link
Member

bumping jupyterlab-manager increases the size of the bundle so much?

@maartenbreddels
Copy link
Member Author

I'm exploring what is happening now using https://www.npmjs.com/package/webpack-bundle-analyzer

@maartenbreddels
Copy link
Member Author

It seems that bumping the manager adds +10MB in from jupyterlab, why that happens, I am not sure yet. The bundle is now ~25mb instead of ~5mb.

@SylvainCorlay
Copy link
Member

Fixed in #277

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants