diff --git a/python-jupyter-core.changes b/python-jupyter-core.changes index cecd116..5477426 100644 --- a/python-jupyter-core.changes +++ b/python-jupyter-core.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed May 22 04:15:02 UTC 2024 - Steve Kowalik + +- Remove upper bound on pytest, and switch to importlib import-mode. + ------------------------------------------------------------------- Fri Mar 29 18:20:02 UTC 2024 - Ben Greiner diff --git a/python-jupyter-core.spec b/python-jupyter-core.spec index 32cabda..d8b1f47 100644 --- a/python-jupyter-core.spec +++ b/python-jupyter-core.spec @@ -68,7 +68,7 @@ BuildArch: noarch %if %{with test} BuildRequires: %{python_module ipykernel} 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} %endif %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" # async failure donttest="$donttest or test_ensure_async" -%pytest -k "not ($donttest)" +%pytest --import-mode=importlib -k "not ($donttest)" %endif %pre