Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-mailman-hyperkitty for
openSUSE:Factory checked in at 2022-05-26 18:44:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-mailman-hyperkitty (Old)
and /work/SRC/openSUSE:Factory/.python-mailman-hyperkitty.new.2254 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-mailman-hyperkitty"
Thu May 26 18:44:14 2022 rev:4 rq:979359 version:1.2.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-mailman-hyperkitty/python-mailman-hyperkitty.changes
2021-11-20 02:39:53.136632572 +0100
+++
/work/SRC/openSUSE:Factory/.python-mailman-hyperkitty.new.2254/python-mailman-hyperkitty.changes
2022-05-26 18:44:26.389204542 +0200
@@ -1,0 +2,8 @@
+Thu May 26 08:46:16 UTC 2022 - [email protected]
+
+- do not use python-mock for build
+- added patches
+ fix https://gitlab.com/mailman/mailman-hyperkitty/-/issues/28
+ + python-mailman-hyperkitty-no-mock.patch
+
+-------------------------------------------------------------------
New:
----
python-mailman-hyperkitty-no-mock.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-mailman-hyperkitty.spec ++++++
--- /var/tmp/diff_new_pack.ljzg8j/_old 2022-05-26 18:44:26.865205097 +0200
+++ /var/tmp/diff_new_pack.ljzg8j/_new 2022-05-26 18:44:26.881205115 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-mailman-hyperkitty
#
-# 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
@@ -26,6 +26,8 @@
License: GPL-3.0-only
URL: https://gitlab.com/mailman/mailman-hyperkitty/
Source:
https://files.pythonhosted.org/packages/source/m/mailman-hyperkitty/mailman-hyperkitty-%{version}.tar.gz
+# https://gitlab.com/mailman/mailman-hyperkitty/-/issues/28
+Patch0: python-mailman-hyperkitty-no-mock.patch
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@@ -36,7 +38,6 @@
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module mailman}
-BuildRequires: %{python_module mock}
BuildRequires: %{python_module nose2}
BuildRequires: %{python_module requests}
BuildRequires: %{python_module setuptools}
++++++ python-mailman-hyperkitty-no-mock.patch ++++++
Index: mailman-hyperkitty-1.2.0/mailman_hyperkitty/tests/test_archiver.py
===================================================================
--- mailman-hyperkitty-1.2.0.orig/mailman_hyperkitty/tests/test_archiver.py
+++ mailman-hyperkitty-1.2.0/mailman_hyperkitty/tests/test_archiver.py
@@ -32,7 +32,7 @@ from textwrap import dedent
from unittest import TestCase
import requests
-from mock import Mock, patch
+from unittest.mock import Mock, patch
from mailman.config import config
from mailman.email.message import Message
from mailman.testing.layers import ConfigLayer