diff --git a/python-pytest-regressions.changes b/python-pytest-regressions.changes index 1fc8e6f..dc79e99 100644 --- a/python-pytest-regressions.changes +++ b/python-pytest-regressions.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu May 25 09:34:08 UTC 2023 - Daniel Garcia + +- Remove python-pandas and python-matplotlib from BuildRequires + ------------------------------------------------------------------- Tue May 9 21:07:08 UTC 2023 - Dirk Müller diff --git a/python-pytest-regressions.spec b/python-pytest-regressions.spec index 6a00aa0..cf7577e 100644 --- a/python-pytest-regressions.spec +++ b/python-pytest-regressions.spec @@ -32,10 +32,12 @@ BuildRequires: python-rpm-macros BuildRequires: %{python_module pytest >= 6.2.0} BuildRequires: %{python_module Pillow} BuildRequires: %{python_module PyYAML} -BuildRequires: %{python_module matplotlib} BuildRequires: %{python_module numpy} -BuildRequires: %{python_module pandas} BuildRequires: %{python_module pytest-datadir >= 1.2.0} +# These could be added as build dep for testing but are commented to +# reduce the number of requirements. +# BuildRequires: %%{python_module pandas} +# BuildRequires: %%{python_module matplotlib} # /SECTION BuildRequires: fdupes Requires: python-PyYAML @@ -63,7 +65,12 @@ Python fixtures to write regression tests. %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%pytest +# ignore tests that depends on matplotlib +donttest="test_image_regression" +# Requires python-pandas +donttest+=" or test_foo" +# Ignore tests that depends on python-pandas +%pytest --ignore tests/test_num_regression.py --ignore tests/test_dataframe_regression.py -k "not ($donttest)" %files %{python_files} %doc CHANGELOG.rst README.rst