From d74caa3518485a4f4feaffb72b12681d92d25f8d3efe79a4352eb9aea9e7e449 Mon Sep 17 00:00:00 2001 From: Benjamin Greiner Date: Sat, 15 Jan 2022 22:15:29 +0000 Subject: [PATCH] Accepting request 946718 from home:bnavigator:branches:devel:languages:python:jupyter - Update to 1.13.3 * More updates to unit tests for pending kernels work #662 (@Zsailer) * bump traitlets dependency #663 (@Zsailer) - Update to 1.13.2 * Don't block the event loop when exporting with nbconvert #655 (@davidbrochart) * Add more awaits for pending kernel in unit tests #654 (@Zsailer) * Print IPv6 url as hostname or enclosed in brackets #652 (@op3) * Run pre_save_hook before model check #643 (@davidbrochart) * handle KeyError when get session #641 (@ccw630) * Clean up deprecations #650 (@blink1073) * Update branch references #646 (@blink1073) * pyproject.toml: clarify build system version #634 (@adamjstewart) OBS-URL: https://build.opensuse.org/request/show/946718 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-jupyter-server?expand=0&rev=42 --- jupyter_server-1.13.1.tar.gz | 3 --- jupyter_server-1.13.3.tar.gz | 3 +++ python-jupyter-server.changes | 20 ++++++++++++++++++++ python-jupyter-server.spec | 23 ++++++++++++++--------- 4 files changed, 37 insertions(+), 12 deletions(-) delete mode 100644 jupyter_server-1.13.1.tar.gz create mode 100644 jupyter_server-1.13.3.tar.gz diff --git a/jupyter_server-1.13.1.tar.gz b/jupyter_server-1.13.1.tar.gz deleted file mode 100644 index aeb077a..0000000 --- a/jupyter_server-1.13.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6d70ebf8e789a7d0a5cd1588e078ccbbdca388dc2c74a6cd62b9ebb80609344f -size 423717 diff --git a/jupyter_server-1.13.3.tar.gz b/jupyter_server-1.13.3.tar.gz new file mode 100644 index 0000000..7286cf0 --- /dev/null +++ b/jupyter_server-1.13.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4d622161f4d378ff28548b49cc180024ce102d25ba5805821fcc17ab1bc5c754 +size 423083 diff --git a/python-jupyter-server.changes b/python-jupyter-server.changes index 67f5dc8..7b72830 100644 --- a/python-jupyter-server.changes +++ b/python-jupyter-server.changes @@ -1,3 +1,23 @@ +------------------------------------------------------------------- +Sat Jan 15 19:52:09 UTC 2022 - Ben Greiner + +- Update to 1.13.3 + * More updates to unit tests for pending kernels work #662 + (@Zsailer) + * bump traitlets dependency #663 (@Zsailer) +- Update to 1.13.2 + * Don't block the event loop when exporting with nbconvert #655 + (@davidbrochart) + * Add more awaits for pending kernel in unit tests #654 + (@Zsailer) + * Print IPv6 url as hostname or enclosed in brackets #652 (@op3) + * Run pre_save_hook before model check #643 (@davidbrochart) + * handle KeyError when get session #641 (@ccw630) + * Clean up deprecations #650 (@blink1073) + * Update branch references #646 (@blink1073) + * pyproject.toml: clarify build system version #634 + (@adamjstewart) + ------------------------------------------------------------------- Fri Dec 31 15:55:54 UTC 2021 - Ben Greiner diff --git a/python-jupyter-server.spec b/python-jupyter-server.spec index f0de2a3..6984dc8 100644 --- a/python-jupyter-server.spec +++ b/python-jupyter-server.spec @@ -1,7 +1,7 @@ # # spec file # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -35,7 +35,7 @@ %{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1 Name: python-jupyter-server%{psuffix} -Version: 1.13.1 +Version: 1.13.3 Release: 0 Summary: The backend to Jupyter web applications License: BSD-3-Clause @@ -43,27 +43,35 @@ Group: Development/Languages/Python URL: https://github.com/jupyter-server/jupyter_server # need the release tarball for the static stylesheets Source: https://github.com/jupyter-server/jupyter_server/releases/download/v%{version}/jupyter_server-%{version}.tar.gz +BuildRequires: %{python_module base >= 3.7} BuildRequires: %{python_module jupyter_packaging} BuildRequires: %{python_module setuptools} - # We need the full stdlib BuildRequires: %{pythons} BuildRequires: fdupes BuildRequires: python-rpm-macros >= 20210929 +%if %{with test} +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 pytest-timeout} +%endif +Requires: python >= 3.7 Requires: python-Jinja2 Requires: python-Send2Trash Requires: python-anyio >= 3.1.0 Requires: python-argon2-cffi Requires: python-ipython_genutils Requires: python-jupyter-client >= 6.1.1 -Requires: python-jupyter-core >= 4.4.0 +Requires: python-jupyter-core >= 4.6.0 Requires: python-nbconvert Requires: python-nbformat +Requires: python-packaging Requires: python-prometheus_client Requires: python-pyzmq >= 17 Requires: python-terminado >= 0.8.3 Requires: python-tornado >= 6.1 -Requires: python-traitlets >= 4.2.1 +Requires: python-traitlets >= 5 Requires: python-websocket-client %if %{with libalternatives} Requires: alts @@ -74,9 +82,6 @@ Requires(postun):update-alternatives %endif Provides: python-jupyter_server = %{version}-%{release} Obsoletes: python-jupyter_server < %{version}-%{release} -%if %{with test} -BuildRequires: %{python_module jupyter-server-test = %{version}} -%endif %if "%{python_flavor}" == "python3" || "%{python_provides}" == "python3" Provides: jupyter-jupyter-server = %{version}-%{release} Obsoletes: jupyter-jupyter-server < %{version}-%{release} @@ -141,7 +146,7 @@ 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 +%pytest jupyter_server --timeout 60 -p no:threadexception -p no:unraisableexception %endif %if ! %{with test}