From 754e5371e1ab42263020fe061b35f5323811ce3cec43d91712e76ffe155d35fb Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 16 Apr 2019 11:15:43 +0000 Subject: [PATCH] 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 --- python-dparse.changes | 6 ++++++ python-dparse.spec | 3 +-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/python-dparse.changes b/python-dparse.changes index a2f8555..6f8c866 100644 --- a/python-dparse.changes +++ b/python-dparse.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Apr 16 12:30:22 CEST 2019 - Matej Cepl + +- Although pipenv is required by upstream, tests pass even + without it, and we don't have it packaged yet. + ------------------------------------------------------------------- Tue Feb 12 00:59:00 UTC 2019 - John Vandenberg diff --git a/python-dparse.spec b/python-dparse.spec index 51af4d4..353d36c 100644 --- a/python-dparse.spec +++ b/python-dparse.spec @@ -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}