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

Build Vega bundles separately from other code #6714

Merged
merged 4 commits into from Jun 27, 2019

Conversation

saulshanabrook
Copy link
Member

References

This fixes #6709, and is a follow up to #6572.

Code changes

It separates building
vega assets from the rest of our package management. That way, we can
avoid any hoisting issues that we were seeing (possibly from yarnpkg/yarn#5520).

User-facing changes

Fixes displaying vega lite 3

To test this, you can try this notebook which should render
both versions without errors:

https://gist.github.com/saulshanabrook/97c28550ab12e684adc3c325038537ce

Backwards-incompatible changes

This fixes jupyterlab#6709, and is a follow up to jupyterlab#6572. It separates building
vega assets from the rest of our package management. That way, we can
avoid any hoisting issues that we were seeing (possibly from yarnpkg/yarn#5520).

To test this, you can try this notebook which should render
both versions without errors:

https://gist.github.com/saulshanabrook/97c28550ab12e684adc3c325038537ce
@jupyterlab-dev-mode
Copy link

Thanks for making a pull request to JupyterLab!

To try out this branch on binder, follow this link: Binder

@blink1073
Copy link
Member

Did you mean to check in those two lock files?

@saulshanabrook
Copy link
Member Author

Yeah I did, I figure it makes the builds more reproducible?

@blink1073
Copy link
Member

Fair enough, this LGTM!

To fix integrity checks in CI
@blink1073 blink1073 merged commit 699c764 into jupyterlab:master Jun 27, 2019
@jakevdp
Copy link

jakevdp commented Jun 28, 2019

Thanks!

@lock
Copy link

lock bot commented Aug 6, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related discussion.

@lock lock bot locked as resolved and limited conversation to collaborators Aug 6, 2019
@jasongrout jasongrout added the status:resolved-locked Closed issues are locked after 30 days inactivity. Please open a new issue for related discussion. label Aug 9, 2019
@saulshanabrook saulshanabrook deleted the vega-seperate branch August 14, 2019 15:13
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
pkg:vega status:resolved-locked Closed issues are locked after 30 days inactivity. Please open a new issue for related discussion. tag:Build System
Projects
None yet
Development

Successfully merging this pull request may close these issues.

rc0: Bundled vega5 extension uses the wrong Vega-Lite version
4 participants