Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-Flask-SQLAlchemy for 
openSUSE:Factory checked in at 2022-05-17 17:24:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-Flask-SQLAlchemy (Old)
 and      /work/SRC/openSUSE:Factory/.python-Flask-SQLAlchemy.new.1538 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-Flask-SQLAlchemy"

Tue May 17 17:24:46 2022 rev:8 rq:977759 version:2.5.1

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-Flask-SQLAlchemy/python-Flask-SQLAlchemy.changes
  2022-03-04 00:18:41.244298465 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-Flask-SQLAlchemy.new.1538/python-Flask-SQLAlchemy.changes
        2022-05-17 17:25:10.331211151 +0200
@@ -1,0 +2,8 @@
+Tue May 17 11:46:36 UTC 2022 - pgaj...@suse.com
+
+- do not require python-mock for build
+- added patches
+  fix 
https://github.com/pallets-eco/flask-sqlalchemy/commit/20864ddfe4f9b70f20d38e5dc3f8d49c1ca99207
+  + python-Flask-SQLAlchemy-no-mock.patch
+
+-------------------------------------------------------------------

New:
----
  python-Flask-SQLAlchemy-no-mock.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-Flask-SQLAlchemy.spec ++++++
--- /var/tmp/diff_new_pack.xbp33L/_old  2022-05-17 17:25:10.747211527 +0200
+++ /var/tmp/diff_new_pack.xbp33L/_new  2022-05-17 17:25:10.751211532 +0200
@@ -25,6 +25,8 @@
 Group:          Development/Languages/Python
 URL:            https://github.com/mitsuhiko/flask-sqlalchemy
 Source:         
https://files.pythonhosted.org/packages/source/F/Flask-SQLAlchemy/Flask-SQLAlchemy-%{version}.tar.gz
+# 
https://github.com/pallets-eco/flask-sqlalchemy/commit/20864ddfe4f9b70f20d38e5dc3f8d49c1ca99207
+Patch0:         python-Flask-SQLAlchemy-no-mock.patch
 # BR krb5 - the test suite falis with krb5-mini (and users in any case will 
only ever get krb5, never krb5-mini)
 BuildRequires:  krb5
 BuildRequires:  %{python_module setuptools}
@@ -36,7 +38,6 @@
 # SECTION test requirements
 BuildRequires:  %{python_module Flask >= 0.10}
 BuildRequires:  %{python_module SQLAlchemy >= 0.8.0}
-BuildRequires:  %{python_module mock}
 BuildRequires:  %{python_module pytest}
 # /SECTION
 %python_subpackages
@@ -46,6 +47,7 @@
 
 %prep
 %setup -q -n Flask-SQLAlchemy-%{version}
+%patch0 -p1
 
 %build
 %python_build

++++++ python-Flask-SQLAlchemy-no-mock.patch ++++++
diff -upr Flask-SQLAlchemy-2.5.1.orig/tests/test_config.py 
Flask-SQLAlchemy-2.5.1/tests/test_config.py
--- Flask-SQLAlchemy-2.5.1.orig/tests/test_config.py    2022-05-17 
13:45:23.513344508 +0200
+++ Flask-SQLAlchemy-2.5.1/tests/test_config.py 2022-05-17 13:45:23.521344560 
+0200
@@ -1,6 +1,6 @@
 import os
 
-import mock
+from unittest import mock
 import pytest
 from sqlalchemy.pool import NullPool
 
diff -upr Flask-SQLAlchemy-2.5.1.orig/tests/test_utils.py 
Flask-SQLAlchemy-2.5.1/tests/test_utils.py
--- Flask-SQLAlchemy-2.5.1.orig/tests/test_utils.py     2022-05-17 
13:45:23.513344508 +0200
+++ Flask-SQLAlchemy-2.5.1/tests/test_utils.py  2022-05-17 13:45:23.521344560 
+0200
@@ -1,4 +1,4 @@
-import mock
+from unittest import mock
 
 from flask_sqlalchemy import utils
 

Reply via email to