Accepting request 747743 from home:TheBlackCat:branches:devel:languages:python:jupyter

Update to 6.0.2

OBS-URL: https://build.opensuse.org/request/show/747743
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-notebook?expand=0&rev=18
This commit is contained in:
Todd R 2019-11-12 14:59:54 +00:00 committed by Git OBS Bridge
parent dd1d3f42cb
commit 42d5e2a095
4 changed files with 76 additions and 22 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:573e0ae650c5d76b18b6e564ba6d21bf321d00847de1d215b418acb64f056eb8
size 13371684

3
notebook-6.0.2.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:399a4411e171170173344761e7fd4491a3625659881f76ce47c50231ed714d9b
size 14069764

View File

@ -1,3 +1,58 @@
-------------------------------------------------------------------
Mon Nov 11 18:33:27 UTC 2019 - Todd R <toddrme2178@gmail.com>
- Update to 6.0.2
* Update JQuery dependency to version 3.4.1 to fix security vulnerability (CVE-2019-11358)
* Update CodeMirror to version 5.48.4 to fix Python formatting issues
* Continue removing obsolete Python 2.x code/dependencies
* Multiple documentation updates
- Update to 6.0.1
* Attempt to re-establish websocket connection to Gateway
* Add missing react-dom js to package data
- Update to 6.0
* Remove Python 2.x support in favor of Python 3.5 and higher.
* Multiple accessibility enhancements and bug-fixes.
* Multiple translation enhancements and bug-fixes.
* Remove deprecated ANSI CSS styles.
* Native support to forward requests to Jupyter Gateway(s) (Embedded NB2KG).
* Use JavaScript to redirect users to notebook homepage.
* Enhanced SSL/TLS security by using PROTOCOL_TLS which selects the highest ssl/tls
p rotocol version available that both the client and server support. When PROTOCOL_TLS
is not available use PROTOCOL_SSLv23.
* Add ``?no_track_activity=1`` argument to allow API requests.
to not be registered as activity (e.g. API calls by external activity monitors).
* Kernels shutting down due to an idle timeout is no longer considered
an activity-updating event.
* Further improve compatibility with tornado 6 with improved
checks for when websockets are closed.
* Launch the browser with a local file which redirects to the server address including
the authentication token. This prevents another logged-in user from stealing the token
from command line arguments and authenticating to the server.
The single-use token previously used to mitigate this has been removed.
Thanks to Dr. Owain Kenway for suggesting the local file approach.
* Respect nbconvert entrypoints as sources for exporters
* Update to CodeMirror to 5.37, which includes f-string syntax for Python 3.6.
* Update jquery-ui to 1.12
* Execute cells by clicking icon in input prompt.
* New "Save as" menu option.
* When serving on a loopback interface, protect against DNS rebinding by
checking the ``Host`` header from the browser.
This check can be disabled if necessary by setting
``NotebookApp.allow_remote_access``.
* Add kernel_info_timeout traitlet to enable restarting slow kernels.
* Add ``custom_display_host`` config option to override displayed URL.
* Add /metrics endpoint for Prometheus Metrics.
* Optimize large file uploads.
* Allow access control headers to be overriden in jupyter_notebook_config.py to support
greater CORS and proxy configuration flexibility.
* Add support for terminals on windows.
* Add a "restart and run all" button to the toolbar.
* Frontend/extension-config: allow default json files in a .d directory.
* Allow setting token via jupyter_token env.
* Cull idle kernels using ``--MappingKernelManager.cull_idle_timeout``.
* Allow read-only notebooks to be trusted.
* Convert JS tests to Selenium.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue May 28 06:21:40 UTC 2019 - Jan Engelhardt <jengelh@inai.de> Tue May 28 06:21:40 UTC 2019 - Jan Engelhardt <jengelh@inai.de>

View File

@ -18,8 +18,9 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define doc_ver 5.7.6 %define doc_ver 5.7.6
%define skip_python2 1
Name: python-notebook Name: python-notebook
Version: 5.7.8 Version: 6.0.2
Release: 0 Release: 0
Summary: Jupyter Notebook interface Summary: Jupyter Notebook interface
License: BSD-3-Clause License: BSD-3-Clause
@ -41,13 +42,14 @@ Requires: python-Jinja2
Requires: python-Send2Trash Requires: python-Send2Trash
Requires: python-ipykernel Requires: python-ipykernel
Requires: python-ipython_genutils Requires: python-ipython_genutils
Requires: python-jupyter_client >= 5.2.0 Requires: python-jupyter_client >= 5.3.1
Requires: python-jupyter_core >= 4.4.0 Requires: python-jupyter_core >= 4.4.0
Requires: python-nbconvert Requires: python-nbconvert
Requires: python-nbformat Requires: python-nbformat
Requires: python-prometheus_client Requires: python-prometheus_client
Requires: python-pyzmq >= 17
Requires: python-terminado >= 0.8.1 Requires: python-terminado >= 0.8.1
Requires: python-tornado >= 4 Requires: python-tornado >= 5
Requires: python-traitlets >= 4.2.1 Requires: python-traitlets >= 4.2.1
Recommends: python-ipywidgets Recommends: python-ipywidgets
Suggests: %{name}-latex Suggests: %{name}-latex
@ -56,10 +58,11 @@ Obsoletes: python-jupyter_notebook < %{version}
BuildArch: noarch BuildArch: noarch
# SECTION test requirements # SECTION test requirements
BuildRequires: %{python_module Jinja2} BuildRequires: %{python_module Jinja2}
BuildRequires: %{python_module attrs >= 17.4.0}
BuildRequires: %{python_module Send2Trash} BuildRequires: %{python_module Send2Trash}
BuildRequires: %{python_module ipykernel} BuildRequires: %{python_module ipykernel}
BuildRequires: %{python_module ipython_genutils} BuildRequires: %{python_module ipython_genutils}
BuildRequires: %{python_module jupyter_client >= 5.2.0} BuildRequires: %{python_module jupyter_client >= 5.3.1}
BuildRequires: %{python_module jupyter_core >= 4.4.0} BuildRequires: %{python_module jupyter_core >= 4.4.0}
BuildRequires: %{python_module nbconvert} BuildRequires: %{python_module nbconvert}
BuildRequires: %{python_module nbformat} BuildRequires: %{python_module nbformat}
@ -67,18 +70,14 @@ BuildRequires: %{python_module nose-exclude}
BuildRequires: %{python_module nose_warnings_filters} BuildRequires: %{python_module nose_warnings_filters}
BuildRequires: %{python_module nose} BuildRequires: %{python_module nose}
BuildRequires: %{python_module prometheus_client} BuildRequires: %{python_module prometheus_client}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module pyzmq >= 17}
BuildRequires: %{python_module requests} BuildRequires: %{python_module requests}
BuildRequires: %{python_module terminado >= 0.8.1} BuildRequires: %{python_module terminado >= 0.8.1}
BuildRequires: %{python_module tornado >= 4} BuildRequires: %{python_module tornado >= 5}
BuildRequires: %{python_module traitlets >= 4.2.1} BuildRequires: %{python_module traitlets >= 4.2.1}
BuildRequires: pandoc
# /SECTION # /SECTION
# SECTION Python 2.7 test requirements
BuildRequires: python-ipaddress
BuildRequires: python-mock
# /SECTION
%ifpython2
Requires: python-ipaddress
%endif
%python_subpackages %python_subpackages
%description %description
@ -189,22 +188,22 @@ cp -r docs/html %{buildroot}%{_docdir}/jupyter-notebook/
%check %check
export LANG=en_US.UTF-8 export LANG=en_US.UTF-8
%python_expand nosetests-%{$python_bin_suffix} --exclude-dir notebook/tests/selenium %python_expand nosetests-%{$python_bin_suffix} -v --exclude-dir notebook/tests/selenium
%files %{python_files} %files %{python_files}
%doc README.md %doc README.md
%license COPYING.md %license LICENSE
%{python_sitelib}/notebook-*-py*.egg-info %{python_sitelib}/notebook-*-py*.egg-info
%{python_sitelib}/notebook/ %{python_sitelib}/notebook/
%exclude %{python_sitelib}/notebook/i18n/*/ %exclude %{python_sitelib}/notebook/i18n/*/
%files %{python_files lang} %files %{python_files lang}
%license COPYING.md %license LICENSE
%lang(fr_FR) %{python_sitelib}/notebook/i18n/fr_FR/ %lang(fr_FR) %{python_sitelib}/notebook/i18n/fr_FR/
%lang(zh_CN) %{python_sitelib}/notebook/i18n/zh_CN/ %lang(zh_CN) %{python_sitelib}/notebook/i18n/zh_CN/
%files -n jupyter-notebook %files -n jupyter-notebook
%license COPYING.md %license LICENSE
%{_bindir}/jupyter-bundlerextension %{_bindir}/jupyter-bundlerextension
%{_bindir}/jupyter-nbextension %{_bindir}/jupyter-nbextension
%{_bindir}/jupyter-notebook %{_bindir}/jupyter-notebook
@ -212,13 +211,13 @@ export LANG=en_US.UTF-8
%{_datadir}/icons/hicolor/*/apps/JupyterNotebook.* %{_datadir}/icons/hicolor/*/apps/JupyterNotebook.*
%files -n jupyter-notebook-lang %files -n jupyter-notebook-lang
%license COPYING.md %license LICENSE
%files -n jupyter-notebook-latex %files -n jupyter-notebook-latex
%license COPYING.md %license LICENSE
%files -n jupyter-notebook-doc %files -n jupyter-notebook-doc
%license COPYING.md %license LICENSE
%dir %{_docdir}/jupyter-notebook/ %dir %{_docdir}/jupyter-notebook/
%{_docdir}/jupyter-notebook/jupyter-notebook.pdf %{_docdir}/jupyter-notebook/jupyter-notebook.pdf
%{_docdir}/jupyter-notebook/html/ %{_docdir}/jupyter-notebook/html/