From a86328d5240461af6740c9fa3ba660ac639fa822ba8e8b69534e4d39d22a0b1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 4 May 2020 09:56:10 +0000 Subject: [PATCH] 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 --- Jinja2-2.11.1.tar.gz | 3 --- Jinja2-2.11.2.tar.gz | 3 +++ python-Jinja2.changes | 31 +++++++++++++++++++++++++++++++ python-Jinja2.spec | 2 +- 4 files changed, 35 insertions(+), 4 deletions(-) delete mode 100644 Jinja2-2.11.1.tar.gz create mode 100644 Jinja2-2.11.2.tar.gz diff --git a/Jinja2-2.11.1.tar.gz b/Jinja2-2.11.1.tar.gz deleted file mode 100644 index ccf186c..0000000 --- a/Jinja2-2.11.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:93187ffbc7808079673ef52771baa950426fd664d3aad1d0fa3e95644360e250 -size 258043 diff --git a/Jinja2-2.11.2.tar.gz b/Jinja2-2.11.2.tar.gz new file mode 100644 index 0000000..6b318d2 --- /dev/null +++ b/Jinja2-2.11.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:89aab215427ef59c34ad58735269eb58b1a5808103067f7bb9d5836c651b3bb0 +size 257594 diff --git a/python-Jinja2.changes b/python-Jinja2.changes index c5a227f..f368a37 100644 --- a/python-Jinja2.changes +++ b/python-Jinja2.changes @@ -1,3 +1,34 @@ +------------------------------------------------------------------- +Mon May 4 09:35:51 UTC 2020 - Johannes Grassler + +- 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 diff --git a/python-Jinja2.spec b/python-Jinja2.spec index f62b585..4cff8f3 100644 --- a/python-Jinja2.spec +++ b/python-Jinja2.spec @@ -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