15
0
forked from pool/python-dparse

Accepting request 694784 from home:mcepl:branches:devel:languages:python

- Although pipenv is required by upstream, tests pass even
  without it, and we don't have it packaged yet.

OBS-URL: https://build.opensuse.org/request/show/694784
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dparse?expand=0&rev=2
This commit is contained in:
2019-04-16 11:15:43 +00:00
committed by Git OBS Bridge
parent 71c0098fbc
commit 754e5371e1
2 changed files with 7 additions and 2 deletions

View File

@@ -37,7 +37,6 @@ BuildArch: noarch
%if %{with test}
BuildRequires: %{python_module PyYAML}
BuildRequires: %{python_module packaging}
BuildRequires: %{python_module pipenv}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module six}
%endif
@@ -61,7 +60,7 @@ A parser for Python dependency files.
%check
# There is a bug in the pipenv support, related to writing a new toml file.
# Both dparse and pipenv have a vendored copy of different toml libraries.
%python_expand py.test-%{$python_bin_suffix} --deselect 'tests/test_updater.py::test_update_pipfile'
%pytest --deselect 'tests/test_updater.py::test_update_pipfile'
%endif
%files %{python_files}