commit python-notebook for openSUSE:Factory
Hello community, here is the log from the commit of package python-notebook for openSUSE:Factory checked in at 2020-10-26 16:19:17 Comparing /work/SRC/openSUSE:Factory/python-notebook (Old) and /work/SRC/openSUSE:Factory/.python-notebook.new.3463 (New) Package is "python-notebook" Mon Oct 26 16:19:17 2020 rev:6 rq:843486 version:6.0.3 Changes: --- /work/SRC/openSUSE:Factory/python-notebook/python-notebook.changes 2020-01-29 13:19:25.318201782 +0100 +++ /work/SRC/openSUSE:Factory/.python-notebook.new.3463/python-notebook.changes 2020-10-26 16:19:45.883101691 +0100 @@ -1,0 +2,6 @@ +Thu Oct 22 18:44:45 UTC 2020 - Matej Cepl + +- Add remove_nose.patch to remove dependency on nose + (gh#jupyter/notebook#4753). + +--- New: remove_nose.patch Other differences: -- ++ python-notebook.spec ++ --- /var/tmp/diff_new_pack.MGkZoS/_old 2020-10-26 16:19:47.371102888 +0100 +++ /var/tmp/diff_new_pack.MGkZoS/_new 2020-10-26 16:19:47.375102891 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-notebook # -# 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 @@ -24,7 +24,6 @@ %define psuffix %{nil} %bcond_with test %endif - %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-notebook%{psuffix} @@ -36,14 +35,12 @@ URL:https://github.com/jupyter/notebook Source0: https://files.pythonhosted.org/packages/source/n/notebook/notebook-%{version}.tar.gz Source100: python-notebook-rpmlintrc +# PATCH-FIX-UPSTREAM remove_nose.patch gh#jupyter/notebook#4753 mc...@suse.com +# Port the test suite to pytest from nose +Patch0: remove_nose.patch BuildRequires: %{python_module jupyter-core >= 4.4.0} BuildRequires: %{python_module setuptools} BuildRequires: python-rpm-macros -%if !%{with test} -BuildRequires: fdupes -BuildRequires: hicolor-icon-theme -BuildRequires: jupyter-notebook-filesystem -%endif Requires: jupyter-notebook = %{version} Requires: python-Jinja2 Requires: python-Send2Trash @@ -63,19 +60,21 @@ Provides: python-jupyter_notebook = %{version} Obsoletes: python-jupyter_notebook < %{version} BuildArch: noarch +%if !%{with test} +BuildRequires: fdupes +BuildRequires: hicolor-icon-theme +BuildRequires: jupyter-notebook-filesystem +%endif %if %{with test} BuildRequires: %{python_module Jinja2} -BuildRequires: %{python_module attrs >= 17.4.0} BuildRequires: %{python_module Send2Trash} +BuildRequires: %{python_module attrs >= 17.4.0} BuildRequires: %{python_module ipykernel} BuildRequires: %{python_module ipython_genutils} BuildRequires: %{python_module jupyter-client >= 5.3.1} BuildRequires: %{python_module jupyter-core >= 4.4.0} BuildRequires: %{python_module nbconvert} BuildRequires: %{python_module nbformat} -BuildRequires: %{python_module nose-exclude} -BuildRequires: %{python_module nose_warnings_filters} -BuildRequires: %{python_module nose} BuildRequires: %{python_module prometheus_client} BuildRequires: %{python_module pytest} BuildRequires: %{python_module pyzmq >= 17} @@ -97,11 +96,11 @@ # FIXME: consider using %%lang_package macro Summary:Translations for the Jupyter Notebook Group: System/Localization +Requires: jupyter-notebook-lang = %{version} Requires: python-notebook = %{version} Provides: python-jupyter_notebook-lang = %{version} Provides: python-notebook-lang-all = %{version} Obsoletes: python-jupyter_notebook-lang < %{version} -Requires: jupyter-notebook-lang = %{version} %descriptionlang Provides translations for the Jupyter notebook. @@ -129,6 +128,7 @@ This package provides the jupyter components. %package -n jupyter-notebook-lang +# FIXME: consider using %%lang_package macro Summary:Translations for the Jupyter Notebook Group: System/Localization Requires: jupyter-notebook = %{version} @@ -157,6 +157,10 @@ %prep %setup -q -n notebook-%{version} +%autopatch -p1 + +# We don't want to run selenium tests +rm -rf notebook/tests/selenium %build %python_build @@ -179,7 +183,7 @@ %if %{with test} %check export LANG=en_US.UTF-8 -%python_expand nosetests-%{$python_bin_suffix} -v --exclude-dir notebook/tests/selenium +%pytest %endif %if !%{with test} ++ remove_nose.patch ++ --- notebook/auth/tests/test_security.py | 17
commit python-notebook for openSUSE:Factory
Hello community, here is the log from the commit of package python-notebook for openSUSE:Factory checked in at 2020-01-29 13:18:46 Comparing /work/SRC/openSUSE:Factory/python-notebook (Old) and /work/SRC/openSUSE:Factory/.python-notebook.new.26092 (New) Package is "python-notebook" Wed Jan 29 13:18:46 2020 rev:5 rq:768071 version:6.0.3 Changes: --- /work/SRC/openSUSE:Factory/python-notebook/python-notebook.changes 2019-11-29 15:58:44.480908886 +0100 +++ /work/SRC/openSUSE:Factory/.python-notebook.new.26092/python-notebook.changes 2020-01-29 13:19:25.318201782 +0100 @@ -1,0 +2,14 @@ +Tue Jan 28 15:20:00 UTC 2020 - Todd R + +- Update to 6.0.3 + * Dependency updates to fix startup issues on Windows platform + * Add support for nbconvert 6.x + * Creation of recent tab +- Use multibuild to separate out tests. + The tests have some heavy dependencies the main package doesn't. +- Drop documentation. + These are mostly a relic of when the tests needed to be in a + separate package, and since the docs are no longer versioned + upstream keeping them synced with the main package is difficult. + +--- Old: jupyter-notebook.pdf jupyter-notebook.zip notebook-6.0.2.tar.gz New: _multibuild notebook-6.0.3.tar.gz Other differences: -- ++ python-notebook.spec ++ --- /var/tmp/diff_new_pack.mwjcmL/_old 2020-01-29 13:19:30.114204234 +0100 +++ /var/tmp/diff_new_pack.mwjcmL/_new 2020-01-29 13:19:30.118204236 +0100 @@ -16,27 +16,34 @@ # +%global flavor @BUILD_FLAVOR@%{nil} +%if "%{flavor}" == "test" +%define psuffix -test +%bcond_without test +%else +%define psuffix %{nil} +%bcond_with test +%endif + %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define doc_ver 5.7.6 %define skip_python2 1 -Name: python-notebook -Version:6.0.2 +Name: python-notebook%{psuffix} +Version:6.0.3 Release:0 Summary:Jupyter Notebook interface License:BSD-3-Clause Group: Development/Languages/Python URL:https://github.com/jupyter/notebook Source0: https://files.pythonhosted.org/packages/source/n/notebook/notebook-%{version}.tar.gz -Source1: https://media.readthedocs.org/pdf/jupyter-notebook/%{doc_ver}/jupyter-notebook.pdf -Source2: https://media.readthedocs.org/htmlzip/jupyter-notebook/%{doc_ver}/jupyter-notebook.zip Source100: python-notebook-rpmlintrc BuildRequires: %{python_module jupyter-core >= 4.4.0} BuildRequires: %{python_module setuptools} +BuildRequires: python-rpm-macros +%if !%{with test} BuildRequires: fdupes BuildRequires: hicolor-icon-theme BuildRequires: jupyter-notebook-filesystem -BuildRequires: python-rpm-macros -BuildRequires: unzip +%endif Requires: jupyter-notebook = %{version} Requires: python-Jinja2 Requires: python-Send2Trash @@ -56,7 +63,7 @@ Provides: python-jupyter_notebook = %{version} Obsoletes: python-jupyter_notebook < %{version} BuildArch: noarch -# SECTION test requirements +%if %{with test} BuildRequires: %{python_module Jinja2} BuildRequires: %{python_module attrs >= 17.4.0} BuildRequires: %{python_module Send2Trash} @@ -77,7 +84,7 @@ BuildRequires: %{python_module tornado >= 5} BuildRequires: %{python_module traitlets >= 4.2.1} BuildRequires: pandoc -# /SECTION +%endif %python_subpackages %description @@ -112,6 +119,8 @@ Requires: jupyter-notebook-filesystem Requires: python3-notebook = %{version} Conflicts: python3-jupyter_notebook < 5.7.8 +Provides: jupyter-notebook-doc = %{version} +Obsoletes: jupyter-notebook-doc < %{version} %description -n jupyter-notebook The Jupyter HTML notebook is a web-based notebook environment for @@ -146,27 +155,14 @@ This package pulls in the LaTeX dependencies for the Jupyter Notebook. -%package -n jupyter-notebook-doc -Summary:Documentation for Jupyter's notebook -Group: Documentation/Other -Provides: %{python_module jupyter_notebook-doc = %{version}} -Provides: %{python_module notebook-doc = %{version}} -Obsoletes: %{python_module jupyter_notebook-doc < %{version}} - -%description -n jupyter-notebook-doc -Documentation and help files for Jupyter's notebook. - %prep %setup -q -n notebook-%{version} -unzip %{SOURCE2} -d docs -mv docs/jupyter-notebook-* docs/html -rm docs/html/.buildinfo -%fdupes docs/html/ %build %python_build %install +%if !%{with test} %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} @@ -178,18 +174,15 @@ mkdir -p %{buildroot}%{_datadir}/icons/hicolor/${x}x${x}/apps/
commit python-notebook for openSUSE:Factory
Hello community, here is the log from the commit of package python-notebook for openSUSE:Factory checked in at 2019-11-29 15:57:01 Comparing /work/SRC/openSUSE:Factory/python-notebook (Old) and /work/SRC/openSUSE:Factory/.python-notebook.new.26869 (New) Package is "python-notebook" Fri Nov 29 15:57:01 2019 rev:4 rq:748353 version:6.0.2 Changes: --- /work/SRC/openSUSE:Factory/python-notebook/python-notebook.changes 2019-06-01 09:51:09.679290251 +0200 +++ /work/SRC/openSUSE:Factory/.python-notebook.new.26869/python-notebook.changes 2019-11-29 15:58:44.480908886 +0100 @@ -1,0 +2,61 @@ +Wed Nov 13 14:42:24 UTC 2019 - Todd R + +- jupyter_client renamed to jupyter-client +- jupyter_core renamed to jupyter-core + +--- +Mon Nov 11 18:33:27 UTC 2019 - Todd R + +- 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. + +--- Old: notebook-5.7.8.tar.gz New: notebook-6.0.2.tar.gz Other differences: -- ++ python-notebook.spec ++ --- /var/tmp/diff_new_pack.vvYX5o/_old 2019-11-29 15:58:47.280907280 +0100 +++ /var/tmp/diff_new_pack.vvYX5o/_new 2019-11-29 15:58:47.280907280 +0100 @@ -18,8 +18,9 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define doc_ver 5.7.6 +%define skip_python2 1 Name: python-notebook -Version:5.7.8 +Version:6.0.2 Release:0 Summary:Jupyter Notebook interface License:BSD-3-Clause @@ -29,7 +30,7 @@ Source1: https://media.readthedocs.org/pdf/jupyter-notebook/%{doc_ver}/jupyter-notebook.pdf Source2:
commit python-notebook for openSUSE:Factory
Hello community, here is the log from the commit of package python-notebook for openSUSE:Factory checked in at 2019-06-01 09:51:08 Comparing /work/SRC/openSUSE:Factory/python-notebook (Old) and /work/SRC/openSUSE:Factory/.python-notebook.new.5148 (New) Package is "python-notebook" Sat Jun 1 09:51:08 2019 rev:3 rq:706097 version:5.7.8 Changes: --- /work/SRC/openSUSE:Factory/python-notebook/python-notebook.changes 2019-05-25 13:35:24.671970049 +0200 +++ /work/SRC/openSUSE:Factory/.python-notebook.new.5148/python-notebook.changes 2019-06-01 09:51:09.679290251 +0200 @@ -1,0 +2,5 @@ +Tue May 28 06:21:40 UTC 2019 - Jan Engelhardt + +- Use noun phrase in summary. + +--- Other differences: -- ++ python-notebook.spec ++ --- /var/tmp/diff_new_pack.8pWRfA/_old 2019-06-01 09:51:10.863289846 +0200 +++ /var/tmp/diff_new_pack.8pWRfA/_new 2019-06-01 09:51:10.867289846 +0200 @@ -89,21 +89,22 @@ %packagelang # FIXME: consider using %%lang_package macro -Summary:Provides translations for the Jupyter Notebook +Summary:Translations for the Jupyter Notebook Group: System/Localization Requires: python-notebook = %{version} -Provides: python-notebook-lang-all = %{version} Provides: python-jupyter_notebook-lang = %{version} +Provides: python-notebook-lang-all = %{version} Obsoletes: python-jupyter_notebook-lang < %{version} Requires: jupyter-notebook-lang = %{version} %descriptionlang Provides translations for the Jupyter notebook. -This package provides the python module translations. +This package provides the Python module translations. %package -n jupyter-notebook Summary:Jupyter Notebook interface +Group: Development/Languages/Python Requires: jupyter-ipykernel Requires: jupyter-jupyter_client >= 5.2.0 Requires: jupyter-jupyter_core >= 4.4.0 @@ -120,7 +121,7 @@ This package provides the jupyter components. %package -n jupyter-notebook-lang -Summary:Provides translations for the Jupyter Notebook +Summary:Translations for the Jupyter Notebook Group: System/Localization Requires: jupyter-notebook = %{version} Requires: python3-notebook-lang = %{version} @@ -136,8 +137,8 @@ Group: Development/Languages/Python Requires: jupyter-nbconvert-latex Requires: jupyter-notebook = %{version} -Provides: %{python_module notebook-latex = %{version}} Provides: %{python_module jupyter_notebook-latex = %{version}} +Provides: %{python_module notebook-latex = %{version}} Obsoletes: %{python_module jupyter_notebook-latex < %{version}} %description -n jupyter-notebook-latex @@ -149,8 +150,8 @@ %package -n jupyter-notebook-doc Summary:Documentation for Jupyter's notebook Group: Documentation/Other -Provides: %{python_module notebook-doc = %{version}} Provides: %{python_module jupyter_notebook-doc = %{version}} +Provides: %{python_module notebook-doc = %{version}} Obsoletes: %{python_module jupyter_notebook-doc < %{version}} %description -n jupyter-notebook-doc
commit python-notebook for openSUSE:Factory
Hello community, here is the log from the commit of package python-notebook for openSUSE:Factory checked in at 2019-05-25 13:35:23 Comparing /work/SRC/openSUSE:Factory/python-notebook (Old) and /work/SRC/openSUSE:Factory/.python-notebook.new.5148 (New) Package is "python-notebook" Sat May 25 13:35:23 2019 rev:2 rq:705228 version:5.7.8 Changes: --- /work/SRC/openSUSE:Factory/python-notebook/python-notebook.changes 2019-05-22 11:12:46.798573913 +0200 +++ /work/SRC/openSUSE:Factory/.python-notebook.new.5148/python-notebook.changes 2019-05-25 13:35:24.671970049 +0200 @@ -1,0 +2,11 @@ +Fri May 24 03:33:21 UTC 2019 - Todd R + +- Add a jupyter-specific language package + +--- +Wed May 22 18:59:10 UTC 2019 - Todd R + +- Split directories and macros into separate package. +- Make lang subpackage python version-specific + +--- Old: macros.jupyter_notebook Other differences: -- ++ python-notebook.spec ++ --- /var/tmp/diff_new_pack.WOuv11/_old 2019-05-25 13:35:26.715968591 +0200 +++ /var/tmp/diff_new_pack.WOuv11/_new 2019-05-25 13:35:26.759968560 +0200 @@ -28,12 +28,12 @@ Source0: https://files.pythonhosted.org/packages/source/n/notebook/notebook-%{version}.tar.gz Source1: https://media.readthedocs.org/pdf/jupyter-notebook/%{doc_ver}/jupyter-notebook.pdf Source2: https://media.readthedocs.org/htmlzip/jupyter-notebook/%{doc_ver}/jupyter-notebook.zip -Source10: macros.jupyter_notebook Source100: python-notebook-rpmlintrc BuildRequires: %{python_module jupyter_core >= 4.4.0} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: hicolor-icon-theme +BuildRequires: jupyter-notebook-filesystem BuildRequires: python-rpm-macros BuildRequires: unzip Requires: jupyter-notebook = %{version} @@ -87,6 +87,21 @@ This package provides the python interface. +%packagelang +# FIXME: consider using %%lang_package macro +Summary:Provides translations for the Jupyter Notebook +Group: System/Localization +Requires: python-notebook = %{version} +Provides: python-notebook-lang-all = %{version} +Provides: python-jupyter_notebook-lang = %{version} +Obsoletes: python-jupyter_notebook-lang < %{version} +Requires: jupyter-notebook-lang = %{version} + +%descriptionlang +Provides translations for the Jupyter notebook. + +This package provides the python module translations. + %package -n jupyter-notebook Summary:Jupyter Notebook interface Requires: jupyter-ipykernel @@ -94,8 +109,7 @@ Requires: jupyter-jupyter_core >= 4.4.0 Requires: jupyter-nbconvert Requires: jupyter-nbformat -# This package provides macros that depend on these macros -Requires: python-rpm-macros +Requires: jupyter-notebook-filesystem Requires: python3-notebook = %{version} Conflicts: python3-jupyter_notebook < 5.7.8 @@ -106,18 +120,16 @@ This package provides the jupyter components. %package -n jupyter-notebook-lang -# FIXME: consider using %%lang_package macro -Summary:Provides translations for %{name} +Summary:Provides translations for the Jupyter Notebook Group: System/Localization Requires: jupyter-notebook = %{version} +Requires: python3-notebook-lang = %{version} Provides: jupyter-notebook-lang-all = %{version} -Provides: %{python_module notebook-lang = %{version}} -Provides: %{python_module notebook-lang-all = %{version}} -Provides: %{python_module jupyter_notebook-lang = %{version}} -Obsoletes: %{python_module jupyter_notebook-lang < %{version}} %description -n jupyter-notebook-lang -Provides translations for the "jupyter-notebook" package. +Provides translations for the Jupyter notebook. + +This package provides the jupyter component translations. %package -n jupyter-notebook-latex Summary:LaTeX support for the Jupyter Notebook @@ -146,7 +158,6 @@ %prep %setup -q -n notebook-%{version} -cp %{SOURCE1} . unzip %{SOURCE2} -d docs mv docs/jupyter-notebook-* docs/html rm docs/html/.buildinfo @@ -159,16 +170,6 @@ %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} -# These directories are used for extensions -mkdir -p %{buildroot}%{_jupyter_prefix}/nbextensions -mkdir -p %{buildroot}%{_jupyter_confdir}/jupyter_notebook_config.d/ -mkdir -p %{buildroot}%{_jupyter_confdir}/jupyter_server_config.d/ -mkdir -p %{buildroot}%{_jupyter_confdir}/nbextensions/ - -for d in auth base bidi custom edit notebook services style terminal tree ; do -