Accepting request 924494 from home:stroeder:python

update to 3.0.2

OBS-URL: https://build.opensuse.org/request/show/924494
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Jinja2?expand=0&rev=94
This commit is contained in:
Matej Cepl 2021-10-11 09:58:41 +00:00 committed by Git OBS Bridge
parent fa61b789b2
commit f40122ce9a
5 changed files with 24 additions and 19 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:703f484b47a6af502e743c9122595cc812b0271f661722403114f71a79d0f5a4
size 267938

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

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:827a0e32839ab1600d4eb1c4c33ec5a8edfbc5cb42dafa13b81f182f97784b45
size 268723

View File

@ -1,13 +0,0 @@
Index: Jinja2-3.0.1/setup.cfg
===================================================================
--- Jinja2-3.0.1.orig/setup.cfg
+++ Jinja2-3.0.1/setup.cfg
@@ -44,8 +44,6 @@ babel.extractors =
[tool:pytest]
testpaths = tests
-filterwarnings =
- error
[coverage:run]
branch = True

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Sun Oct 10 00:16:28 UTC 2021 - Michael Ströder <michael@stroeder.com>
- dropped obsolete no-warnings-as-errors.patch
- update to 3.0.2
* Fix a loop scoping bug that caused assignments in nested loops to still
be referenced outside of it. #1427
* Make compile_templates deterministic for filter and import names. #1452, #1453
* Revert an unintended change that caused Undefined to act like
StrictUndefined for the in operator. #1448
* Imported macros have access to the current template globals in async
environments. #1494
* PackageLoader will not include a current directory (.) path segment.
This allows loading templates from the root of a zip import. #1467
-------------------------------------------------------------------
Fri Sep 10 08:07:58 UTC 2021 - Steve Kowalik <steven.kowalik@suse.com>
@ -14,6 +29,11 @@ Fri Jul 9 11:03:56 UTC 2021 - Ben Greiner <code@bnavigator.de>
- clean up single-spec: Remove python2 remnants
-------------------------------------------------------------------
Sat Jun 19 12:42:15 UTC 2021 - Michael Ströder <michael@stroeder.com>
- updated upstream project URL
-------------------------------------------------------------------
Sun Jun 13 13:55:29 UTC 2021 - Michael Ströder <michael@stroeder.com>

View File

@ -24,13 +24,12 @@
%bcond_without test
%endif
Name: python-Jinja2
Version: 3.0.1
Version: 3.0.2
Release: 0
Summary: A template engine written in pure Python
License: BSD-3-Clause
URL: https://jinja.palletsprojects.com
Source: https://files.pythonhosted.org/packages/source/J/Jinja2/Jinja2-%{version}.tar.gz
Patch0: no-warnings-as-errors.patch
BuildRequires: %{python_module MarkupSafe >= 0.23}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
@ -52,7 +51,6 @@ sandboxed environment.
%prep
%setup -q -n Jinja2-%{version}
%autopatch -p1
dos2unix LICENSE.rst # Fix wrong EOL encoding
%build