[feature] Compatibility with Jinja2 V3
See original GitHub issue- I’ve read the CONTRIBUTING guide.
Hi,
Can you add support for Jinja2 V3? Because today, all projects with Jinja2 V3 have problems with conan:
conan 1.40.3 requires Jinja2<3,>=2.9, but you have jinja2 3.0.2 which is incompatible.
Thanks.
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
Changes — Jinja Documentation (3.0.x)
Revert change to hash(Node) behavior. Nodes are hashed by id again #1521. PackageLoader works when the package is a single module file.
Read more >Jinja2 - PyPI
Jinja is a fast, expressive, extensible templating engine. Special placeholders in the template allow writing code similar to Python syntax.
Read more >Jinja2 - Python Package Health Analysis - Snyk
The python package Jinja2 was scanned for known vulnerabilities and missing license, and no issues were found. Thus the package was deemed as...
Read more >Templates - Django documentation
Since Jinja2 supports passing arguments to callables in templates, many features that require a template tag or filter in Django templates can be...
Read more >Ansible 6 Porting Guide
Fix compatibility issue for ansible 2.9.x and ansible-base 2.10.x. ... Jinja2 Controller Requirement - Jinja2 3.0.0 or newer is required for the control ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Oh, I guess you mean that Jinja v3 is a transitive dependency of Flask, and this is the root cause of the conflict.
Good, looking forward to your PR. Hopefully it has low risk (due to our commitment to stability, we shouldn’t break existing users). Thanks
Hi,
I think that normal conan users don’t use virtual env and i think that jinja2 v2 or v3 dont will make difference for conan usage.
I don’t use python things in virtual env and have this kind of problem.
I don’t know if it is a real problem for most people, but at the same time, i think that conan can use v2 or v3 without problems.
Thanks.