Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-ipywebrtc for
openSUSE:Factory checked in at 2023-08-28 17:14:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-ipywebrtc (Old)
and /work/SRC/openSUSE:Factory/.python-ipywebrtc.new.1766 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-ipywebrtc"
Mon Aug 28 17:14:50 2023 rev:6 rq:1106065 version:0.6.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-ipywebrtc/python-ipywebrtc.changes
2023-08-18 19:28:48.239363767 +0200
+++
/work/SRC/openSUSE:Factory/.python-ipywebrtc.new.1766/python-ipywebrtc.changes
2023-08-28 17:14:53.935969308 +0200
@@ -1,0 +2,5 @@
+Sat Aug 26 15:05:12 UTC 2023 - Ben Greiner <[email protected]>
+
+- Use notebook < 6 or nbclassic for the nbextension
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-ipywebrtc.spec ++++++
--- /var/tmp/diff_new_pack.WqOXTN/_old 2023-08-28 17:14:54.984006943 +0200
+++ /var/tmp/diff_new_pack.WqOXTN/_new 2023-08-28 17:14:54.988007087 +0200
@@ -28,11 +28,12 @@
BuildRequires: %{python_module ipywidgets >= 7.4.0}
BuildRequires: %{python_module jupyter-packaging >= 0.7.9}
BuildRequires: %{python_module jupyterlab >= 3.0}
-BuildRequires: %{python_module notebook}
+BuildRequires: %{python_module nbclassic}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools >= 40.8}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
+BuildRequires: jupyter-rpm-macros
BuildRequires: npm
BuildRequires: python-rpm-macros
Requires: jupyter-ipywebrtc = %{version}
@@ -49,8 +50,7 @@
%package -n jupyter-ipywebrtc
Summary: WebRTC for Jupyter notebook/lab
Requires: jupyter-ipywidgets >= 7.4.0
-Requires: jupyter-jupyterlab
-Requires: jupyter-notebook
+Requires: (jupyter-jupyterlab or jupyter-notebook < 7 or
jupyter-nbclassic)
# Any flavor is okay, but suggest the primary one for automatic zypper choice
-- boo#1214354
Requires: python3dist(ipywebrtc) = %{distversion}
Suggests: python3-ipywebrtc
@@ -79,9 +79,10 @@
export JUPYTER_CONFIG_DIR=%{buildroot}%{_jupyter_confdir}
%{python_expand # Just check that we installed the extensions
export PYTHONPATH=%{buildroot}%{$python_sitelib}
-jupyter-%{$python_bin_suffix} nbextension list 2>&1 | grep -ie
"jupyter-webrtc/extension.*enabled"
+jupyter-%{$python_bin_suffix} nbclassic-extension list 2>&1 | grep -ie
"jupyter-webrtc/extension.*enabled"
jupyter-%{$python_bin_suffix} labextension list 2>&1 | grep -ie
"jupyter-webrtc.*enabled.*ok"
}
+rm -f %{buildroot}%{_jupyter_confdir}migrated
%files %{python_files}
%doc README.md
@@ -91,7 +92,7 @@
%files -n jupyter-ipywebrtc
%license LICENSE
-%config %{_jupyter_nb_notebook_confdir}/jupyter-webrtc.json
+%_jupyter_config %{_jupyter_nb_notebook_confdir}/jupyter-webrtc.json
%{_jupyter_nbextension_dir}/jupyter-webrtc/
%dir %{_jupyter_prefix}/labextensions/
%{_jupyter_prefix}/labextensions/jupyter-webrtc/