diff --git a/python-pytest-sugar.changes b/python-pytest-sugar.changes index 9b30252..2003c04 100644 --- a/python-pytest-sugar.changes +++ b/python-pytest-sugar.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jul 24 07:09:44 UTC 2019 - Tomáš Chvátal + +- Skip failing pytest5 checks that need tweaking upstream + ------------------------------------------------------------------- Tue Feb 12 15:52:25 UTC 2019 - Tomáš Chvátal diff --git a/python-pytest-sugar.spec b/python-pytest-sugar.spec index 09d22fc..740a25f 100644 --- a/python-pytest-sugar.spec +++ b/python-pytest-sugar.spec @@ -23,7 +23,7 @@ Release: 0 Summary: Pretty printer for pytest progress License: BSD-3-Clause Group: Development/Languages/Python -URL: http://pivotfinland.com/pytest-sugar/ +URL: https://github.com/Frozenball/pytest-sugar Source: https://files.pythonhosted.org/packages/source/p/pytest-sugar/pytest-sugar-%{version}.tar.gz Patch0: pytest4.patch BuildRequires: %{python_module pytest} @@ -31,7 +31,7 @@ BuildRequires: %{python_module setuptools} BuildRequires: %{python_module termcolor} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-pytest +Requires: python-pytest < 5.0 Requires: python-termcolor BuildArch: noarch %python_subpackages @@ -51,7 +51,9 @@ pytest-sugar is a plugin for py.test that shows failures and errors instantly an %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} +# test_item_count_after_pytest_collection_modifyitems - https://github.com/Frozenball/pytest-sugar/issues/180 +# test_doctest - same as above +%pytest -k 'not test_item_count_after_pytest_collection_modifyitems and not test_doctest' %files %{python_files} %license LICENSE