From 59334bb24b15fdb5e91a24342234008c1685abac975ebeebad896406e52938c6 Mon Sep 17 00:00:00 2001 From: Benjamin Greiner Date: Wed, 20 Oct 2021 18:31:44 +0000 Subject: [PATCH] Accepting request 926612 from home:bnavigator:branches:devel:languages:python:jupyter - Update to version 6.4.5 * Recover from failure to render mimetype * Fix crypto handling * Fix jupyter_client warning * Fix nbsphinx settings * Fully revert the pinning of nbsphinx to 0.8.6 * Pin nbsphinx to 0.8.6, clean up orphaned resources * Fix typo in docstring - Release 6.4.4 * Update Manual Release Instructions * Use default JupyterLab CSS sanitizer options for Markdown * Fix syntax highlight - Release 6.4.3 * Add @babel/core dependency * Switch webpack to production mode * Clean up link checking - Release 6.4.2 * Add missing file to manifest * Fix issue #3218 * Fix version of jupyter-packaging in pyproject.toml * "#element".tooltip is not a function on home page fixed. * Enhancements to the desktop entry * Add missing spaces to help messages in config file - Release 6.4.0 * Fix Handling of Encoded Paths in Save As Dialog * Fix: split_cell doesn't always split cell * Correct 'Content-Type' headers * Fix skipped tests & remove deprecation warnings * [Gateway] Track only this server's kernels * Bind the HTTPServer in start #6061 * Revert "do not apply asyncio patch for tornado >=6.1" * Use Jupyter Releaser * Add Workflow Permissions for Lock Bot * Fixes related to the recent changes in the documentation * Add maths checks in CSS reference test * Add Issue Lock and Answered Bots * Spelling correction * Minor typographical and comment changes * Fixes related to the recent changes in the documentation * Fix readthedocs environment - Release 6.3.0 * Add square logo and desktop entry files * Modernize Changelog * Add missing "import inspect" * Add Codecov badge to README * Remove configuration for nosetests from setup.cfg * Update security.rst * Docs-Translations: Updated Hindi and Chinese Readme.md * Allow /metrics by default if auth is off * Skip terminal tests on Windows 3.9+ (temporary) * Update GatewayKernelManager to derive from AsyncMappingKernelManager * Drop use of deprecated pyzmq.ioloop * Drop support for Python 3.5 * Allow jupyter_server-based contents managers in notebook * Russian translation fixes * Increase culling test idle timeout * Re-enable support for answer_yes flag * Replace Travis and Appveyor with Github Actions * DOC: Server extension, extra docs on configuration/authentication. - Silence rpmlint2 OBS-URL: https://build.opensuse.org/request/show/926612 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-notebook?expand=0&rev=32 --- notebook-6.2.0.tar.gz | 3 -- notebook-6.4.5.tar.gz | 3 ++ python-notebook-rpmlintrc | 2 ++ python-notebook.changes | 66 +++++++++++++++++++++++++++++++++++++++ python-notebook.spec | 14 +++++++-- 5 files changed, 82 insertions(+), 6 deletions(-) delete mode 100644 notebook-6.2.0.tar.gz create mode 100644 notebook-6.4.5.tar.gz diff --git a/notebook-6.2.0.tar.gz b/notebook-6.2.0.tar.gz deleted file mode 100644 index 887156d..0000000 --- a/notebook-6.2.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0464b28e18e7a06cec37e6177546c2322739be07962dd13bf712bcb88361f013 -size 13927515 diff --git a/notebook-6.4.5.tar.gz b/notebook-6.4.5.tar.gz new file mode 100644 index 0000000..ee0f6fb --- /dev/null +++ b/notebook-6.4.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:872e20da9ae518bbcac3e4e0092d5bd35454e847dedb8cb9739e9f3b68406be0 +size 14339237 diff --git a/python-notebook-rpmlintrc b/python-notebook-rpmlintrc index 879ec81..afb57ce 100644 --- a/python-notebook-rpmlintrc +++ b/python-notebook-rpmlintrc @@ -1,2 +1,4 @@ addFilter("zero-length .*/notebook/bundler/tests/resources/subdir/subsubdir/.gitkeep") addFilter("hidden-file-or-dir .*/notebook/bundler/tests/resources/subdir/subsubdir/.gitkeep") +# jupyter-notebook requires python3-notebook which provides one of the alternatives +addFilter("desktopfile-without-binary .*jupyter-notebook") \ No newline at end of file diff --git a/python-notebook.changes b/python-notebook.changes index d1c293f..acfc5ea 100644 --- a/python-notebook.changes +++ b/python-notebook.changes @@ -1,3 +1,69 @@ +------------------------------------------------------------------- +Wed Oct 20 18:30:59 UTC 2021 - Ben Greiner + +- Update to version 6.4.5 + * Recover from failure to render mimetype + * Fix crypto handling + * Fix jupyter_client warning + * Fix nbsphinx settings + * Fully revert the pinning of nbsphinx to 0.8.6 + * Pin nbsphinx to 0.8.6, clean up orphaned resources + * Fix typo in docstring +- Release 6.4.4 + * Update Manual Release Instructions + * Use default JupyterLab CSS sanitizer options for Markdown + * Fix syntax highlight +- Release 6.4.3 + * Add @babel/core dependency + * Switch webpack to production mode + * Clean up link checking +- Release 6.4.2 + * Add missing file to manifest + * Fix issue #3218 + * Fix version of jupyter-packaging in pyproject.toml + * "#element".tooltip is not a function on home page fixed. + * Enhancements to the desktop entry + * Add missing spaces to help messages in config file +- Release 6.4.0 + * Fix Handling of Encoded Paths in Save As Dialog + * Fix: split_cell doesn't always split cell + * Correct 'Content-Type' headers + * Fix skipped tests & remove deprecation warnings + * [Gateway] Track only this server's kernels + * Bind the HTTPServer in start #6061 + * Revert "do not apply asyncio patch for tornado >=6.1" + * Use Jupyter Releaser + * Add Workflow Permissions for Lock Bot + * Fixes related to the recent changes in the documentation + * Add maths checks in CSS reference test + * Add Issue Lock and Answered Bots + * Spelling correction + * Minor typographical and comment changes + * Fixes related to the recent changes in the documentation + * Fix readthedocs environment +- Release 6.3.0 + * Add square logo and desktop entry files + * Modernize Changelog + * Add missing "import inspect" + * Add Codecov badge to README + * Remove configuration for nosetests from setup.cfg + * Update security.rst + * Docs-Translations: Updated Hindi and Chinese Readme.md + * Allow /metrics by default if auth is off + * Skip terminal tests on Windows 3.9+ (temporary) + * Update GatewayKernelManager to derive from + AsyncMappingKernelManager + * Drop use of deprecated pyzmq.ioloop + * Drop support for Python 3.5 + * Allow jupyter_server-based contents managers in notebook + * Russian translation fixes + * Increase culling test idle timeout + * Re-enable support for answer_yes flag + * Replace Travis and Appveyor with Github Actions + * DOC: Server extension, extra docs on + configuration/authentication. +- Silence rpmlint2 + ------------------------------------------------------------------- Sun Feb 14 18:12:07 UTC 2021 - Arun Persaud diff --git a/python-notebook.spec b/python-notebook.spec index d577bc4..06c9a20 100644 --- a/python-notebook.spec +++ b/python-notebook.spec @@ -1,5 +1,5 @@ # -# spec file for package python-notebook +# spec file # # Copyright (c) 2021 SUSE LLC # @@ -25,10 +25,11 @@ %bcond_with test BuildArch: noarch %endif -%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1 +%define plainpython python Name: python-notebook%{psuffix} -Version: 6.2.0 +Version: 6.4.5 Release: 0 Summary: Jupyter Notebook interface License: BSD-3-Clause @@ -54,6 +55,8 @@ Requires: python-pyzmq >= 17 Requires: python-terminado >= 0.8.3 Requires: python-tornado >= 6.1 Requires: python-traitlets >= 4.2.1 +Requires(post): update-alternatives +Requires(postun):update-alternatives Recommends: python-ipywidgets Suggests: %{name}-latex Provides: python-jupyter_notebook = %{version} @@ -62,6 +65,7 @@ Obsoletes: python-jupyter_notebook < %{version} BuildRequires: fdupes BuildRequires: hicolor-icon-theme BuildRequires: jupyter-notebook-filesystem +BuildRequires: update-desktop-files %endif %if %{with test} BuildRequires: %{python_module Jinja2} @@ -106,6 +110,7 @@ Requires: python-notebook = %{version} Provides: python-jupyter_notebook-lang = %{version} Provides: python-notebook-lang-all = %{version} Obsoletes: python-jupyter_notebook-lang < %{version} +Requires: %{plainpython}(abi) = %{python_version} %description lang Provides translations for the Jupyter notebook. @@ -208,6 +213,7 @@ sed -E ' %python_clone -a %{buildroot}%{_bindir}/jupyter-nbextension %python_clone -a %{buildroot}%{_bindir}/jupyter-notebook %python_clone -a %{buildroot}%{_bindir}/jupyter-serverextension +%suse_update_desktop_file jupyter-notebook %endif @@ -247,6 +253,8 @@ fi %files -n jupyter-notebook %license LICENSE %{_datadir}/icons/hicolor/*/apps/JupyterNotebook.* +%{_datadir}/icons/hicolor/*/apps/notebook.svg +%{_datadir}/applications/jupyter-notebook.desktop %files -n jupyter-notebook-lang %license LICENSE