Accepting request 635405 from devel:languages:python

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/635405
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-keyring?expand=0&rev=31
This commit is contained in:
Yuchen Lin 2018-09-16 16:29:49 +00:00 committed by Git OBS Bridge
commit bc18380518
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