Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pythreejs for 
openSUSE:Factory checked in at 2023-08-28 17:16:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pythreejs (Old)
 and      /work/SRC/openSUSE:Factory/.python-pythreejs.new.1766 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pythreejs"

Mon Aug 28 17:16:25 2023 rev:8 rq:1106077 version:unknown

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pythreejs/python-pythreejs.changes        
2022-08-29 09:43:09.739826182 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-pythreejs.new.1766/python-pythreejs.changes  
    2023-08-28 17:16:27.999347112 +0200
@@ -1,0 +2,5 @@
+Sat Aug 26 15:41:15 UTC 2023 - Ben Greiner <[email protected]>
+
+- Nbextension: nbclassic or notebook < 7 required
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-pythreejs.spec ++++++
--- /var/tmp/diff_new_pack.3VmB3R/_old  2023-08-28 17:16:29.175389344 +0200
+++ /var/tmp/diff_new_pack.3VmB3R/_new  2023-08-28 17:16:29.175389344 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pythreejs
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,6 +17,7 @@
 
 
 %define mainver 2.4.1
+%define shortver 2.4.1
 %define jupver  2.4.0
 Name:           python-pythreejs
 Version:        %{mainver}
@@ -27,13 +28,12 @@
 URL:            https://github.com/jupyter-widgets/pythreejs
 # Get examples for testing from GitHub
 Source0:        
https://github.com/jupyter-widgets/pythreejs/archive/%{version}.tar.gz#/pythreejs-%{version}-gh.tar.gz
-# but install from wheel for bundles js stuff
+# but install from wheel for bundled js stuff
 Source1:        
https://files.pythonhosted.org/packages/py3/p/pythreejs/pythreejs-%{version}-py3-none-any.whl
 BuildRequires:  %{python_module base >= 3.7}
-BuildRequires:  %{python_module notebook}
 BuildRequires:  %{python_module pip}
 BuildRequires:  fdupes
-BuildRequires:  jupyter-jupyterlab-filesystem
+BuildRequires:  jupyter-rpm-macros
 BuildRequires:  python-rpm-macros
 Recommends:     jupyter-threejs-jupyterlab = %{jupver}
 Requires:       jupyter-threejs = %{jupver}
@@ -43,6 +43,7 @@
 Requires:       python-traitlets
 BuildArch:      noarch
 # SECTION test requirements
+BuildRequires:  %{python_module nbclassic}
 BuildRequires:  %{python_module ipydatawidgets >= 1.1.1}
 BuildRequires:  %{python_module ipywebrtc}
 BuildRequires:  %{python_module ipywidgets >= 7.2.1}
@@ -68,8 +69,9 @@
 Group:          Development/Languages/Python
 Requires:       jupyter-ipydatawidgets >= 1.1.1
 Requires:       jupyter-ipywidgets >= 7.2.1
-Requires:       jupyter-notebook
-Requires:       python3-pythreejs = %{mainver}
+Requires:       (jupyter-notebook < 7 or jupyter-nbclassic)
+Requires:       python3dist(pythreejs) = %{shortver}
+Suggests:       python3-pythreejs
 Provides:       jupyter-pythreejs = %{jupver}-%{release}
 Obsoletes:      jupyter-pythreejs < %{jupver}-%{release}
 
@@ -86,7 +88,8 @@
 Release:        0
 Requires:       jupyter-ipydatawidgets-jupyterlab >= 1.1.1
 Requires:       jupyter-jupyterlab
-Requires:       python3-pythreejs = %{mainver}
+Requires:       python3dist(pythreejs) = %{shortver}
+Suggests:       python3-pythreejs
 Provides:       jupyter-pythreejs-jupyterlab = %{jupver}-%{release}
 Obsoletes:      jupyter-pythreejs-jupyterlab < %{jupver}-%{release}
 
@@ -116,6 +119,14 @@
 
 %check
 %pytest -l --nbval-lax --current-env examples
+export JUPYTER_PATH=%{buildroot}%{_jupyter_prefix}
+export JUPYTER_CONFIG_DIR=%{buildroot}%{_jupyter_confdir}
+%{python_expand # check extensions
+export PYTHONPATH=%{buildroot}%{$python_sitelib}
+jupyter-%{$python_bin_suffix} nbclassic-extension list 2>&1 | grep 
'threejs.*enabled'
+jupyter-%{$python_bin_suffix} labextension list 2>&1 | grep 'threejs.*enabled'
+}
+rm -f %{buildroot}%{_jupyter_confdir}migrated
 
 %files %{python_files}
 %license LICENSE

Reply via email to