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

latest jinja2 brakes the HSM config interpretation #21

Open
polto opened this issue Sep 20, 2022 · 3 comments
Open

latest jinja2 brakes the HSM config interpretation #21

polto opened this issue Sep 20, 2022 · 3 comments

Comments

@polto
Copy link

polto commented Sep 20, 2022

Seems jinja2 has change a bit and ckbunker need some adaptation.

I am having this error with jinja2 version 3.1.2:

AttributeError: module 'jinja2' has no attribute 'escape'

Reading https://jinja.palletsprojects.com/en/3.1.x/changes/ I see

Markup and escape should be imported from MarkupSafe.

I downgraded to 3.0.3 and now everything works well.

pip uninstall jinja2
pip install jinja2==3.0.3

@scgbckbone
Copy link
Collaborator

scgbckbone commented Sep 21, 2022

hi @polto, thanks for pointing this out. Seems like this commit already fixed the issue and you do not need to rely on older jinja2 library. Make sure to update/pull changes from remote.

@scgbckbone
Copy link
Collaborator

thanks for this @polto - opened PR #22

@scgbckbone
Copy link
Collaborator

#22 merged

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

2 participants