Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package 
python-jupyter_nbextensions_configurator for openSUSE:Factory checked in at 
2023-01-16 17:59:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-jupyter_nbextensions_configurator 
(Old)
 and      
/work/SRC/openSUSE:Factory/.python-jupyter_nbextensions_configurator.new.32243 
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-jupyter_nbextensions_configurator"

Mon Jan 16 17:59:07 2023 rev:9 rq:1058568 version:0.6.1

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-jupyter_nbextensions_configurator/python-jupyter_nbextensions_configurator.changes
        2022-08-02 22:09:30.365826830 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-jupyter_nbextensions_configurator.new.32243/python-jupyter_nbextensions_configurator.changes
     2023-01-16 18:01:42.463760482 +0100
@@ -1,0 +2,9 @@
+Sun Jan 15 20:42:53 UTC 2023 - Ben Greiner <c...@bnavigator.de>
+
+- Update to 0.6.1
+  * Remove scripts from setup.py
+- Releas 0.6.0
+  * Support nbclassic
+- PEP517 build
+
+-------------------------------------------------------------------

Old:
----
  jupyter_nbextensions_configurator-0.5.0.tar.gz

New:
----
  jupyter_nbextensions_configurator-0.6.1.tar.gz

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

Other differences:
------------------
++++++ python-jupyter_nbextensions_configurator.spec ++++++
--- /var/tmp/diff_new_pack.vlH2Nx/_old  2023-01-16 18:01:43.391765690 +0100
+++ /var/tmp/diff_new_pack.vlH2Nx/_new  2023-01-16 18:01:43.395765712 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-jupyter_nbextensions_configurator
 #
-# 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
@@ -16,10 +16,9 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define         skip_python2 1
 Name:           python-jupyter_nbextensions_configurator
-Version:        0.5.0
+Version:        0.6.1
 Release:        0
 Summary:        Configuration interfaces for nbextensions
 License:        BSD-3-Clause
@@ -33,20 +32,22 @@
 BuildRequires:  %{python_module jupyter_contrib_core >= 0.3.3}
 BuildRequires:  %{python_module jupyter_core}
 BuildRequires:  %{python_module notebook >= 6}
+BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module tornado}
 BuildRequires:  %{python_module traitlets}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  jupyter-rpm-macros
 BuildRequires:  python-rpm-macros
+Requires:       jupyter-jupyter_nbextensions_configurator = %{version}
 Requires:       python-PyYAML
 Requires:       python-jupyter_contrib_core >= 0.3.3
 Requires:       python-jupyter_core
 Requires:       python-notebook >= 6
 Requires:       python-tornado
 Requires:       python-traitlets
-Recommends:     jupyter-jupyter_nbextensions_configurator = %{version}
 BuildArch:      noarch
 
 %python_subpackages
@@ -66,7 +67,8 @@
 Requires:       jupyter-jupyter_contrib_core >= 0.3.3
 Requires:       jupyter-jupyter_core
 Requires:       jupyter-notebook >= 6
-Requires:       python3-jupyter_nbextensions_configurator = %{version}
+# any flavor is okay
+Requires:       (%(echo "%{python_module jupyter_nbextensions_configurator = 
%{version}@or@}" | sed "s/@or@/ or /g" | sed 's/ or\s*$//'))
 
 %description -n jupyter-jupyter_nbextensions_configurator
 The jupyter_nbextensions_configurator jupyter server extension provides
@@ -86,10 +88,10 @@
 sed -i 's|/usr/bin/env python|%{__python3}|' 
scripts/jupyter-nbextensions_configurator
 
 %build
-%python_build
+%pyproject_wheel
 
 %install
-%python_install
+%pyproject_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 %fdupes %{buildroot}%{_jupyter_prefix}
 
@@ -100,7 +102,7 @@
 %files %{python_files}
 %doc README.md
 %license LICENSE.txt
-%{python_sitelib}/jupyter_nbextensions_configurator-%{version}-py*.egg-info
+%{python_sitelib}/jupyter_nbextensions_configurator-%{version}.dist-info
 %{python_sitelib}/jupyter_nbextensions_configurator/
 
 %files -n jupyter-jupyter_nbextensions_configurator

++++++ jupyter_nbextensions_configurator-0.5.0.tar.gz -> 
jupyter_nbextensions_configurator-0.6.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jupyter_nbextensions_configurator-0.5.0/PKG-INFO 
new/jupyter_nbextensions_configurator-0.6.1/PKG-INFO
--- old/jupyter_nbextensions_configurator-0.5.0/PKG-INFO        2022-07-17 
14:01:36.913081000 +0200
+++ new/jupyter_nbextensions_configurator-0.6.1/PKG-INFO        2022-11-15 
17:24:14.518662200 +0100
@@ -1,9 +1,9 @@
 Metadata-Version: 2.1
 Name: jupyter_nbextensions_configurator
-Version: 0.5.0
+Version: 0.6.1
 Summary: jupyter serverextension providing configuration interfaces for 
nbextensions.
 Home-page: https://github.com/jupyter-contrib/jupyter_nbextensions_configurator
-Download-URL: 
https://github.com/jupyter-contrib/jupyter_nbextensions_configurator/tarball/0.5.0
+Download-URL: 
https://github.com/jupyter-contrib/jupyter_nbextensions_configurator/tarball/0.6.1
 Author: jcb91, jupyter-contrib developers
 Author-email: joshuacookebar...@gmail.com
 License: BSD 3-clause
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jupyter_nbextensions_configurator-0.5.0/README.md 
new/jupyter_nbextensions_configurator-0.6.1/README.md
--- old/jupyter_nbextensions_configurator-0.5.0/README.md       2022-07-09 
11:11:31.000000000 +0200
+++ new/jupyter_nbextensions_configurator-0.6.1/README.md       2022-11-15 
17:24:08.000000000 +0100
@@ -41,7 +41,7 @@
 For those not using conda, the installation has two steps:
 
  1. Installing the pip package. This should be as simple as
-
+    
         pip install jupyter_nbextensions_configurator
 
  2. Configuring the notebook server to load the server extension. A `jupyter`
@@ -206,6 +206,17 @@
 Changes
 =======
 
+0.6.1
+-----
+ * Remove scripts from setup.py
+
+0.6.0
+-----
+ * Support nbclassic.
+
+0.5.0
+-----
+
 0.4.0
 -----
  * Show error messages when failing to load a config file, allowing remaining
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jupyter_nbextensions_configurator-0.5.0/setup.py 
new/jupyter_nbextensions_configurator-0.6.1/setup.py
--- old/jupyter_nbextensions_configurator-0.5.0/setup.py        2022-07-09 
11:11:31.000000000 +0200
+++ new/jupyter_nbextensions_configurator-0.6.1/setup.py        2022-11-15 
17:24:08.000000000 +0100
@@ -11,7 +11,6 @@
 
 
 def main():
-
     setup(
         name='jupyter_nbextensions_configurator',
         description=("jupyter serverextension providing configuration "
@@ -24,14 +23,14 @@
 file, the interface also provides controls to configure the nbextensions'
 options.
 """,
-        version='0.5.0',
+        version='0.6.1',
         author='jcb91, jupyter-contrib developers',
         author_email='joshuacookebar...@gmail.com',
         url=('https://github.com/'
              'jupyter-contrib/jupyter_nbextensions_configurator'),
         download_url=('https://github.com/'
                       'jupyter-contrib/jupyter_nbextensions_configurator/'
-                      'tarball/0.5.0'),
+                      'tarball/0.6.1'),
         keywords=['Jupyter', 'notebook'],
         license='BSD 3-clause',
         platforms=['any'],
@@ -39,15 +38,15 @@
         package_dir={'': 'src'},
         include_package_data=True,
         data_files=[
-           ("etc/jupyter/nbconfig/notebook.d", [
-               
"jupyter-config/nbconfig/notebook.d/jupyter_nbextensions_configurator.json"
-           ]),
-           ("etc/jupyter/nbconfig/tree.d", [
-               
"jupyter-config/nbconfig/tree.d/jupyter_nbextensions_configurator.json"
-           ]),
-           ("etc/jupyter/jupyter_notebook_config.d", [
-               
"jupyter-config/jupyter_notebook_config.d/jupyter_nbextensions_configurator.json"
-           ])
+            ("etc/jupyter/nbconfig/notebook.d", [
+                
"jupyter-config/nbconfig/notebook.d/jupyter_nbextensions_configurator.json"
+            ]),
+            ("etc/jupyter/nbconfig/tree.d", [
+                
"jupyter-config/nbconfig/tree.d/jupyter_nbextensions_configurator.json"
+            ]),
+            ("etc/jupyter/jupyter_notebook_config.d", [
+                
"jupyter-config/jupyter_notebook_config.d/jupyter_nbextensions_configurator.json"
+            ])
         ],
         py_modules=[
             os.path.splitext(os.path.basename(path))[0]
@@ -80,9 +79,6 @@
                 'jupyter-nbextensions_configurator = 
jupyter_nbextensions_configurator.application:main',  # noqa
             ],
         },
-        scripts=[os.path.join('scripts', p) for p in [
-            'jupyter-nbextensions_configurator',
-        ]],
         classifiers=[
             'Intended Audience :: End Users/Desktop',
             'Intended Audience :: Science/Research',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/jupyter_nbextensions_configurator-0.5.0/src/jupyter_nbextensions_configurator/__init__.py
 
new/jupyter_nbextensions_configurator-0.6.1/src/jupyter_nbextensions_configurator/__init__.py
--- 
old/jupyter_nbextensions_configurator-0.5.0/src/jupyter_nbextensions_configurator/__init__.py
       2022-07-08 21:00:51.000000000 +0200
+++ 
new/jupyter_nbextensions_configurator-0.6.1/src/jupyter_nbextensions_configurator/__init__.py
       2022-11-15 17:24:08.000000000 +0100
@@ -34,7 +34,7 @@
     def json_errors(method):
         return method
 
-__version__ = '0.4.1'
+__version__ = '0.6.1'
 
 absolute_url_re = re.compile(r'^(f|ht)tps?://')
 
@@ -244,8 +244,10 @@
         os.path.dirname(__file__), 'static'))
     logger.debug(
         '  Editing nbextensions path to add {}'.format(static_files_path))
-    if static_files_path not in webapp.settings['nbextensions_path']:
+    if webapp.settings.get('nbextensions_path', None) and static_files_path 
not in webapp.settings.get('nbextensions_path', []):
         webapp.settings['nbextensions_path'].append(static_files_path)
+    if webapp.settings.get('static_path', None) and static_files_path not in 
webapp.settings.get('static_path', []):
+        webapp.settings['static_path'].append(static_files_path)
 
     # add our new custom handlers
     logger.debug('  Adding new handlers')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/jupyter_nbextensions_configurator-0.5.0/src/jupyter_nbextensions_configurator.egg-info/PKG-INFO
 
new/jupyter_nbextensions_configurator-0.6.1/src/jupyter_nbextensions_configurator.egg-info/PKG-INFO
--- 
old/jupyter_nbextensions_configurator-0.5.0/src/jupyter_nbextensions_configurator.egg-info/PKG-INFO
 2022-07-17 14:01:36.000000000 +0200
+++ 
new/jupyter_nbextensions_configurator-0.6.1/src/jupyter_nbextensions_configurator.egg-info/PKG-INFO
 2022-11-15 17:24:14.000000000 +0100
@@ -1,9 +1,9 @@
 Metadata-Version: 2.1
 Name: jupyter-nbextensions-configurator
-Version: 0.5.0
+Version: 0.6.1
 Summary: jupyter serverextension providing configuration interfaces for 
nbextensions.
 Home-page: https://github.com/jupyter-contrib/jupyter_nbextensions_configurator
-Download-URL: 
https://github.com/jupyter-contrib/jupyter_nbextensions_configurator/tarball/0.5.0
+Download-URL: 
https://github.com/jupyter-contrib/jupyter_nbextensions_configurator/tarball/0.6.1
 Author: jcb91, jupyter-contrib developers
 Author-email: joshuacookebar...@gmail.com
 License: BSD 3-clause

Reply via email to