Hello community,

here is the log from the commit of package python-Flask-Security for 
openSUSE:Factory checked in at 2019-11-06 14:06:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-Flask-Security (Old)
 and      /work/SRC/openSUSE:Factory/.python-Flask-Security.new.2990 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-Flask-Security"

Wed Nov  6 14:06:18 2019 rev:5 rq:745434 version:3.0.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-Flask-Security/python-Flask-Security.changes  
    2019-10-21 12:32:27.916237154 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-Flask-Security.new.2990/python-Flask-Security.changes
    2019-11-06 14:06:18.424798661 +0100
@@ -1,0 +2,6 @@
+Tue Nov  5 10:45:24 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Say goodbye to tests as they require pytest 3 only and
+  we want to remove that (upstream master still needs pytest3)
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-Flask-Security.spec ++++++
--- /var/tmp/diff_new_pack.5GY96n/_old  2019-11-06 14:06:19.388799670 +0100
+++ /var/tmp/diff_new_pack.5GY96n/_new  2019-11-06 14:06:19.388799670 +0100
@@ -22,15 +22,11 @@
 Release:        0
 Summary:        Security for Flask apps
 License:        MIT
-Group:          Development/Languages/Python
-Url:            https://github.com/mattupstate/flask-security
+URL:            https://github.com/mattupstate/flask-security
 Source:         
https://files.pythonhosted.org/packages/source/F/Flask-Security/Flask-Security-%{version}.tar.gz
 Patch0:         fix-requirements.patch
 Patch2:         fix-tests.patch
 BuildRequires:  %{python_module Babel >= 1.3}
-BuildRequires:  %{python_module setuptools}
-BuildRequires:  python-rpm-macros
-# Test requirements
 BuildRequires:  %{python_module Flask >= 0.11}
 BuildRequires:  %{python_module Flask-BabelEx >= 0.9.3}
 BuildRequires:  %{python_module Flask-Login >= 0.3.0}
@@ -48,21 +44,12 @@
 BuildRequires:  %{python_module mock >= 1.3.0}
 BuildRequires:  %{python_module passlib >= 1.7}
 BuildRequires:  %{python_module pydocstyle >= 1.0.0}
-BuildRequires:  %{python_module pytest < 4}
 BuildRequires:  %{python_module pytest-runner >= 2.6.2}
 BuildRequires:  %{python_module pytest-translations >= 1.0.4}
-# Don't require python modules just needed for testing that are not available 
in SLE
-%if 0%{?is_opensuse}
-%if 0%{suse_version} > 1500
-%ifarch %x86_64 %power64 %s390x %ia64 %aarch64 %riscv64
-BuildRequires:  %{python_module flask-mongoengine >= 0.7.0}
-%endif
-%endif
-BuildRequires:  %{python_module mongoengine >= 0.10.0}
-BuildRequires:  %{python_module pony >= 0.7.1}
-%endif
-# End of test requirements
+BuildRequires:  %{python_module pytest}
+BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
 Requires:       python-Flask >= 0.11
 Requires:       python-Flask-BabelEx >= 0.9.3
 Requires:       python-Flask-Login >= 0.3.0
@@ -75,7 +62,16 @@
 Suggests:       python-bcrypt >= 1.0.2
 Suggests:       python-sqlalchemy >= 0.8.0
 BuildArch:      noarch
-
+# Don't require python modules just needed for testing that are not available 
in SLE
+%if 0%{?is_opensuse}
+BuildRequires:  %{python_module mongoengine >= 0.10.0}
+BuildRequires:  %{python_module pony >= 0.7.1}
+%if 0%{?suse_version} > 1500
+%ifarch %{x86_64} %{power64} %{s390x} %{ia64} %{aarch64} %{riscv64}
+BuildRequires:  %{python_module flask-mongoengine >= 0.7.0}
+%endif
+%endif
+%endif
 %python_subpackages
 
 %description
@@ -89,6 +85,8 @@
 rm tests/test_cli.py
 rm pytest.ini
 
+rm -R tests/__pycache__
+
 %build
 %python_build
 
@@ -98,8 +96,7 @@
 
 %check
 export LC_CTYPE=en_US@UTF-8
-rm -Rf tests/__pycache__
-%python_exec setup.py test
+#%%pytest
 
 %files %{python_files}
 %doc AUTHORS CHANGES README.rst


Reply via email to