Path to this page:
Subject: CVS commit: pkgsrc/textproc/py-jinja2
From: Adam Ciarcinski
Date: 2020-04-14 14:10:03
Message id: 20200414121003.89138FB27@cvs.NetBSD.org
Log Message:
py-jinja2: updated to 2.11.2
Version 2.11.2
Fix a bug that caused callable objects with __getattr__, like Mock to be treated \
as a contextfunction().
Update wordcount filter to trigger Undefined methods by wrapping the input in \
soft_unicode().
Fix a hang when displaying tracebacks on Python 32-bit.
Showing an undefined error for an object that raises AttributeError on access \
doesn’t cause a recursion error.
Revert changes to PackageLoader from 2.10 which removed the dependency on \
setuptools and pkg_resources, and added limited support for namespace packages. \
The changes caused issues when using Pytest. Due to the difficulty in supporting \
Python 2 and PEP 451 simultaneously, the changes are reverted until 3.0.
Fix line numbers in error messages when newlines are stripped.
The special namespace() assignment object in templates works in async environments.
Fix whitespace being removed before tags in the middle of lines when \
lstrip_blocks is enabled.
NativeEnvironment doesn’t evaluate intermediate strings during rendering. This \
prevents early evaluation which could change the value of an expression.
Files: