Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-jupyter-server for 
openSUSE:Factory checked in at 2021-02-10 21:30:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-jupyter-server (Old)
 and      /work/SRC/openSUSE:Factory/.python-jupyter-server.new.28504 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-jupyter-server"

Wed Feb 10 21:30:04 2021 rev:10 rq:868941 version:1.2.3

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-jupyter-server/python-jupyter-server.changes  
    2020-06-10 00:49:22.675095946 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-jupyter-server.new.28504/python-jupyter-server.changes
   2021-02-10 21:30:06.502260260 +0100
@@ -1,0 +2,18 @@
+Mon Feb  1 22:48:25 UTC 2021 - Ben Greiner <c...@bnavigator.de>
+
+- Update to version 1.2.3
+  * for the full changelog between 0.2.1 and 1.2.3 see
+    https://github.com/jupyter-server/jupyter_server/blob/master/CHANGELOG.md
+  * 1.0.6: Fix open redirect vulnerability GHSA-grfj-wjv9-4f9v
+    (CVE-2020-26232) 
+  * 1.0: Added new extension manager API for handling server 
+    extensions
+  * 1.0: Dropped support for Python 3.5. (296)
+  * 1.0: Removed ipykernel as a dependency of jupyter_server.
+  * 0.3: (#194) The bundlerextension entry point was removed.
+- Merge the jupyter-jupyter_server package into the python
+  packages using update-alternatives. It contained only the script
+  entrypoints.
+- Fix testsuite by providing the correct entrypoints in PATH
+
+-------------------------------------------------------------------

Old:
----
  jupyter_server-0.2.1.tar.gz

New:
----
  jupyter_server-1.2.3.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-jupyter-server.spec ++++++
--- /var/tmp/diff_new_pack.4E8Krt/_old  2021-02-10 21:30:07.454261637 +0100
+++ /var/tmp/diff_new_pack.4E8Krt/_new  2021-02-10 21:30:07.458261643 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-jupyter-server
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,58 +19,60 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define         skip_python2 1
 Name:           python-jupyter-server
-Version:        0.2.1
+Version:        1.2.3
 Release:        0
 Summary:        The Jupyter Server
 License:        BSD-3-Clause
 Group:          Development/Languages/Python
 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
-# SECTION test requirements
+# We need the full stdlib
+BuildRequires:  %pythons
 BuildRequires:  %{python_module Jinja2}
 BuildRequires:  %{python_module Send2Trash}
-BuildRequires:  %{python_module coverage}
-BuildRequires:  %{python_module ipykernel}
+BuildRequires:  %{python_module anyio >= 2.0.2}
 BuildRequires:  %{python_module ipython_genutils}
-BuildRequires:  %{python_module jupyter-client >= 5.2.0}
+BuildRequires:  %{python_module jupyter-client >= 6.1.1}
 BuildRequires:  %{python_module jupyter-core >= 4.4.0}
 BuildRequires:  %{python_module nbconvert}
 BuildRequires:  %{python_module nbformat}
-BuildRequires:  %{python_module nbval}
-BuildRequires:  %{python_module nose}
 BuildRequires:  %{python_module prometheus_client}
-BuildRequires:  %{python_module pytest-console-scripts}
-BuildRequires:  %{python_module pytest-tornasync}
-BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module pyzmq >= 17}
-BuildRequires:  %{python_module requests}
-BuildRequires:  %{python_module terminado >= 0.8.1}
-BuildRequires:  %{python_module tornado >= 4}
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module terminado >= 0.8.3}
+BuildRequires:  %{python_module tornado >= 6.1}
 BuildRequires:  %{python_module traitlets >= 4.2.1}
-BuildRequires:  pandoc
-# /SECTION
-Requires:       jupyter-jupyter-server = %{version}
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
 Requires:       python-Jinja2
 Requires:       python-Send2Trash
-Requires:       python-ipykernel
+Requires:       python-anyio
 Requires:       python-ipython_genutils
-Requires:       python-jupyter-client >= 5.2.0
+Requires:       python-jupyter-client >= 6.1.1
 Requires:       python-jupyter-core >= 4.4.0
 Requires:       python-nbconvert
 Requires:       python-nbformat
 Requires:       python-prometheus_client
 Requires:       python-pyzmq >= 17
-Requires:       python-terminado >= 0.8.1
-Requires:       python-tornado >= 4
+Requires:       python-terminado >= 0.8.3
+Requires:       python-tornado >= 6.1
 Requires:       python-traitlets >= 4.2.1
-%ifpython2
-Requires:       python-ipaddress
-%endif
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
+# SECTION extras_require test
+BuildRequires:  %{python_module ipykernel}
+BuildRequires:  %{python_module pytest-console-scripts}
+BuildRequires:  %{python_module pytest-tornasync}
+BuildRequires:  %{python_module pytest}
+BuildRequires:  %{python_module requests}
+# /SECTION
+Provides:       python-jupyter_server = %{version}-%{release}
+Obsoletes:      python-jupyter_server < %{version}-%{release}
+%if "%{python_flavor}" == "python3" || "%{python_provides}" == "python3"
+Provides:       jupyter-jupyter-server = %{version}-%{release}
+Obsoletes:      jupyter-jupyter-server < %{version}-%{release}
 BuildArch:      noarch
-
+%endif
 %python_subpackages
 
 %description
@@ -79,26 +81,6 @@
 explanatory text. The Notebook has support for multiple programming
 languages, sharing, and interactive widgets.
 
-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
-Requires:       jupyter-nbconvert
-Requires:       jupyter-nbformat
-Requires:       python3-jupyter-server = %{version}
-
-%description -n jupyter-jupyter-server
-The Jupyter Server is a web application that allows you to create and
-share documents that contain live code, equations, visualizations, and
-explanatory text. The Notebook has support for multiple programming
-languages, sharing, and interactive widgets.
-
-This package provides the jupyter components.
-
 %prep
 %setup -q -n jupyter_server-%{version}
 
@@ -107,24 +89,32 @@
 
 %install
 %python_install
+%python_clone -a  %{buildroot}%{_bindir}/jupyter-server
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
-# Avoid conflict with jupyter-notebook
-mv %{buildroot}%{_bindir}/jupyter-bundlerextension 
%{buildroot}%{_bindir}/jupyter-server-bundlerextension
-
 %check
+%{python_expand # provide u-a entrypoints in the correct flavor version -- 
installed packages and jupyter-server
+mkdir build/testbin
+for bin in %{_bindir}/*-%{$python_bin_suffix} 
%{buildroot}%{_bindir}/*-%{$python_bin_suffix} ; do
+  # four percent into 1 by rpm/python expansions
+  ln -s ${bin} build/testbin/$(basename ${bin%%%%-%{$python_bin_suffix}})
+done
+}
 export LANG=en_US.UTF-8
-export PATH=$PATH:%{buildroot}%{_bindir}
+export PATH=$PWD/build/testbin:$PATH
 %pytest tests
 
+%post
+%python_install_alternative jupyter-server
+
+%postun
+%python_uninstall_alternative jupyter-server
+
 %files %{python_files}
 %doc README.md
 %license COPYING.md
-%{python_sitelib}/*
-
-%files -n jupyter-jupyter-server
-%license COPYING.md
-%{_bindir}/jupyter-server
-%{_bindir}/jupyter-server-bundlerextension
+%python_alternative %{_bindir}/jupyter-server
+%{python_sitelib}/jupyter_server
+%{python_sitelib}/jupyter_server-%{version}*-info
 
 %changelog

++++++ jupyter_server-0.2.1.tar.gz -> jupyter_server-1.2.3.tar.gz ++++++
++++ 31019 lines of diff (skipped)

Reply via email to