-
Notifications
You must be signed in to change notification settings - Fork 1
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
Fix Bokeh/ Panel version problems #7
Comments
Here are some thoughts on the version issues
Or even better solve the below problem so that custom inclusion of resources is not needed. # Not relying on panel to include pyviz resources, except while running
# inside Jupyter, because sometimes when panel is serving multiple notebooks
# simultaneously panel will include in a notebook page resources that are
# only needed in pages of other notebooks. |
And for Panel the panel.min.js is in panel\dist\panel.min.js. And as I understand it there will be a CDN from Panel 0.10.0. The the question for Panel is the panel.css. Where to get that from? |
Maybe the information can be compiled for each version of Panel by just creating a template with all extensions and then extracting the head scripts Maybe it could even be done on demand by Panel and I guess there is no need to serve them as Panel and Bokeh are already being served by Panel and the rest are on a CDN. |
I believe the Bokeh resources to be served can be found via the code in https://github.com/bokeh/bokeh/blob/branch-2.3/bokeh/resources.py. No need to hard code them or create advanced functionality for that is my hypothesis. |
And I don't know for sure. But I can see that there has been changes in Panel within the last 3 months to make sure the css and js served is unique for each document. |
Definitely the versions of panel and bokeh locally served need to be updated. Thanks to highlighting how out of date they are. The CDN option is not my priority. My reporting needs to be servable on-premises, even when there is no access to the Internet. Serving the reports locally without internet dependencies was one of the main reasons for me to create |
I'm running Panel 0.9.7 and Bokeh 2.2.1 and panel-components 0.1.1 and it does not work together.
I get a
Error rendering Bokeh items: either 'docid' or 'sessionid' was expected..
. See #5 (comment).The problem is that the
sessionid
is something from an old version of Bokeh.Solution
Alternatively automatically use the version of Bokeh and Panel assets compatible with the installed version of Panel and Bokeh.
Alternative context
Currently the pyproject.toml states
which as I understand it is incorrect.
The text was updated successfully, but these errors were encountered: