Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-requests-mock for openSUSE:Factory checked in at 2023-02-03 22:04:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-requests-mock (Old) and /work/SRC/openSUSE:Factory/.python-requests-mock.new.4462 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-requests-mock" Fri Feb 3 22:04:33 2023 rev:20 rq:1062543 version:1.10.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-requests-mock/python-requests-mock.changes 2023-01-10 14:58:56.480927254 +0100 +++ /work/SRC/openSUSE:Factory/.python-requests-mock.new.4462/python-requests-mock.changes 2023-02-03 22:17:07.763369548 +0100 @@ -1,0 +2,6 @@ +Wed Feb 1 20:37:16 UTC 2023 - Dirk Müller <dmuel...@suse.com> + +- switch to run tests with pytest +- build with all python flavors for SLE 15 SP4+ + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-requests-mock.spec ++++++ --- /var/tmp/diff_new_pack.KB80N8/_old 2023-02-03 22:17:08.123370942 +0100 +++ /var/tmp/diff_new_pack.KB80N8/_new 2023-02-03 22:17:08.127370958 +0100 @@ -28,15 +28,12 @@ BuildRequires: %{python_module fixtures} BuildRequires: %{python_module pbr} BuildRequires: %{python_module purl} -BuildRequires: %{python_module purl} BuildRequires: %{python_module pytest} BuildRequires: %{python_module requests >= 2.3} BuildRequires: %{python_module requests-futures} BuildRequires: %{python_module six} -BuildRequires: %{python_module testrepository >= 0.0.18} -BuildRequires: %{python_module testtools} BuildRequires: python-rpm-macros -%if 0%{suse_version} >= 1550 +%if 0%{suse_version} >= 1550 || (0%{?suse_version} == 1500 && 0%{?sle_version} >= 154000) BuildRequires: %{python_module dbm} %else BuildRequires: python3-dbm @@ -65,19 +62,11 @@ %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%pytest tests/pytest - -mv .testr.conf .testr.conf.orig -%{python_expand # first line can't be empty -rm -rf .testrepository -sed 's/python /$python /' .testr.conf.orig >| .testr.conf -testr init -testr run --parallel -} +%pytest tests %files %{python_files} %license LICENSE %doc AUTHORS README.rst ChangeLog -%{python_sitelib}/* +%{python_sitelib}/requests_mock* %changelog