diff --git a/python-pytest-services.changes b/python-pytest-services.changes index d38e3b9..d993846 100644 --- a/python-pytest-services.changes +++ b/python-pytest-services.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Feb 24 11:37:28 UTC 2020 - Tomáš Chvátal + +- Do not pull in mysql for tests we actually skip anyway + ------------------------------------------------------------------- Fri Nov 15 10:37:18 UTC 2019 - Tomáš Chvátal diff --git a/python-pytest-services.spec b/python-pytest-services.spec index 8dc0457..bb1a177 100644 --- a/python-pytest-services.spec +++ b/python-pytest-services.spec @@ -1,7 +1,7 @@ # # spec file for package python-pytest-services # -# Copyright (c) 2019 SUSE LLC. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -25,7 +25,6 @@ License: MIT URL: https://github.com/pytest-dev/pytest-services Source: https://github.com/pytest-dev/pytest-services/archive/%{version}.tar.gz BuildRequires: %{python_module mock} -BuildRequires: %{python_module mysqlclient} BuildRequires: %{python_module psutil} BuildRequires: %{python_module pylibmc} BuildRequires: %{python_module pytest} @@ -53,6 +52,8 @@ processes for your tests with pytest. %prep %setup -q -n pytest-services-%{version} +# we don't test mysql anway +sed -i -e '/import MySQLdb/d' tests/test_plugin.py %build %python_build