forked from pool/python-jupyter-core
Accepting request 1175661 from devel:languages:python:jupyter
- Remove upper bound on pytest, and switch to importlib import-mode. OBS-URL: https://build.opensuse.org/request/show/1175661 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jupyter-core?expand=0&rev=26
This commit is contained in:
commit
bade43cf3b
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 22 04:15:02 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Remove upper bound on pytest, and switch to importlib import-mode.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Mar 29 18:20:02 UTC 2024 - Ben Greiner <code@bnavigator.de>
|
Fri Mar 29 18:20:02 UTC 2024 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
@ -68,7 +68,7 @@ BuildArch: noarch
|
|||||||
%if %{with test}
|
%if %{with test}
|
||||||
BuildRequires: %{python_module ipykernel}
|
BuildRequires: %{python_module ipykernel}
|
||||||
BuildRequires: %{python_module jupyter-core = %{version}}
|
BuildRequires: %{python_module jupyter-core = %{version}}
|
||||||
BuildRequires: %{python_module pytest >= 7 with %python-pytest < 8}
|
BuildRequires: %{python_module pytest >= 7}
|
||||||
BuildRequires: %{python_module pytest-timeout}
|
BuildRequires: %{python_module pytest-timeout}
|
||||||
%endif
|
%endif
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
@ -115,7 +115,7 @@ donttest="test_jupyter_path_prefer_env or test_jupyter_config_path_prefer_env"
|
|||||||
donttest="$donttest or test_config_dir_linux"
|
donttest="$donttest or test_config_dir_linux"
|
||||||
# async failure
|
# async failure
|
||||||
donttest="$donttest or test_ensure_async"
|
donttest="$donttest or test_ensure_async"
|
||||||
%pytest -k "not ($donttest)"
|
%pytest --import-mode=importlib -k "not ($donttest)"
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
|
Loading…
x
Reference in New Issue
Block a user