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

error due to Jinja2 API change #12

Closed
jboynyc opened this issue Jan 2, 2023 · 3 comments
Closed

error due to Jinja2 API change #12

jboynyc opened this issue Jan 2, 2023 · 3 comments

Comments

@jboynyc
Copy link

jboynyc commented Jan 2, 2023

Unless I pin to an older version of jinja2, I get this error: module 'jinja2' has no attribute 'Markup'

This is caused by a change introduced in the 3.1 release of Jinja2.

Unfortunately pinning is not a solution when publishing datasets to cloud providers.

@numist
Copy link

numist commented Apr 13, 2023

This appears to be fixed (edit: verified locally!) but there hasn't been a new version of datasette-render-images released since then so the fix hasn't made its way out to pip.

@simonw: could you press a new release?

@bobwhitelock
Copy link

bobwhitelock commented May 24, 2023

Saw the same error, and installing the latest main from Git fixed this - @simonw can we publish a release so the default version of this plugin installed by pip works? Thanks!

simonw added a commit that referenced this issue Jun 14, 2023
@simonw
Copy link
Owner

simonw commented Jun 14, 2023

Release is out, apologies for the delay. https://github.com/simonw/datasette-render-images/releases/tag/0.4

@simonw simonw closed this as completed Jun 14, 2023
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

4 participants