Skip to content

chore(deps): update jinja2 requirement from >=3.1.0 to >=3.1.6 in /scripts#10

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/pip/scripts/jinja2-gte-3.1.6
Open

chore(deps): update jinja2 requirement from >=3.1.0 to >=3.1.6 in /scripts#10
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/pip/scripts/jinja2-gte-3.1.6

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Apr 26, 2026

Updates the requirements on jinja2 to permit the latest version.

Release notes

Sourced from jinja2's releases.

3.1.6

This is the Jinja 3.1.6 security release, which fixes security issues but does not otherwise change behavior and should not result in breaking changes compared to the latest feature release.

PyPI: https://pypi.org/project/Jinja2/3.1.6/ Changes: https://jinja.palletsprojects.com/en/stable/changes/#version-3-1-6

  • The |attr filter does not bypass the environment's attribute lookup, allowing the sandbox to apply its checks. GHSA-cpwx-vrp4-4pq7
Changelog

Sourced from jinja2's changelog.

Version 3.1.6

Released 2025-03-05

  • The |attr filter does not bypass the environment's attribute lookup, allowing the sandbox to apply its checks. :ghsa:cpwx-vrp4-4pq7

Version 3.1.5

Released 2024-12-21

  • The sandboxed environment handles indirect calls to str.format, such as by passing a stored reference to a filter that calls its argument. :ghsa:q2x7-8rv6-6q7h
  • Escape template name before formatting it into error messages, to avoid issues with names that contain f-string syntax. :issue:1792, :ghsa:gmj6-6f8f-6699
  • Sandbox does not allow clear and pop on known mutable sequence types. :issue:2032
  • Calling sync render for an async template uses asyncio.run. :pr:1952
  • Avoid unclosed auto_aiter warnings. :pr:1960
  • Return an aclose-able AsyncGenerator from Template.generate_async. :pr:1960
  • Avoid leaving root_render_func() unclosed in Template.generate_async. :pr:1960
  • Avoid leaving async generators unclosed in blocks, includes and extends. :pr:1960
  • The runtime uses the correct concat function for the current environment when calling block references. :issue:1701
  • Make |unique async-aware, allowing it to be used after another async-aware filter. :issue:1781
  • |int filter handles OverflowError from scientific notation. :issue:1921
  • Make compiling deterministic for tuple unpacking in a {% set ... %} call. :issue:2021
  • Fix dunder protocol (copy/pickle/etc) interaction with Undefined objects. :issue:2025
  • Fix copy/pickle support for the internal missing object. :issue:2027
  • Environment.overlay(enable_async) is applied correctly. :pr:2061
  • The error message from FileSystemLoader includes the paths that were searched. :issue:1661
  • PackageLoader shows a clearer error message when the package does not contain the templates directory. :issue:1705
  • Improve annotations for methods returning copies. :pr:1880
  • urlize does not add mailto: to values like @a@b. :pr:1870

... (truncated)

Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [jinja2](https://github.com/pallets/jinja) to permit the latest version.
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst)
- [Commits](pallets/jinja@3.1.0...3.1.6)

---
updated-dependencies:
- dependency-name: jinja2
  dependency-version: 3.1.6
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependabot Dependabot: dependabot dependencies Pull requests that update a dependency file python Dependabot: python labels Apr 26, 2026
@dependabot dependabot Bot requested a review from karlspace as a code owner April 26, 2026 06:32
@dependabot dependabot Bot added dependabot Dependabot: dependabot python Dependabot: python labels Apr 26, 2026
@github-actions
Copy link
Copy Markdown

AI Analysis

Technical Summary:

This pull request updates the Jinja2 dependency requirement in the /scripts directory from version >=3.1.0 to >=3.1.6. The primary motivation is to allow the use of the latest patch release of Jinja2 (3.1.6), which is a security release addressing sandbox escape vulnerabilities related to the |attr filter.

Technical Requirements and Constraints:

  • The update changes only the minimum version constraint for Jinja2, widening compatibility to include the 3.1.6 release and any later 3.1.x versions.
  • No code changes to the scripts themselves are indicated, implying backward compatibility with the existing codebase.
  • The new version fixes a security vulnerability without breaking API changes.

Implementation Considerations:

  • Dependency management tools (e.g., pip, poetry, etc.) need to resolve Jinja2 to at least version 3.1.6 during future installs or builds.

This summary was automatically generated by AI to help with triage and may not be 100% accurate.

Suggested Labels: security test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependabot Dependabot: dependabot dependencies Pull requests that update a dependency file python Dependabot: python

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants