1
0

Accepting request 949904 from devel:languages:python:jupyter

OBS-URL: https://build.opensuse.org/request/show/949904
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jupyter-server?expand=0&rev=22
This commit is contained in:
Dominique Leuenberger 2022-01-31 21:56:56 +00:00 committed by Git OBS Bridge
commit ddfabc1631
4 changed files with 17 additions and 5 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4d622161f4d378ff28548b49cc180024ce102d25ba5805821fcc17ab1bc5c754
size 423083

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5fb5a219385338b1d13a013a68f54688b6a69ecff4e757fd230e27ecacdbf212
size 423176

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Sat Jan 29 19:35:29 UTC 2022 - Ben Greiner <code@bnavigator.de>
- Update to 1.13.4
* Fix nbconvert handler run_sync() #667 (@davidbrochart)
- Use pytest-timeout and flaky to rerun flaky failing tests
- Use pytest-xdist for process control so that the worker does not
randomly hang at the end of the pytest run.
-------------------------------------------------------------------
Sat Jan 15 19:52:09 UTC 2022 - Ben Greiner <code@bnavigator.de>

View File

@ -35,7 +35,7 @@
%{?!python_module:%define python_module() python3-%{**}}
%define skip_python2 1
Name: python-jupyter-server%{psuffix}
Version: 1.13.3
Version: 1.13.4
Release: 0
Summary: The backend to Jupyter web applications
License: BSD-3-Clause
@ -54,7 +54,9 @@ BuildRequires: python-rpm-macros >= 20210929
BuildRequires: %{python_module jupyter-server-test = %{version}}
# https://github.com/jupyter-server/jupyter_server/issues/666
BuildRequires: %{python_module jupyter-client >= 7.1.1}
BuildRequires: %{python_module flaky}
BuildRequires: %{python_module pytest-timeout}
BuildRequires: %{python_module pytest-xdist}
%endif
Requires: python >= 3.7
Requires: python-Jinja2
@ -146,7 +148,8 @@ if [ -e ~/.local/share/jupyter ]; then
echo "WARNING: Not a clean test environment."
echo "You might need to delete ~/.local/share/jupyter in order to avoid test failures."
fi
%pytest jupyter_server --timeout 60 -p no:threadexception -p no:unraisableexception
# pytest-xdist for process control so that the worker does not indefinitely hang after success, no parallel tests
%pytest jupyter_server --timeout 60 --force-flaky --max-runs=3 --no-flaky-report -n 1
%endif
%if ! %{with test}