Skip to content
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

update jinja2 #244

Closed
wants to merge 1 commit into from
Closed

update jinja2 #244

wants to merge 1 commit into from

Conversation

samccann
Copy link
Collaborator

Based on CVE-2024-34064.

Once staticjinja produces a release with this updated jinja2 version or later, we can remove this extra line.

@samccann samccann requested a review from oraNod May 22, 2024 20:35
@samccann
Copy link
Collaborator Author

doh! if I just did nox it would have updated thsi for me.. closing this pr... be back soon.

@samccann samccann closed this May 22, 2024
@samccann samccann deleted the jinja-update branch May 22, 2024 20:47
@@ -1,5 +1,7 @@
#-c constraints.in # <-- contains known limitations

staticjinja >= 5.0.0 # generates html from templates
jinja2 >= 3.1.4 # need more recent version than staticjinja,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually staticjinja does not need this specific version. 3.1.3 was just picked by dependency resolution as the latest jinja2 release that was available when requirements/requirements.txt was built.

So removing this line again and rebuilding requirements/requirements.txt will also give you the fixed version.

(Keeping this one here is also fine, but I would remove the reference to staticjinja, since that package has nothing to do with the jinja2 version chosen. Better reference the CVE here.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants