hot-fix: Pin Jinja2 to 3.0.3 #22
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This hot fix pins the Jinja2 version to 3.0.3 due to cluster provisioning failing with the following error when it pulled the latest, which was version 3.1.0:
In reading the Jinja 3.1.0 Change Release, https://jinja.palletsprojects.com/en/3.1.x/changes/, it removed the
with_attribute:https://github.com/pallets/jinja/pull/1544/files#diff-8dbf8b15a7c614464f5bd0c738618e7efd94e1dc45cb2158b6d9b2826fab9ff1L877
and judging from the stacktrace, it appears that changes would need to be made to the Flask DebugToolBar module to resolve:
https://github.com/flask-debugtoolbar/flask-debugtoolbar/blob/master/flask_debugtoolbar/__init__.py#L62