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

Support jupyterlite #5502

Merged
merged 3 commits into from
Nov 3, 2022
Merged

Support jupyterlite #5502

merged 3 commits into from
Nov 3, 2022

Conversation

hoxbro
Copy link
Member

@hoxbro hoxbro commented Oct 31, 2022

Fixes #5475

The solution to the problem is to use the existing notebook_extension and not the pyodide_extension inside the jupyterlite:

image

Therefore a small check is added to see if holoviews is inside jupyterlite, and depending on that, either use notebook_extension or pyodide_extension.

@codecov-commenter
Copy link

codecov-commenter commented Oct 31, 2022

Codecov Report

Merging #5502 (476f55c) into master (b66d493) will decrease coverage by 0.00%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master    #5502      +/-   ##
==========================================
- Coverage   88.09%   88.08%   -0.01%     
==========================================
  Files         302      302              
  Lines       62269    62275       +6     
==========================================
  Hits        54858    54858              
- Misses       7411     7417       +6     
Impacted Files Coverage Δ
holoviews/__init__.py 68.42% <0.00%> (-3.81%) ⬇️
holoviews/pyodide.py 0.00% <0.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@jlstevens
Copy link
Contributor

jlstevens commented Nov 1, 2022

Other than one or two minor comments, looks good to merge!

(Ignoring the issue with CI for macos of course!)

@jlstevens
Copy link
Contributor

I'm going to rebase now CI tests are passing on macos so that this can be the last code PR in the release...

@jlstevens
Copy link
Contributor

Will merge once the tests are green!

@jlstevens jlstevens merged commit 943cb28 into holoviz:master Nov 3, 2022
@hoxbro hoxbro deleted the jupyterlite_support branch November 3, 2022 09:31
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.

holoviews 1.15.1 doesn't work in Jupyterlite
3 participants