From 61bcb2047ecd7dd2eb0e5c10061e6eae84e73392180f4ce5b05b2d161a3c53c2 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 7 Dec 2020 12:32:39 +0000 Subject: [PATCH] Accepting request 853549 from home:bnavigator:branches:devel:languages:python - Skip testing with optional jupyter_ipython. Jupyter is only available for Python >= 3.7 gh#openSUSE/python-rpm-macros#66 OBS-URL: https://build.opensuse.org/request/show/853549 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-dotenv?expand=0&rev=20 --- python-python-dotenv.changes | 7 +++++++ python-python-dotenv.spec | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/python-python-dotenv.changes b/python-python-dotenv.changes index 96ffea6..b181f93 100644 --- a/python-python-dotenv.changes +++ b/python-python-dotenv.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Mon Dec 7 00:42:19 UTC 2020 - Benjamin Greiner + +- Skip testing with optional jupyter_ipython. Jupyter is only + available for Python >= 3.7 + gh#openSUSE/python-rpm-macros#66 + ------------------------------------------------------------------- Wed Dec 2 17:16:41 UTC 2020 - Michael Ströder diff --git a/python-python-dotenv.spec b/python-python-dotenv.spec index b312cc9..c4dd017 100644 --- a/python-python-dotenv.spec +++ b/python-python-dotenv.spec @@ -25,7 +25,6 @@ License: BSD-3-Clause URL: https://github.com/theskumar/python-dotenv Source: https://github.com/theskumar/python-dotenv/archive/v%{version}.tar.gz#/python-dotenv-%{version}.tar.gz BuildRequires: %{python_module click >= 5.0} -BuildRequires: %{python_module jupyter_ipython} BuildRequires: %{python_module mock} BuildRequires: %{python_module pytest >= 3.0.5} BuildRequires: %{python_module setuptools} @@ -65,7 +64,8 @@ mv %{buildroot}%{_bindir}/dotenv %{buildroot}%{_bindir}/dotenv.orig export PATH=%{buildroot}%{_bindir}:$PATH %{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib} cp %{buildroot}%{_bindir}/dotenv-%{$python_bin_suffix} %{buildroot}%{_bindir}/dotenv -$python -m pytest -v +# ipython is optional and only available for python >= 3.7 in Tumbleweed +$python -m pytest -v -k "not ipython" } mv %{buildroot}%{_bindir}/dotenv.orig %{buildroot}%{_bindir}/dotenv