diff --git a/python-ntfy.changes b/python-ntfy.changes index 08ff4d7..7a3c2d3 100644 --- a/python-ntfy.changes +++ b/python-ntfy.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Thu Feb 17 08:53:36 UTC 2022 - Matthias Bach - 2.7.0 + +- Switch test execution to pytest to allow for deselecting tests of + optional functionality for which we lack the requiired + dependencies. +- Drop build dependency to the sleekxmpp Python module which got + dropped from Factory. + ------------------------------------------------------------------- Mon Jan 10 19:46:43 UTC 2022 - Matthias Bach diff --git a/python-ntfy.spec b/python-ntfy.spec index 6333c6e..4b6f880 100644 --- a/python-ntfy.spec +++ b/python-ntfy.spec @@ -31,10 +31,10 @@ BuildRequires: %{python_module appdirs} BuildRequires: %{python_module emoji} BuildRequires: %{python_module mock} BuildRequires: %{python_module psutil} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module requests} BuildRequires: %{python_module ruamel.yaml} BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module sleekxmpp} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-appdirs @@ -78,7 +78,7 @@ Quickstart %python_expand %fdupes %{buildroot}%{$python_sitelib}/ntfy* %check -%python_exec -m unittest discover -v +%pytest --ignore 'tests/test_xmpp.py' -k 'not test_xmpp' %post %python_install_alternative ntfy