Dirk Mueller 2018-09-05 20:28:02 +00:00 committed by Git OBS Bridge
parent 6c0ae6e652
commit 186b759960
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Sep 5 20:27:43 UTC 2018 - dmueller@suse.com
- drop flake8 dependency
-------------------------------------------------------------------
Mon Jul 9 13:37:36 UTC 2018 - dmueller@suse.com

View File

@ -30,7 +30,6 @@ BuildRequires: %{python_module devel}
BuildRequires: %{python_module entrypoints}
BuildRequires: %{python_module mock}
BuildRequires: %{python_module pytest >= 3.5}
BuildRequires: %{python_module pytest-flake8}
BuildRequires: %{python_module pytest-sugar >= 0.9.1}
BuildRequires: %{python_module setuptools >= 17.1}
BuildRequires: %{python_module setuptools_scm >= 1.15.0}
@ -59,6 +58,8 @@ sed -i '/^#!/d' keyring/cli.py
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
# remove flake8
sed -i -e 's,--flake8,,' pytest.ini
# remove test expecting the /usr/bin
rm -rf tests/test_packaging.py
# sadly most tests need running dbus to communicate with secretstorage/etc