[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#600623: unblock: jinja2/2.5.4-1



Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: freeze-exception

Please unblock package jinja2

fixes two important bugs, quote from upstream changelog:
- Fixed extensions not loading properly with overlays.
- Work around a bug in cpython for the debugger that causes segfaults
  on 64bit big-endian architectures.
- fixed an operator precedence error introduced in 2.5.2.  Statements
  like "-foo.bar" had their implicit parentheses applied around the
  first part of the expression ("(-foo).bar") instead of the more
  correct "-(foo.bar)".

from tests:
|    def test_parse_unary(self):
|        tmpl = env.from_string('{{ -foo["bar"] }}')
|        assert tmpl.render(foo={'bar': 42}) == '-42'
|        tmpl = env.from_string('{{ -foo["bar"]|abs }}')
|        assert tmpl.render(foo={'bar': 42}) == '42'

the fix is very small, hint: filter out html docs from debdiff, upstream
removed them in 2.5.5 (I asked to not re-release the same version with
different tarball), I can upload 2.5.5-1 if you prefer

unblock jinja2/2.5.4-1

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Attachment: signature.asc
Description: Digital signature


Reply to: