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

Remove all tornado imports #3252

Merged
merged 7 commits into from
Mar 21, 2022
Merged

Remove all tornado imports #3252

merged 7 commits into from
Mar 21, 2022

Conversation

philippjfr
Copy link
Member

@philippjfr philippjfr commented Mar 18, 2022

This PR makes it so that in a pyiodide context the panel.io.server module and all tornado based imports are not run. Additionally this sets the default comm to be 'ipywidgets' so that all Panel objects are rendered using the jupyter_bokeh.BokehModel ipywidget wrapper that also works in jupyterlite.

@MarcSkovMadsen
Copy link
Collaborator

MarcSkovMadsen commented Mar 20, 2022

Jupyterlite is one client environment to run in. Another one would be pyodide directly. Imaging creating interactive apps using Python, Panel, HoloViz and PyData ecosystem without have to run a server in the background. That would be amazing.

@philippjfr philippjfr merged commit b0c8cd1 into master Mar 21, 2022
@philippjfr philippjfr deleted the tornado_import_cleanup branch March 21, 2022 23:18
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