Hello community,

here is the log from the commit of package python-Flask-Admin for 
openSUSE:Factory checked in at 2020-10-30 11:49:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-Flask-Admin (Old)
 and      /work/SRC/openSUSE:Factory/.python-Flask-Admin.new.3463 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-Flask-Admin"

Fri Oct 30 11:49:26 2020 rev:8 rq:844933 version:1.5.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-Flask-Admin/python-Flask-Admin.changes    
2020-09-29 19:04:21.165959301 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-Flask-Admin.new.3463/python-Flask-Admin.changes
  2020-10-30 11:50:11.453841391 +0100
@@ -1,0 +2,6 @@
+Thu Oct 29 20:46:47 UTC 2020 - Matej Cepl <[email protected]>
+
+- Add remove_nose.patch to remove dependency on nose
+  (gh#flask-admin/flask-admin#2047).
+
+-------------------------------------------------------------------

New:
----
  remove_nose.patch

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

Other differences:
------------------
++++++ python-Flask-Admin.spec ++++++
--- /var/tmp/diff_new_pack.JhEDbc/_old  2020-10-30 11:50:12.073841939 +0100
+++ /var/tmp/diff_new_pack.JhEDbc/_new  2020-10-30 11:50:12.077841943 +0100
@@ -25,6 +25,9 @@
 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
+# PATCH-FEATURE-UPSTREAM remove_nose.patch gh#flask-admin/flask-admin#2047 
[email protected]
+# port from nose to pytest (mostly just pure asserts)
+Patch0:         remove_nose.patch
 BuildRequires:  %{python_module Flask >= 0.7}
 BuildRequires:  %{python_module Flask-BabelEx}
 BuildRequires:  %{python_module Flask-SQLAlchemy}
@@ -33,8 +36,8 @@
 BuildRequires:  %{python_module WTForms}
 BuildRequires:  %{python_module arrow}
 BuildRequires:  %{python_module colour}
-BuildRequires:  %{python_module nose >= 1.0}
 BuildRequires:  %{python_module peewee}
+BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
@@ -60,6 +63,8 @@
 
 %prep
 %setup -q -n Flask-Admin-%{version}
+%autopatch -p1
+
 # remove contrib tests that pull in too many dependencies
 rm -rf flask_admin/tests/geoa
 rm -rf flask_admin/tests/{mongoengine,pymongo}
@@ -76,8 +81,7 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-export PYTHONDONTWRITEBYTECODE=1
-%python_expand nosetests-%{$python_bin_suffix} -e test_ajax_fk
+%pytest
 
 %files %{python_files}
 %license LICENSE

++++++ remove_nose.patch ++++++
++++ 7018 lines (skipped)


Reply via email to