Skip to content

Commit

Permalink
Update dependency Jinja2 to v3.1.5 (#1863)
Browse files Browse the repository at this point in the history
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [Jinja2](https://redirect.github.com/pallets/jinja)
([changelog](https://jinja.palletsprojects.com/changes/)) | patch |
`==3.1.4` -> `==3.1.5` |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>pallets/jinja (Jinja2)</summary>

###
[`v3.1.5`](https://redirect.github.com/pallets/jinja/blob/HEAD/CHANGES.rst#Version-315)

[Compare
Source](https://redirect.github.com/pallets/jinja/compare/3.1.4...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`
- Tests decorated with `@pass_context`` can be used with the ``|select``
    filter. :issue:`1624\`
- Using `set` for multiple assignment (`a, b = 1, 2`) does not fail when
the
    target is a namespace attribute. :issue:`1413`
-   Using `set` in all branches of `{% if %}{% elif %}{% else %}` blocks
    does not cause the variable to be considered initially undefined.
    :issue:`1253`

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://redirect.github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS44MC4wIiwidXBkYXRlZEluVmVyIjoiMzkuODAuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
  • Loading branch information
slack-oss-bot authored Dec 23, 2024
1 parent 64a48c0 commit 4fe5c6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/mkdocs-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
click==8.1.7
future==1.0.0
Jinja2==3.1.4
Jinja2==3.1.5
livereload==2.7.1
lunr==0.7.0.post1
Markdown==3.7
Expand Down

0 comments on commit 4fe5c6c

Please sign in to comment.