Page MenuHomeSolus

Update python-jinja to 2.9.6
ClosedPublic

Authored by EP01 on Aug 9 2017, 9:45 PM.
Tags
  • Restricted Project
Referenced Files
F11019651: D791.id1738.diff
Sun, Aug 6, 9:47 PM
F10925238: D791.id2252.diff
Mon, Jul 10, 6:52 AM
F10816329: D791.diff
Jun 1 2023, 1:36 AM
F10781869: D791.id1738.diff
May 25 2023, 10:26 AM
F10781856: D791.diff
May 25 2023, 10:22 AM
F10781845: D791.id2252.diff
May 25 2023, 10:19 AM
F10781839: D791.id1741.diff
May 25 2023, 10:16 AM
F10731569: D791.diff
May 11 2023, 6:49 AM
Subscribers

Details

Summary

Update to 2.9.6. Many bugfixes and enhancements since 2.8, see here for changelog.

Test Plan

Installed and ran built in tests. Also, a quick example:

In [1]: from jinja2 import Template

In [2]: t = Template("Hello {{ something }}")

In [3]: t.render(something="World")
Out[3]: 'Hello World'

Diff Detail

Repository
R2606 python-jinja
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

EP01 edited the test plan for this revision. (Show Details)

There is at least one security fix since 2.8, so I'm adding the security tag.

SECURITY: if the sandbox mode is used format expressions are now sandboxed
with the same rules as in Jinja. This solves various information leakage
problems that can occur with format strings.

EP01 added a project: Restricted Project.Aug 9 2017, 9:54 PM

Add python-babel rundep for i18n functionality.

Has this been tested against reverse deps like qutebrowser?

Marking with request changes so I know from the stack list not to land it yet.

This revision now requires changes to proceed.Sep 13 2017, 10:39 AM

Just gonna test it myself :P

This revision is now accepted and ready to land.Sep 13 2017, 12:17 PM
This revision was automatically updated to reflect the committed changes.