Accepting request 1046499 from devel:languages:python:flask

- Add fix-tests.patch to make tests compatible with latest Flask release
 * gh#flask-admin/flask-admin#2309
 * gh#flask-admin/flask-admin#2316

OBS-URL: https://build.opensuse.org/request/show/1046499
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Flask-Admin?expand=0&rev=13
This commit is contained in:
Dominique Leuenberger 2023-01-03 14:06:20 +00:00 committed by Git OBS Bridge
commit c9504d1361
3 changed files with 1091 additions and 2 deletions

1079
fix-tests.patch Normal file

File diff suppressed because it is too large Load Diff

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Jan 3 12:02:54 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>
- Add fix-tests.patch to make tests compatible with latest Flask release
* gh#flask-admin/flask-admin#2309
* gh#flask-admin/flask-admin#2316
-------------------------------------------------------------------
Fri Jun 24 04:28:31 UTC 2022 - Steve Kowalik <steven.kowalik@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-Flask-Admin
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,7 +16,6 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-Flask-Admin
Version: 1.6.0
@ -26,6 +25,10 @@ License: BSD-3-Clause
URL: https://github.com/flask-admin/flask-admin/
Source: https://files.pythonhosted.org/packages/source/F/Flask-Admin/Flask-Admin-%{version}.tar.gz
Patch0: redirect-location-assertions.patch
# PATCH-FIX-UPSTREAM fix-tests.patch
# gh#flask-admin/flask-admin#2309
# gh#flask-admin/flask-admin#2316
Patch1: fix-tests.patch
BuildRequires: %{python_module Flask >= 0.7}
BuildRequires: %{python_module Flask-BabelEx}
BuildRequires: %{python_module Flask-SQLAlchemy}