From 29775885eb1e6ed5c294d41e416dbd99c78c973df66663576796c94d804d3692 Mon Sep 17 00:00:00 2001 From: Todd R Date: Mon, 10 Feb 2020 18:51:58 +0000 Subject: [PATCH] Accepting request 773194 from home:TheBlackCat:branches:devel:languages:python:jupyter - Update to 0.2.1 + Added * pytest-plugin for Jupyter Server. - Update to 0.2.0 + Added * `extension` submodule + Changed * `jupyter serverextension ` entrypoint has been changed to `jupyter server extension `. * `toggle_jupyter_server` and `validate_jupyter_server` function no longer take a Logger object as an argument. * Changed testing framework from nosetests to pytest * Added Github actions as a testing framework along side Travis and Azure + Removed * Removed the option to update `root_dir` trait in FileContentsManager and MappingKernelManager in ServerApp + Fixed * Synced Jupyter Server with Notebook PRs in batches (ended on 2019-09-27) + Security * Added a "secure_write to function for cookie/token saves OBS-URL: https://build.opensuse.org/request/show/773194 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-jupyter-server?expand=0&rev=14 --- jupyter_server-0.1.1.tar.gz | 3 --- jupyter_server-0.2.1.tar.gz | 3 +++ python-jupyter-server.changes | 21 +++++++++++++++++++++ python-jupyter-server.spec | 28 +++++++++++++++------------- 4 files changed, 39 insertions(+), 16 deletions(-) delete mode 100644 jupyter_server-0.1.1.tar.gz create mode 100644 jupyter_server-0.2.1.tar.gz diff --git a/jupyter_server-0.1.1.tar.gz b/jupyter_server-0.1.1.tar.gz deleted file mode 100644 index 102d3ce..0000000 --- a/jupyter_server-0.1.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3eb8e6cccab8da5e13df954fb6e3544ad9b0591948fe1e017428824e23303888 -size 5407935 diff --git a/jupyter_server-0.2.1.tar.gz b/jupyter_server-0.2.1.tar.gz new file mode 100644 index 0000000..5721b6f --- /dev/null +++ b/jupyter_server-0.2.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d14df9d599744dfa043d96a8383ce9198374db727b9227286a04a122039d2737 +size 673457 diff --git a/python-jupyter-server.changes b/python-jupyter-server.changes index cee8575..8f401e5 100644 --- a/python-jupyter-server.changes +++ b/python-jupyter-server.changes @@ -1,3 +1,24 @@ +------------------------------------------------------------------- +Wed Jan 15 15:25:43 UTC 2020 - Todd R + +- Update to 0.2.1 + + Added + * pytest-plugin for Jupyter Server. +- Update to 0.2.0 + + Added + * `extension` submodule + + Changed + * `jupyter serverextension ` entrypoint has been changed to `jupyter server extension `. + * `toggle_jupyter_server` and `validate_jupyter_server` function no longer take a Logger object as an argument. + * Changed testing framework from nosetests to pytest + * Added Github actions as a testing framework along side Travis and Azure + + Removed + * Removed the option to update `root_dir` trait in FileContentsManager and MappingKernelManager in ServerApp + + Fixed + * Synced Jupyter Server with Notebook PRs in batches (ended on 2019-09-27) + + Security + * Added a "secure_write to function for cookie/token saves + ------------------------------------------------------------------- Tue Nov 12 17:38:51 UTC 2019 - Todd R diff --git a/python-jupyter-server.spec b/python-jupyter-server.spec index 1de9c15..b3745ff 100644 --- a/python-jupyter-server.spec +++ b/python-jupyter-server.spec @@ -1,7 +1,7 @@ # # spec file for package python-jupyter-server # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,19 +12,20 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-jupyter-server -Version: 0.1.1 +Version: 0.2.1 Release: 0 -License: BSD-3-Clause Summary: The Jupyter Server -Url: https://github.com/jupyter/jupyter_server +License: BSD-3-Clause Group: Development/Languages/Python -Source: https://files.pythonhosted.org/packages/source/j/jupyter-server/jupyter_server-%{version}.tar.gz +URL: https://github.com/jupyter/jupyter_server +Source: https://github.com/jupyter/jupyter_server/archive/%{version}.tar.gz#/jupyter_server-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -39,20 +40,21 @@ BuildRequires: %{python_module jupyter-core >= 4.4.0} BuildRequires: %{python_module nbconvert} BuildRequires: %{python_module nbformat} BuildRequires: %{python_module nbval} -BuildRequires: %{python_module nose-exclude} -BuildRequires: %{python_module nose_warnings_filters} BuildRequires: %{python_module nose} BuildRequires: %{python_module prometheus_client} +BuildRequires: %{python_module pytest-console-scripts} +BuildRequires: %{python_module pytest-tornasync} +BuildRequires: %{python_module pytest4} BuildRequires: %{python_module pyzmq >= 17} BuildRequires: %{python_module requests} -# BuildRequires: %%{python_module selenium} BuildRequires: %{python_module terminado >= 0.8.1} BuildRequires: %{python_module tornado >= 4} BuildRequires: %{python_module traitlets >= 4.2.1} +BuildRequires: pandoc BuildRequires: python-ipaddress BuildRequires: python-mock -BuildRequires: pandoc # /SECTION +Requires: jupyter-jupyter-server = %{version} Requires: python-Jinja2 Requires: python-Send2Trash Requires: python-ipykernel @@ -66,7 +68,6 @@ Requires: python-pyzmq >= 17 Requires: python-terminado >= 0.8.1 Requires: python-tornado >= 4 Requires: python-traitlets >= 4.2.1 -Requires: jupyter-jupyter-server = %{version} %ifpython2 Requires: python-ipaddress %endif @@ -84,6 +85,7 @@ This package provides the python interface. %package -n jupyter-jupyter-server Summary: The Jupyter Server +Group: Development/Languages/Python Requires: jupyter-ipykernel Requires: jupyter-jupyter-client >= 5.2.0 Requires: jupyter-jupyter-core >= 4.4.0 @@ -114,7 +116,8 @@ mv %{buildroot}%{_bindir}/jupyter-bundlerextension %{buildroot}%{_bindir}/jupyte %check export LANG=en_US.UTF-8 -%python_expand nosetests-%{$python_bin_suffix} -v jupyter_server +export PATH=$PATH:%{buildroot}%{_bindir} +%pytest tests %files %{python_files} %doc README.md @@ -124,7 +127,6 @@ export LANG=en_US.UTF-8 %files -n jupyter-jupyter-server %license COPYING.md %{_bindir}/jupyter-server -%{_bindir}/jupyter-extension %{_bindir}/jupyter-server-bundlerextension %changelog