question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[feature] Compatibility with Jinja2 V3

See original GitHub issue

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:closed
  • Created 2 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
memshardedcommented, Dec 10, 2021

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

1reaction
paulocoutinhoxcommented, Oct 29, 2021

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found