diff --git a/python-jaraco-classes.spec b/python-jaraco-classes.spec index 768894e..2d7b912 100644 --- a/python-jaraco-classes.spec +++ b/python-jaraco-classes.spec @@ -53,6 +53,10 @@ Documentation for jaraco-classes rm -rf %{pkg_name}.egg-info # rename package to use a - sed -i 's/%{pypi_name}/%{pkg_name}/' setup.cfg +# disable flake8 in the tests, need a newer version of pytest-flake8 +# https://src.fedoraproject.org/rpms/python-pytest-flake8/pull-request/2 +# AttributeError: 'Application' object has no attribute 'make_notifier' +sed -i 's/ --flake8//' pytest.ini %build %py3_build @@ -67,10 +71,7 @@ rm -rf html/.{doctrees,buildinfo} %py3_install %check -# disabled for right now, need a newer version of pytest-flake8 -# https://src.fedoraproject.org/rpms/python-pytest-flake8/pull-request/2 -# AttributeError: 'Application' object has no attribute 'make_notifier' -# LANG=C.utf-8 %%{__python3} -m pytest --ignore=build +LANG=C.utf-8 %{__python3} -m pytest --ignore=build %files -n python3-%{pkg_name} %license LICENSE