From ad78a6b3d2d20e077917f162fd2c4a9841eb9442c6b755cc746dcda24fe92e96 Mon Sep 17 00:00:00 2001 From: Benjamin Greiner Date: Sat, 30 Oct 2021 15:16:25 +0000 Subject: [PATCH 1/2] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-notebook?expand=0&rev=35 --- python-notebook.spec | 2 -- 1 file changed, 2 deletions(-) diff --git a/python-notebook.spec b/python-notebook.spec index 9ead405..c97bac3 100644 --- a/python-notebook.spec +++ b/python-notebook.spec @@ -63,8 +63,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} From bd7432a109729405b18d425a36a0e68a763eabfd47853ed79e288afdc2a94b54 Mon Sep 17 00:00:00 2001 From: Benjamin Greiner Date: Fri, 12 Nov 2021 23:04:23 +0000 Subject: [PATCH 2/2] Accepting request 931206 from home:bnavigator:branches:devel:languages:python:jupyter - Reenable libalternatives - Export PYTHONNOUSERSITE when testing for jupyter-core 4.9.1 OBS-URL: https://build.opensuse.org/request/show/931206 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-notebook?expand=0&rev=36 --- python-notebook.changes | 6 ++++++ python-notebook.spec | 5 +++-- 2 files changed, 9 insertions(+), 2 deletions(-) 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 c97bac3..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 @@ -233,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