Accepting request 800006 from home:jgrassler:branches:devel:languages:python

- update to 2.11.1
  * Fix a bug that caused callable objects with __getattr__, like
    :class:~unittest.mock.Mock to be treated as a
    :func:contextfunction. :issue:1145
  * Update wordcount filter to trigger :class:Undefined methods
    by wrapping the input in :func:soft_unicode. :pr:1160
  * Fix a hang when displaying tracebacks on Python 32-bit.
    :issue:1162
  * Showing an undefined error for an object that raises
    AttributeError on access doesn't cause a recursion error.
    :issue:1177
  * Revert changes to :class:~loaders.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.
    :pr:1182
  * Fix line numbers in error messages when newlines are stripped.
    :pr:1178
  * The special namespace() assignment object in templates works in
    async environments. :issue:1180
  * Fix whitespace being removed before tags in the middle of lines when
    lstrip_blocks is enabled. :issue:1138
  * :class:~nativetypes.NativeEnvironment doesn't evaluate
    intermediate strings during rendering. This prevents early
    evaluation which could change the value of an expression.
    :issue:1186

OBS-URL: https://build.opensuse.org/request/show/800006
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Jinja2?expand=0&rev=84
This commit is contained in:
Tomáš Chvátal 2020-05-04 09:56:10 +00:00 committed by Git OBS Bridge
parent 145db27d07
commit a86328d524
4 changed files with 35 additions and 4 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:93187ffbc7808079673ef52771baa950426fd664d3aad1d0fa3e95644360e250
size 258043

3
Jinja2-2.11.2.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:89aab215427ef59c34ad58735269eb58b1a5808103067f7bb9d5836c651b3bb0
size 257594

View File

@ -1,3 +1,34 @@
-------------------------------------------------------------------
Mon May 4 09:35:51 UTC 2020 - Johannes Grassler <johannes.grassler@suse.com>
- update to 2.11.1
* Fix a bug that caused callable objects with __getattr__, like
:class:~unittest.mock.Mock to be treated as a
:func:contextfunction. :issue:1145
* Update wordcount filter to trigger :class:Undefined methods
by wrapping the input in :func:soft_unicode. :pr:1160
* Fix a hang when displaying tracebacks on Python 32-bit.
:issue:1162
* Showing an undefined error for an object that raises
AttributeError on access doesn't cause a recursion error.
:issue:1177
* Revert changes to :class:~loaders.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.
:pr:1182
* Fix line numbers in error messages when newlines are stripped.
:pr:1178
* The special namespace() assignment object in templates works in
async environments. :issue:1180
* Fix whitespace being removed before tags in the middle of lines when
lstrip_blocks is enabled. :issue:1138
* :class:~nativetypes.NativeEnvironment doesn't evaluate
intermediate strings during rendering. This prevents early
evaluation which could change the value of an expression.
:issue:1186
-------------------------------------------------------------------
Wed Apr 8 11:59:35 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>

View File

@ -24,7 +24,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define oldpython python
Name: python-Jinja2
Version: 2.11.1
Version: 2.11.2
Release: 0
Summary: A template engine written in pure Python
License: BSD-3-Clause