Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-pywebpush for
openSUSE:Factory checked in at 2022-04-10 00:41:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pywebpush (Old)
and /work/SRC/openSUSE:Factory/.python-pywebpush.new.1900 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pywebpush"
Sun Apr 10 00:41:56 2022 rev:3 rq:967921 version:1.14.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pywebpush/python-pywebpush.changes
2021-09-28 19:17:28.540251044 +0200
+++
/work/SRC/openSUSE:Factory/.python-pywebpush.new.1900/python-pywebpush.changes
2022-04-10 00:41:57.365079276 +0200
@@ -1,0 +2,5 @@
+Fri Apr 8 10:03:17 UTC 2022 - [email protected]
+
+- do not require python-mock for build
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pywebpush.spec ++++++
--- /var/tmp/diff_new_pack.Al32Lk/_old 2022-04-10 00:41:58.993061173 +0200
+++ /var/tmp/diff_new_pack.Al32Lk/_new 2022-04-10 00:41:58.993061173 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-pywebpush
#
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -37,7 +37,6 @@
# SECTION test requirements
BuildRequires: %{python_module cryptography >= 2.6.1}
BuildRequires: %{python_module http-ece >= 1.1.0}
-BuildRequires: %{python_module mock >= 2.0.0}
BuildRequires: %{python_module py-vapid >= 1.5.0}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module requests >= 2.21.0}
@@ -59,6 +58,8 @@
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
+# https://github.com/web-push-libs/pywebpush/issues/146
+sed -i 's:from mock:from unittest.mock:' pywebpush/tests/test_webpush.py
%pytest
%post