Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-sidecar for openSUSE:Factory 
checked in at 2023-01-23 18:31:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-sidecar (Old)
 and      /work/SRC/openSUSE:Factory/.python-sidecar.new.32243 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-sidecar"

Mon Jan 23 18:31:39 2023 rev:5 rq:1060278 version:unknown

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-sidecar/python-sidecar.changes    
2021-03-30 20:59:46.348676554 +0200
+++ /work/SRC/openSUSE:Factory/.python-sidecar.new.32243/python-sidecar.changes 
2023-01-23 18:32:00.372077883 +0100
@@ -1,0 +2,10 @@
+Sun Jan 22 15:09:55 UTC 2023 - Ben Greiner <[email protected]>
+
+- Update to 0.5.2 w/ labver 0.6.2
+  * ipywidgets 8.0 compatibility by @jasongrout and @mwcraig in #86
+  * Drop support for Python 3.6
+- Release 0.5.1
+  * Add anchor attribute to choose between right sidebar or main
+    area
+
+-------------------------------------------------------------------

Old:
----
  sidecar-0.5.0-py2.py3-none-any.whl

New:
----
  sidecar-0.5.2-py3-none-any.whl

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

Other differences:
------------------
++++++ python-sidecar.spec ++++++
--- /var/tmp/diff_new_pack.HxKtBm/_old  2023-01-23 18:32:01.080082783 +0100
+++ /var/tmp/diff_new_pack.HxKtBm/_new  2023-01-23 18:32:01.088082838 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-sidecar
 #
-# Copyright (c) 2021 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
@@ -16,19 +16,19 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%define         skip_python2 1
+%define python3dist python3dist
 Name:           python-sidecar
-%define mainver 0.5.0
-%define labver  0.6.0
+%define mainver 0.5.2
+%define labver  0.6.2
 Version:        %{mainver}
 Release:        0
 Summary:        A sidecar output widget for JupyterLab
 License:        BSD-3-Clause
 Group:          Development/Languages/Python
 URL:            https://github.com/jupyter-widgets/jupyterlab-sidecar
-Source:         
https://files.pythonhosted.org/packages/py2.py3/s/sidecar/sidecar-%{mainver}-py2.py3-none-any.whl
 
-BuildRequires:  %{python_module ipywidgets >= 7.0.0}
+Source:         
https://files.pythonhosted.org/packages/py3/s/sidecar/sidecar-%{mainver}-py3-none-any.whl
+BuildRequires:  %{python_module base >= 3.7}
+BuildRequires:  %{python_module ipywidgets >= 7.6.0 with %python-ipywidgets < 
9}
 BuildRequires:  %{python_module jupyterlab >= 3.0.0}
 BuildRequires:  %{python_module pip}
 BuildRequires:  fdupes
@@ -36,8 +36,8 @@
 BuildRequires:  jupyter-jupyterlab-filesystem
 BuildRequires:  python-rpm-macros
 Requires:       jupyter-sidecar-jupyterlab = %{labver}
-Requires:       python-ipywidgets >= 7.6.0
 Requires:       python-jupyterlab >= 3.0.0
+Requires:       (python-ipywidgets >= 7.6.0 with python-ipywidgets < 9)
 BuildArch:      noarch
 
 %python_subpackages
@@ -53,7 +53,7 @@
 Version:        %{labver}
 Release:        0
 Requires:       jupyter-jupyterlab >= 3.0.0
-Requires:       python3-sidecar = %{mainver}
+Requires:       %{python3dist}(sidecar) = %{mainver}
 
 %description -n jupyter-sidecar-jupyterlab
 A sidecar output widget for JupyterLab.
@@ -67,12 +67,11 @@
 # Not needed
 
 %install
-%{python_expand mkdir build; cp -a %{SOURCE0} build/}
-%pyproject_install
+%pyproject_install %{SOURCE0}
 %python_expand find %{buildroot}%{$python_sitelib} -name '*.py' -exec sed -i 
'1{/^#!.*env/ d}' {} \;
 %python_compileall
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
-cp %{buildroot}%{python3_sitelib}/sidecar-%{mainver}.dist-info/LICENSE.txt .
+find %{buildroot}%{_prefix} -path '*/sidecar-%{mainver}.dist-info/LICENSE.txt' 
-exec cp {} . ';' -quit
 
 #%%check
 # Tests need online connection using jlpm

Reply via email to