diff --git a/python-notebook.changes b/python-notebook.changes index a561c10..a731b6a 100644 --- a/python-notebook.changes +++ b/python-notebook.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Nov 12 23:02:37 UTC 2021 - Ben Greiner + +- Reenable libalternatives +- Export PYTHONNOUSERSITE when testing for jupyter-core 4.9.1 + ------------------------------------------------------------------- Thu Oct 28 19:10:40 UTC 2021 - Ben Greiner diff --git a/python-notebook.spec b/python-notebook.spec index 9ead405..d91f64a 100644 --- a/python-notebook.spec +++ b/python-notebook.spec @@ -17,8 +17,7 @@ # -%bcond_with libalternatives_issue_11_fixed -%if 0%{?suse_version} > 1500 && %{with libalternatives_issue_11_fixed} +%if 0%{?suse_version} > 1500 %bcond_without libalternatives %else %bcond_with libalternatives @@ -63,8 +62,6 @@ Requires: python-pyzmq >= 17 Requires: python-terminado >= 0.8.3 Requires: python-tornado >= 6.1 Requires: python-traitlets >= 4.2.1 -Requires(post): update-alternatives -Requires(postun):update-alternatives Recommends: python-ipywidgets Suggests: %{name}-latex Provides: python-jupyter_notebook = %{version} @@ -235,6 +232,8 @@ sed -E ' %if %{with test} %check export LANG=en_US.UTF-8 +# required when testing with jupyter_core 4.9.1 +export PYTHONNOUSERSITE=1 # test_launch_socket_collision: fails because there are still servers listening pythonall_donttest="test_launch_socket_collision" %{python_expand # these tests call the wrong interpreter somewhere deep in the stack