From d6df37aba68ccf7fe767ca9a4237b2bd0d2459a4d53e26f06c42dd90e3f1c76d Mon Sep 17 00:00:00 2001 From: Benjamin Greiner Date: Thu, 31 Mar 2022 21:57:53 +0000 Subject: [PATCH] Accepting request 966294 from home:bnavigator:branches:devel:languages:python:numeric - Replace a stray mock import by unittest.mock OBS-URL: https://build.opensuse.org/request/show/966294 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-scikit-build?expand=0&rev=16 --- python-scikit-build.changes | 5 +++++ python-scikit-build.spec | 1 + 2 files changed, 6 insertions(+) diff --git a/python-scikit-build.changes b/python-scikit-build.changes index 511e192..e535aec 100644 --- a/python-scikit-build.changes +++ b/python-scikit-build.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Mar 31 20:50:59 UTC 2022 - Ben Greiner + +- Replace a stray mock import by unittest.mock + ------------------------------------------------------------------- Fri Mar 25 13:17:01 UTC 2022 - Ben Greiner diff --git a/python-scikit-build.spec b/python-scikit-build.spec index 42ebc9d..0b3a9e5 100644 --- a/python-scikit-build.spec +++ b/python-scikit-build.spec @@ -71,6 +71,7 @@ cp %{S:99} tests/samples/cython-flags/setup.cfg cp %{S:99} tests/samples/issue-274-support-default-package-dir/setup.cfg cp %{S:99} tests/samples/issue-274-support-one-package-without-package-dir/setup.cfg cp %{S:99} tests/samples/issue-334-configure-cmakelist-non-cp1252-encoding/setup.cfg +sed -i 's/from mock import/from unittest.mock import/' tests/*.py # remove coverage flags sed -i '/addopts/ d' setup.cfg