Adding coverage build dep and reenabling flake8

epel9
Dan Radez 5 years ago
parent e108018c13
commit d336e8e629

@ -22,6 +22,7 @@ Summary: portend documentation
BuildRequires: python3-devel
BuildRequires: python3dist(jaraco.functools)
BuildRequires: python3dist(pytest) >= 3.5
BuildRequires: python3dist(pytest-cov)
BuildRequires: python3dist(pytest-flake8)
#BuildRequires: python3dist(pytest-sugar) >= 0.9.1
BuildRequires: python3dist(setuptools)
@ -48,10 +49,6 @@ Documentation for portend
%autosetup -n %{pypi_name}-%{version}
# Remove bundled egg-info
rm -rf %{pypi_name}.egg-info
# 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
# black is apparently not a valid option?
sed -i 's/ --black//' pytest.ini
@ -87,6 +84,8 @@ LANG=C.utf-8 %{__python3} -m pytest --ignore=build
%changelog
* Tue Nov 05 2019 Dan Radez <dradez@redhat.com> - 2.6-1
- update to 2.6
- reenable flake8
- add coverage build dep
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 2.5-4
- Rebuilt for Python 3.8.0rc1 (#1748018)

Loading…
Cancel
Save