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:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user