Environment:
- Python version: 3.9.5
- Jinja version: 3.0.0
Issue:
I updated a decently large project to use Flask 2.0 / Jinja 3.0 and now I'm seeing this deprecation warning when I start the app:
python3.9/site-packages/jinja2/environment.py:119: DeprecationWarning: The 'with' extension is
deprecated and will be removed in Jinja 3.1. This is built in now.
result[extension.identifier] = extension(environment)
In my application I am referencing includes like {% include 'example.html' with context %}. It sounds like at the app level with is still supported but something internally to Jinja 3 needs to change?
Environment:
Issue:
I updated a decently large project to use Flask 2.0 / Jinja 3.0 and now I'm seeing this deprecation warning when I start the app:
In my application I am referencing includes like
{% include 'example.html' with context %}. It sounds like at the app levelwithis still supported but something internally to Jinja 3 needs to change?