-
Notifications
You must be signed in to change notification settings - Fork 985
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
[bug] Conan broken for <1.44 due to breaking change in Markupsafe (2.1) affecting Jinja2 (2.11) #10611
Comments
As a workaround, after installing conan<1.44 you can do:
to override the broken version |
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. |
@davidism Please, once you have demonstrated how you care about your users and the ecosystem, don't come here to tell us how to manage the dependencies (in a repository of a package manager). You are breaking because "it is unsupported", ok, enough. Thanks. To the Conan users, we are going to backport (we still don't know how many versions) the patch to the releases <1.44 ASAP, because WE DO CARE. |
@czoido Thanks! that got us running again!
|
Looks like Another thought, should Jinja2 be forced to be Line 13 in 5e3b304
Thanks for looking into this! |
We explicitly keep Jinja 2.9, because some users are jointly using Conan and Jinja2 and they have specific requirements on Jinja2, so we were trying not to break them because of using a too restrictive one. The thing is that Jinja2 2.11.3 do still work, just by pinning Markupsafe==2.0.1 instead of letting it go to 2.1, so maybe it better to leave it as-is |
Thanks for the clarification, that makes sense! So you will be adopting the |
Lucky us who use poetry with its lockfile features to install conan (and all other stuff) 😅 |
Main issue in Jinja tracker: pallets/jinja#1587
The text was updated successfully, but these errors were encountered: