Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-musicbrainzngs for
openSUSE:Factory checked in at 2022-04-27 21:41:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-musicbrainzngs (Old)
and /work/SRC/openSUSE:Factory/.python-musicbrainzngs.new.1538 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-musicbrainzngs"
Wed Apr 27 21:41:09 2022 rev:4 rq:972989 version:0.7.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-musicbrainzngs/python-musicbrainzngs.changes
2020-01-22 22:47:00.976598148 +0100
+++
/work/SRC/openSUSE:Factory/.python-musicbrainzngs.new.1538/python-musicbrainzngs.changes
2022-04-27 21:41:14.621007517 +0200
@@ -1,0 +2,6 @@
+Wed Apr 27 02:31:39 UTC 2022 - Steve Kowalik <[email protected]>
+
+- Re-enable the test suite, it uses fakes to avoid network access.
+- Switch to using pytest.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-musicbrainzngs.spec ++++++
--- /var/tmp/diff_new_pack.uZ62UO/_old 2022-04-27 21:41:15.097008078 +0200
+++ /var/tmp/diff_new_pack.uZ62UO/_new 2022-04-27 21:41:15.105008087 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-musicbrainzngs
#
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2015 LISA GmbH, Bingen, Germany.
#
# All modifications and additions to the file contributed by third parties
@@ -18,16 +18,14 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-# Tests require network connection
-%bcond_with test
Name: python-musicbrainzngs
Version: 0.7.1
Release: 0
Summary: Python bindings for musicbrainz NGS webservice
License: BSD-2-Clause
-Group: Development/Languages/Python
URL: https://python-musicbrainzngs.readthedocs.org/
Source:
https://files.pythonhosted.org/packages/source/m/musicbrainzngs/musicbrainzngs-%{version}.tar.gz
+BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@@ -48,10 +46,8 @@
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
-%if %{with test}
%check
-%python_exec setup.py test
-%endif
+%pytest
%files %{python_files}
%license COPYING