Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-moban-ansible for openSUSE:Factory checked in at 2022-08-19 17:56:31 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-moban-ansible (Old) and /work/SRC/openSUSE:Factory/.python-moban-ansible.new.2083 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-moban-ansible" Fri Aug 19 17:56:31 2022 rev:2 rq:998100 version:0.0.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-moban-ansible/python-moban-ansible.changes 2020-09-25 16:35:48.732118185 +0200 +++ /work/SRC/openSUSE:Factory/.python-moban-ansible.new.2083/python-moban-ansible.changes 2022-08-19 17:59:11.740442051 +0200 @@ -1,0 +2,6 @@ +Fri Aug 19 06:53:34 UTC 2022 - Steve Kowalik <steven.kowa...@suse.com> + +- Add patch remove-mock.patch: + * Use unittest.mock, rather than mock. + +------------------------------------------------------------------- New: ---- remove-mock.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-moban-ansible.spec ++++++ --- /var/tmp/diff_new_pack.kzPZr8/_old 2022-08-19 17:59:12.108442821 +0200 +++ /var/tmp/diff_new_pack.kzPZr8/_new 2022-08-19 17:59:12.112442830 +0200 @@ -1,7 +1,7 @@ # -# spec file for package python-moban-ansible +# spec file # -# Copyright (c) 2020 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 @@ -34,12 +34,11 @@ Release: 0 Summary: Ansible filters, tests and utility functions for moban users License: BSD-3-Clause -Group: Development/Languages/Python URL: https://github.com/moremoban/moban-ansible Source: https://files.pythonhosted.org/packages/source/m/moban-ansible/moban-ansible-%{version}.tar.gz # https://github.com/moremoban/moban-ansible/pull/2 Patch0: python-moban-ansible-remove-nose.patch -BuildRequires: %{python_module devel} +Patch1: remove-mock.patch BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -49,7 +48,6 @@ %if %{with test} BuildRequires: %{python_module moban >= 0.8.1} BuildRequires: %{python_module pytest} -BuildRequires: %{python_module mock} %endif # /SECTION %python_subpackages @@ -58,8 +56,7 @@ Ansible filters, tests and utility functions for moban users %prep -%setup -q -n moban-ansible-%{version} -%patch0 -p1 +%autosetup -p1 -n moban-ansible-%{version} %if !%{with test} %build ++++++ remove-mock.patch ++++++ Index: moban-ansible-0.0.2/tests/utils.py =================================================================== --- moban-ansible-0.0.2.orig/tests/utils.py +++ moban-ansible-0.0.2/tests/utils.py @@ -2,7 +2,7 @@ import os import sys from textwrap import dedent -from mock import patch +from unittest.mock import patch import unittest from moban.main import main