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

ImportError: cannot import name 'escape' from 'jinja2' #33

Open
khufkens opened this issue Dec 5, 2022 · 1 comment
Open

ImportError: cannot import name 'escape' from 'jinja2' #33

khufkens opened this issue Dec 5, 2022 · 1 comment

Comments

@khufkens
Copy link

khufkens commented Dec 5, 2022

Failed build running into:

ImportError: cannot import name 'escape' from 'jinja2'

Per SO post due to depreciation of the escape function in more recent versions of jinja2
https://stackoverflow.com/questions/71718167/importerror-cannot-import-name-escape-from-jinja2

FIX:

force requirements by adding:

jinja2<3.1.0

to the requirements file.

@khufkens
Copy link
Author

khufkens commented Dec 5, 2022

@synesthesiam thanks for the setup btw.

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

1 participant