- Add no-warnings-as-errors.patch:

* Do not treat warnings as errors until upstream fix using async loops.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Jinja2?expand=0&rev=93
This commit is contained in:
Steve Kowalik 2021-09-10 08:08:45 +00:00 committed by Git OBS Bridge
parent 9753d3cc8e
commit fa61b789b2
3 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,13 @@
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,9 @@
-------------------------------------------------------------------
Fri Sep 10 08:07:58 UTC 2021 - Steve Kowalik <steven.kowalik@suse.com>
- Add no-warnings-as-errors.patch:
* Do not treat warnings as errors until upstream fix using async loops.
-------------------------------------------------------------------
Fri Aug 6 07:34:44 UTC 2021 - Markéta Machová <mmachova@suse.com>

View File

@ -30,6 +30,7 @@ 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}
@ -51,6 +52,7 @@ sandboxed environment.
%prep
%setup -q -n Jinja2-%{version}
%autopatch -p1
dos2unix LICENSE.rst # Fix wrong EOL encoding
%build