Script 'mail_helper' called by obssrc
Hello community,

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

Package is "python-jupyterlab"

Wed Feb 10 21:30:11 2021 rev:11 rq:870838 version:3.0.7

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-jupyterlab/python-jupyterlab.changes      
2020-07-17 20:49:25.428831021 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-jupyterlab.new.28504/python-jupyterlab.changes
   2021-02-10 21:30:13.826270857 +0100
@@ -1,0 +2,28 @@
+Tue Feb  9 12:51:39 UTC 2021 - Jan Engelhardt <jeng...@inai.de>
+
+- Set buildshell to /bin/bash for use of "+=".
+
+-------------------------------------------------------------------
+Thu Feb  4 17:00:59 UTC 2021 - Benjamin Greiner <c...@bnavigator.de>
+
+- Fix typo in requirements
+
+-------------------------------------------------------------------
+Tue Feb  2 22:43:04 UTC 2021 - Ben Greiner <c...@bnavigator.de>
+
+- Update to 3.0.7
+  * Full Changelog at
+    https://jupyterlab.readthedocs.io/en/stable/getting_started/changelog.html
+- User Facing changes in v3.0.0
+  * Extensions can be installed without building JupyterLab with
+    NodeJS
+  * The JupyterLab interface supports multiple language
+  * A new visual debugger
+  * Improvements to Simple Interface mode and Mobile
+  * Table of Contents is now in core
+  * Visual filter in file browser
+  * Property inspector moved to right sidebar
+  * Command Palette is a floating window
+  * Now depends on Jupyter Server
+
+-------------------------------------------------------------------

Old:
----
  jupyterlab-2.2.0-py3-none-any.whl

New:
----
  jupyterlab-3.0.7-py3-none-any.whl

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

Other differences:
------------------
++++++ python-jupyterlab.spec ++++++
--- /var/tmp/diff_new_pack.ZlT13d/_old  2021-02-10 21:30:14.830272310 +0100
+++ /var/tmp/diff_new_pack.ZlT13d/_new  2021-02-10 21:30:14.834272316 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-jupyterlab
 #
-# 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
@@ -16,42 +16,54 @@
 #
 
 
+%define _buildshell /bin/bash
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define         skip_python2 1
 Name:           python-jupyterlab
-Version:        2.2.0
+Version:        3.0.7
 Release:        0
 Summary:        Environment for interactive and reproducible computing
 License:        BSD-3-Clause
 Group:          Development/Languages/Python
 URL:            https://github.com/jupyterlab/jupyterlab
+# install from wheel with all the bundled nodejs stuff
 Source0:        
https://files.pythonhosted.org/packages/py3/j/jupyterlab/jupyterlab-%{version}-py3-none-any.whl
 Source99:       python-jupyterlab-rpmlintrc
-BuildRequires:  %{python_module base >= 3.5}
-BuildRequires:  %{python_module jupyterlab-server >= 1.1.4}
-BuildRequires:  %{python_module notebook >= 4.3.1}
+BuildRequires:  %{python_module Jinja2 >= 2.10}
+BuildRequires:  %{python_module base >= 3.6}
+BuildRequires:  %{python_module ipython}
+BuildRequires:  %{python_module jupyter_core}
+BuildRequires:  %{python_module jupyter_server >= 1.2}
+BuildRequires:  %{python_module jupyterlab-server >= 2.0}
+BuildRequires:  %{python_module nbclassic >= 0.2}
+BuildRequires:  %{python_module packaging}
 BuildRequires:  %{python_module pip}
-BuildRequires:  %{python_module tornado}
+BuildRequires:  %{python_module tornado >= 6.1}
 BuildRequires:  fdupes
 BuildRequires:  jupyter-jupyterlab-filesystem
-BuildRequires:  nodejs >= 10
-BuildRequires:  npm >= 10
 BuildRequires:  python-rpm-macros
 Requires:       jupyter-jupyterlab = %{version}
 Requires:       python-Jinja2 >= 2.10
-Requires:       python-base >= 3.5
-Requires:       python-jupyter-core
-Requires:       python-jupyterlab-server >= 1.1.4
-Requires:       python-notebook >= 4.3.1
-Requires:       python-tornado
+Requires:       python-ipython
+Requires:       python-jupyter_core
+Requires:       python-jupyter_server >= 1.2
+Requires:       python-jupyterlab-server >= 2.0
+Requires:       python-nbclassic >= 0.2
+Requires:       python-packaging
+Requires:       python-tornado >= 6.1
 Provides:       python-jupyter_jupyterlab = %{version}
 Obsoletes:      python-jupyter_jupyterlab < %{version}
 BuildArch:      noarch
-# SECTION test requirements
-BuildRequires:  %{python_module Jinja2 >= 2.10}
+# SECTION test requirements including jupyterlab_server[test] and 
jupyter_server[test]
+BuildRequires:  %{python_module ipykernel}
+BuildRequires:  %{python_module pytest >= 6.0}
 BuildRequires:  %{python_module pytest-check-links}
-BuildRequires:  %{python_module pytest}
+BuildRequires:  %{python_module pytest-console-scripts}
+BuildRequires:  %{python_module pytest-tornasync}
 BuildRequires:  %{python_module requests}
+BuildRequires:  %{python_module strict-rfc3339}
+BuildRequires:  %{python_module virtualenv}
+BuildRequires:  %{python_module wheel}
 # /SECTION
 %python_subpackages
 
@@ -67,10 +79,7 @@
 %package     -n jupyter-jupyterlab
 Summary:        Environment for interactive and reproducible computing
 Group:          Development/Languages/Python
-Requires:       jupyter-jupyter-core
 Requires:       jupyter-jupyterlab-filesystem
-Requires:       jupyter-jupyterlab-server >= 1.0.0
-Requires:       jupyter-notebook >= 4.3.1
 Requires:       nodejs >= 10
 Requires:       npm >= 10
 Requires:       python3-jupyterlab = %{version}
@@ -93,9 +102,8 @@
 # not needed
 
 %install
-cp -a %{SOURCE0} .
+%{python_expand mkdir build; cp -a %{SOURCE0} build/}
 %pyproject_install
-
 %jupyter_move_config
 %python_expand sed -i -e 's|^#!%{_bindir}/env node|#!%{_bindir}/node|' 
%{buildroot}%{$python_sitelib}/jupyterlab/node-version-check.js
 %python_expand sed -i -e 's|^#!%{_bindir}/env node|#!%{_bindir}/node|' 
%{buildroot}%{$python_sitelib}/jupyterlab/staging/yarn.js
@@ -103,18 +111,34 @@
 %python_expand chmod a+x 
%{buildroot}%{$python_sitelib}/jupyterlab/staging/yarn.js
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 %fdupes %{buildroot}%{_jupyter_prefix}
-
 cp %{buildroot}%{python3_sitelib}/jupyterlab-%{version}.dist-info/LICENSE .
 
 %check
-export PYTHONDONTWRITEBYTECODE=1
+# This is only a rudimentary set of tests which we can run offline using 
pytest directly. The full test
+# suite would use jlpm which needs online connection through npm:
+# 
https://jupyterlab.readthedocs.io/en/stable/developer/contributing.html#build-and-run-the-tests
 # Disable build checks that pull in remote resources with npm
-%{pytest %{buildroot}%{$python_sitelib}/jupyterlab/ -k \
-    'not (test_build or test_clear or test_build_check or test_build_custom or 
test_uninstall_core_extension or test_install_and_uninstall_pinned or 
test_install_and_uninstall_pinned_folder or test_install_extension)'
-}
+donttest+=" or (TestExtension and test_app_dir)"
+donttest+=" or (TestExtension and test_build)"
+donttest+=" or (TestExtension and test_disable_extension)"
+donttest+=" or (TestExtension and test_enable_extension)"
+donttest+=" or (TestExtension and test_list_extension)"
+donttest+=" or (TestExtension and test_link)"
+donttest+=" or (TestExtension and test_unlink)"
+donttest+=" or (TestExtension and test_install)"
+donttest+=" or (TestExtension and test_uninstall)"
+donttest+=" or (TestExtension and test_update)"
+donttest+=" or (TestAppHandlerRegistry and test_get_registry)"
+donttest+=" or (TestAppHandlerRegistry and test_populate_staging)"
+donttest+=" or (TestAppHandlerRegistry and test_yarn_config)"
+# don't have the fixtures
+donttest+=" or (TestBuildAPI and (test_get_status or test_build))"
+donttest+=" or test_load_extension"
+
+%pytest --pyargs jupyterlab -k "not (${donttest:4})"
 
 %files %{python_files}
-%license %{python_sitelib}/jupyterlab-%{version}.dist-info/LICENSE
+%license LICENSE
 %{python_sitelib}/jupyterlab/
 %{python_sitelib}/jupyterlab-%{version}.dist-info/
 
@@ -123,7 +147,9 @@
 %{_bindir}/jlpm
 %{_bindir}/jupyter-lab
 %{_bindir}/jupyter-labextension
+%{_bindir}/jupyter-labhub
 %config %{_jupyter_servextension_confdir}/jupyterlab.json
+%config %{_jupyter_server_confdir}/jupyterlab.json
 %{_jupyter_lab_dir}
 
 %changelog

Reply via email to