From 1b24a2a8517f14b2b73a4f1bd497feab83504531a2962e54c6e807ad5a26a75c Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 12 Apr 2022 22:52:05 +0000 Subject: [PATCH] Accepting request 969397 from home:mcalabkova:branches:devel:languages:python - do not use mock OBS-URL: https://build.opensuse.org/request/show/969397 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-py-vapid?expand=0&rev=4 --- python-py-vapid.changes | 5 +++++ python-py-vapid.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/python-py-vapid.changes b/python-py-vapid.changes index bd54353..77f65ee 100644 --- a/python-py-vapid.changes +++ b/python-py-vapid.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Apr 12 09:03:27 UTC 2022 - Markéta Machová + +- do not use mock + ------------------------------------------------------------------- Wed Sep 8 04:27:28 UTC 2021 - Steve Kowalik diff --git a/python-py-vapid.spec b/python-py-vapid.spec index d645498..b19422a 100644 --- a/python-py-vapid.spec +++ b/python-py-vapid.spec @@ -1,7 +1,7 @@ # # spec file for package python-py-vapid # -# 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 @@ -33,7 +33,6 @@ Requires(postun):update-alternatives BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module cryptography >= 2.5} -BuildRequires: %{python_module mock >= 1.0.1} BuildRequires: %{python_module pytest} # /SECTION %python_subpackages @@ -43,6 +42,7 @@ VAPID header generation library. %prep %setup -q -n py-vapid-%{version} +sed -i 's/from mock import/from unittest.mock import/' py_vapid/tests/test_vapid.py %build %python_build