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
This commit is contained in:
Benjamin Greiner 2021-11-12 23:04:23 +00:00 committed by Git OBS Bridge
parent ad78a6b3d2
commit bd7432a109
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Nov 12 23:02:37 UTC 2021 - Ben Greiner <code@bnavigator.de>
- Reenable libalternatives
- Export PYTHONNOUSERSITE when testing for jupyter-core 4.9.1
-------------------------------------------------------------------
Thu Oct 28 19:10:40 UTC 2021 - Ben Greiner <code@bnavigator.de>

View File

@ -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