Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-jupyterlab-templates for
openSUSE:Factory checked in at 2023-01-04 17:52:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-jupyterlab-templates (Old)
and /work/SRC/openSUSE:Factory/.python-jupyterlab-templates.new.1563 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-jupyterlab-templates"
Wed Jan 4 17:52:42 2023 rev:7 rq:1046632 version:0.3.2
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-jupyterlab-templates/python-jupyterlab-templates.changes
2021-11-17 01:14:53.194186345 +0100
+++
/work/SRC/openSUSE:Factory/.python-jupyterlab-templates.new.1563/python-jupyterlab-templates.changes
2023-01-04 17:52:56.594302031 +0100
@@ -1,0 +2,9 @@
+Tue Jan 3 18:21:12 UTC 2023 - Ben Greiner <[email protected]>
+
+- Update to 0.3.2
+ * Maintenance release without release notes
+- Update macro usage
+- Remove invalid PEP440 specifier in dev-extra which made
+ pythondistdeps.py choke
+
+-------------------------------------------------------------------
Old:
----
jupyterlab_templates-0.3.1-py2.py3-none-any.whl
New:
----
jupyterlab_templates-0.3.2-py2.py3-none-any.whl
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-jupyterlab-templates.spec ++++++
--- /var/tmp/diff_new_pack.MrE7Sq/_old 2023-01-04 17:52:57.038304649 +0100
+++ /var/tmp/diff_new_pack.MrE7Sq/_new 2023-01-04 17:52:57.038304649 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-jupyterlab-templates
#
-# 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,17 +16,16 @@
#
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
-%define skip_python36 1
Name: python-jupyterlab-templates
-Version: 0.3.1
+Version: 0.3.2
Release: 0
Summary: Templates for notebooks in JupyterLab
License: Apache-2.0
-URL: https://github.com/jpmorganchase/jupyterlab_templates
+URL: https://github.com/finos/jupyterlab_templates
Source:
https://files.pythonhosted.org/packages/py2.py3/j/jupyterlab-templates/jupyterlab_templates-%{version}-py2.py3-none-any.whl
-BuildRequires: %{python_module jupyterlab}
+BuildRequires: %{python_module base >= 3.7}
+BuildRequires: %{python_module jupyterlab >= 3.0.0}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: fdupes
@@ -34,7 +33,7 @@
BuildRequires: jupyter-notebook-filesystem
BuildRequires: python-rpm-macros
Requires: jupyter-jupyterlab-templates = %{version}
-Requires: python-jupyterlab >= 1.0.0
+Requires: python-jupyterlab >= 3.0.0
Conflicts: jupyter-jupyterlab_templates < %{version}
Provides: python-jupyter_jupyterlab_templates = %{version}
Obsoletes: python-jupyter_jupyterlab_templates < %{version}
@@ -62,7 +61,11 @@
%install
%pyproject_install
-%python_expand sed -i 's/^from mock/from unittest.mock/'
%{buildroot}%{$python_sitelib}/jupyterlab_templates/tests/test_extension.py
+%{python_expand #
+sed -i 's/^from mock/from unittest.mock/'
%{buildroot}%{$python_sitelib}/jupyterlab_templates/tests/test_extension.py
+# remove invalid PEP440 specifier: pythondistdeps.py chokes on it
+sed -i '/black/d'
%{buildroot}%{$python_sitelib}/jupyterlab_templates-%{version}.dist-info/METADATA
+}
%python_compileall
%jupyter_move_config
%python_expand %fdupes %{buildroot}%{$python_sitelib}
@@ -80,7 +83,7 @@
%files -n jupyter-jupyterlab-templates
%license LICENSE
-%{?!_jupyter_distconfig:%config}
%{_jupyter_server_confdir}/jupyterlab_templates.json
+%_jupyter_config %{_jupyter_server_confdir}/jupyterlab_templates.json
%dir %{_jupyter_prefix}/labextensions
%{_jupyter_prefix}/labextensions/jupyterlab_templates