Hello community,
here is the log from the commit of package python-fields for openSUSE:Factory checked in at 2019-03-29 20:39:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-fields (Old)
and /work/SRC/openSUSE:Factory/.python-fields.new.25356 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-fields"
Fri Mar 29 20:39:01 2019 rev:2 rq:689403 version:5.0.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-fields/python-fields.changes 2019-02-14 14:33:21.695652541 +0100
+++ /work/SRC/openSUSE:Factory/.python-fields.new.25356/python-fields.changes 2019-03-29 20:39:02.850689358 +0100
@@ -1,0 +2,5 @@
+Thu Mar 28 15:33:17 UTC 2019 - Tomáš Chvátal
+
+- Remove pytest-benchmark dependency to avoid buildcycle
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-fields.spec ++++++
--- /var/tmp/diff_new_pack.t4owRJ/_old 2019-03-29 20:39:03.426689300 +0100
+++ /var/tmp/diff_new_pack.t4owRJ/_new 2019-03-29 20:39:03.430689299 +0100
@@ -28,7 +28,6 @@
BuildRequires: %{python_module attr}
BuildRequires: %{python_module characteristic}
BuildRequires: %{python_module devel}
-BuildRequires: %{python_module pytest-benchmark}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
@@ -47,6 +46,10 @@
%prep
%setup -q -n fields-%{version}
+# do not do benchmark tests, in virtual they don't make much sense and we
+# avoid cycle with pytest-benchmark
+sed -i -e '/--benchmark-disable/d' setup.cfg
+rm tests/test_perf.py
%build
%python_build
@@ -56,7 +59,7 @@
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
-%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} tests/
+%pytest
%files %{python_files}
%license LICENSE