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

Bokeh and jinja2 version conflict #141

Open
scizen9 opened this issue Mar 16, 2023 · 2 comments
Open

Bokeh and jinja2 version conflict #141

scizen9 opened this issue Mar 16, 2023 · 2 comments

Comments

@scizen9
Copy link
Contributor

scizen9 commented Mar 16, 2023

The current bokeh version specified in the environment.yml file requests bokeh~=2.0.0, but does not specify a version for jinja2, which is a dependency. The version of bokeh that installs uses the jinja2.Markup class which was deprecated in jinja2 v3.1, so if conda installs jinja2 version 3.1 or higher, the pipeline will crash trying to load jinja2.Markup.

We should either update the bokeh requirement to a version of bokeh that uses markupsafe.Markup, or specify jinja2=3.0.3, which was the last version with jinja2.Markup. Probably an update to bokeh >= 2.3.2 would solve this issue.

@yasmeenasali
Copy link

I had the same error, and installing jinja2=3.0.3 solved it. Thanks for posting the issue!

@zilishen
Copy link

Thanks for posting, I had the same error! Couldn't get the pipeline to run without this.

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

No branches or pull requests

3 participants