diff --git a/python-cssselect2.changes b/python-cssselect2.changes index cda8b52..6eb372a 100644 --- a/python-cssselect2.changes +++ b/python-cssselect2.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Feb 26 12:19:15 UTC 2019 - John Vandenberg + +- Remove unnecessary build dependencies on pytest plugins, by + invoking pytest directly avoiding setup.py checking test deps, + and removing addopts from setup.cfg + ------------------------------------------------------------------- Tue Dec 4 12:47:03 UTC 2018 - Matej Cepl diff --git a/python-cssselect2.spec b/python-cssselect2.spec index c13a747..0519dae 100644 --- a/python-cssselect2.spec +++ b/python-cssselect2.spec @@ -1,7 +1,7 @@ # # spec file for package python-cssselect2 # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -29,10 +29,6 @@ BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros # SECTION test requirements -BuildRequires: %{python_module pytest-cov} -BuildRequires: %{python_module pytest-flake8} -BuildRequires: %{python_module pytest-isort} -BuildRequires: %{python_module pytest-runner} BuildRequires: %{python_module pytest} BuildRequires: %{python_module tinycss2} # /SECTION @@ -52,6 +48,7 @@ cssselect. %prep %setup -q -n cssselect2-%{version} +sed -i '/addopts/d' setup.cfg %build %python_build @@ -62,7 +59,7 @@ cssselect. %check export LANG=en_US.UTF-8 -%python_exec setup.py test +%python_exec -m pytest %files %{python_files} %doc CHANGES README.rst