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

Update to #1597

Closed
feede7 opened this issue Feb 18, 2022 · 1 comment
Closed

Update to #1597

feede7 opened this issue Feb 18, 2022 · 1 comment

Comments

@feede7
Copy link

feede7 commented Feb 18, 2022

I think that this release broke the use of jinja2!

image

 venv/lib/python3.7/site-packages/amaranth/build/plat.py:6: in <module>
     import jinja2
 venv/lib/python3.7/site-packages/jinja2/__init__.py:12: in <module>
     from .environment import Environment
 venv/lib/python3.7/site-packages/jinja2/environment.py:25: in <module>
     from .defaults import BLOCK_END_STRING
 venv/lib/python3.7/site-packages/jinja2/defaults.py:3: in <module>
     from .filters import FILTERS as DEFAULT_FILTERS  # noqa: F401
 venv/lib/python3.7/site-packages/jinja2/filters.py:13: in <module>
     from markupsafe import soft_unicode
 E   ImportError: cannot import name 'soft_unicode' from 'markupsafe' 

Environment:

  • Python version: python3.7
  • Jinja version: Jinja2-2.11.3
@ThiefMaster
Copy link
Member

Duplicate of #1585

You are using an unsupported version of Jinja, please update to the latest version if possible. Additionally, please read https://hynek.me/articles/semver-will-not-save-you/, then use a tool like pip-tools to pin your dependencies and control when you get updates. Be sure to run your tests with deprecation warnings treated as errors so that you get notified of these types of changes early.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 5, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants