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 
2022-08-02 22:08:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-jupyter_nbextensions_configurator 
(Old)
 and      
/work/SRC/openSUSE:Factory/.python-jupyter_nbextensions_configurator.new.1533 
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-jupyter_nbextensions_configurator"

Tue Aug  2 22:08:57 2022 rev:8 rq:992092 version:0.5.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-jupyter_nbextensions_configurator/python-jupyter_nbextensions_configurator.changes
        2022-05-08 21:52:56.363507437 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-jupyter_nbextensions_configurator.new.1533/python-jupyter_nbextensions_configurator.changes
      2022-08-02 22:09:30.365826830 +0200
@@ -1,0 +2,8 @@
+Mon Aug  1 18:45:00 UTC 2022 - Ben Greiner <c...@bnavigator.de>
+
+- Update to 0.5.0
+  * Minor update
+  * Add license.txt to config.cfg
+- Fix (!) remove_nose.patch, and actually run some tests
+
+-------------------------------------------------------------------

Old:
----
  jupyter_nbextensions_configurator-0.4.1.tar.gz

New:
----
  jupyter_nbextensions_configurator-0.5.0.tar.gz

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

Other differences:
------------------
++++++ python-jupyter_nbextensions_configurator.spec ++++++
--- /var/tmp/diff_new_pack.WyIxIF/_old  2022-08-02 22:09:31.617830439 +0200
+++ /var/tmp/diff_new_pack.WyIxIF/_new  2022-08-02 22:09:31.621830450 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-jupyter_nbextensions_configurator
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define         skip_python2 1
 Name:           python-jupyter_nbextensions_configurator
-Version:        0.4.1
+Version:        0.5.0
 Release:        0
 Summary:        Configuration interfaces for nbextensions
 License:        BSD-3-Clause
@@ -32,16 +32,18 @@
 BuildRequires:  %{python_module PyYAML}
 BuildRequires:  %{python_module jupyter_contrib_core >= 0.3.3}
 BuildRequires:  %{python_module jupyter_core}
-BuildRequires:  %{python_module notebook}
+BuildRequires:  %{python_module notebook >= 6}
+BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module tornado}
 BuildRequires:  %{python_module traitlets}
 BuildRequires:  fdupes
+BuildRequires:  jupyter-rpm-macros
 BuildRequires:  python-rpm-macros
 Requires:       python-PyYAML
 Requires:       python-jupyter_contrib_core >= 0.3.3
 Requires:       python-jupyter_core
-Requires:       python-notebook >= 4.0
+Requires:       python-notebook >= 6
 Requires:       python-tornado
 Requires:       python-traitlets
 Recommends:     jupyter-jupyter_nbextensions_configurator = %{version}
@@ -63,7 +65,7 @@
 Group:          Development/Languages/Python
 Requires:       jupyter-jupyter_contrib_core >= 0.3.3
 Requires:       jupyter-jupyter_core
-Requires:       jupyter-notebook >= 4.0
+Requires:       jupyter-notebook >= 6
 Requires:       python3-jupyter_nbextensions_configurator = %{version}
 
 %description -n jupyter-jupyter_nbextensions_configurator
@@ -89,16 +91,12 @@
 %install
 %python_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
-
-PYTHONPATH=%{buildroot}%{python3_sitelib} 
%{buildroot}%{_bindir}/jupyter-nbextensions_configurator enable --user
-
-for f in ~/.jupyter/nbconfig/*.json ; do
-    tdir=$( basename -s .json ${f} )
-    install -Dm 644 ${f} 
%{buildroot}%{_jupyter_nb_confdir}/${tdir}.d/nbextensions_configurator.json
-done
-
 %fdupes %{buildroot}%{_jupyter_prefix}
 
+%check
+# no geckodriver for selenium tests, no jupyterhub
+%pytest --ignore tests/test_nbextensions_configurator.py --ignore 
tests/test_jupyterhub.py
+
 %files %{python_files}
 %doc README.md
 %license LICENSE.txt
@@ -108,7 +106,8 @@
 %files -n jupyter-jupyter_nbextensions_configurator
 %license LICENSE.txt
 %{_bindir}/jupyter-nbextensions_configurator
-%_jupyter_config %{_jupyter_nb_notebook_confdir}/nbextensions_configurator.json
-%_jupyter_config %{_jupyter_nb_tree_confdir}/nbextensions_configurator.json
+%_jupyter_config 
%{_jupyter_servextension_confdir}/jupyter_nbextensions_configurator.json
+%_jupyter_config 
%{_jupyter_nb_notebook_confdir}/jupyter_nbextensions_configurator.json
+%_jupyter_config 
%{_jupyter_nb_tree_confdir}/jupyter_nbextensions_configurator.json
 
 %changelog

++++++ jupyter_nbextensions_configurator-0.4.1.tar.gz -> 
jupyter_nbextensions_configurator-0.5.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jupyter_nbextensions_configurator-0.4.1/PKG-INFO 
new/jupyter_nbextensions_configurator-0.5.0/PKG-INFO
--- old/jupyter_nbextensions_configurator-0.4.1/PKG-INFO        2018-12-29 
13:36:06.000000000 +0100
+++ new/jupyter_nbextensions_configurator-0.5.0/PKG-INFO        2022-07-17 
14:01:36.913081000 +0200
@@ -1,20 +1,12 @@
 Metadata-Version: 2.1
 Name: jupyter_nbextensions_configurator
-Version: 0.4.1
+Version: 0.5.0
 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
 Author: jcb91, jupyter-contrib developers
 Author-email: joshuacookebar...@gmail.com
 License: BSD 3-clause
-Download-URL: 
https://github.com/jupyter-contrib/jupyter_nbextensions_configurator/tarball/0.4.1
-Description: 
-        The jupyter_nbextensions_configurator jupyter server extension provides
-        graphical user interfaces for configuring which nbextensions are 
enabled (load
-        automatically for every notebook), and display their readme files.
-        In addition, for nbextensions which include an appropriate yaml 
descriptor
-        file, the interface also provides controls to configure the 
nbextensions'
-        options.
-        
 Keywords: Jupyter,notebook
 Platform: any
 Classifier: Intended Audience :: End Users/Desktop
@@ -27,3 +19,12 @@
 Classifier: Programming Language :: Python :: 3
 Classifier: Topic :: Utilities
 Provides-Extra: test
+License-File: LICENSE.txt
+
+
+The jupyter_nbextensions_configurator jupyter server extension provides
+graphical user interfaces for configuring which nbextensions are enabled (load
+automatically for every notebook), and display their readme files.
+In addition, for nbextensions which include an appropriate yaml descriptor
+file, the interface also provides controls to configure the nbextensions'
+options.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jupyter_nbextensions_configurator-0.4.1/README.md 
new/jupyter_nbextensions_configurator-0.5.0/README.md
--- old/jupyter_nbextensions_configurator-0.4.1/README.md       2018-12-29 
11:37:32.000000000 +0100
+++ new/jupyter_nbextensions_configurator-0.5.0/README.md       2022-07-09 
11:11:31.000000000 +0200
@@ -48,7 +48,7 @@
     subcommand is provided for this. You can enable the serverextension and the
     configurator nbextensions listed below for the current user with
 
-        jupyter nbextensions_configurator enable --user
+        jupyter nbextensions_configurator enable --user  # can be skipped for 
notebook >=5.3
 
     The command accepts the same flags as the `jupyter serverextension` command
     provided by notebook versions >= 4.2, including `--system` to enable in
@@ -210,7 +210,7 @@
 -----
  * Show error messages when failing to load a config file, allowing remaining
    files to load ok.
- * use pip for conda recipe installation, instead of `python steup.py`
+ * use pip for conda recipe installation, instead of `python setup.py`
 
 0.3.0
 -----
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/jupyter_nbextensions_configurator-0.4.1/jupyter-config/jupyter_notebook_config.d/jupyter_nbextensions_configurator.json
 
new/jupyter_nbextensions_configurator-0.5.0/jupyter-config/jupyter_notebook_config.d/jupyter_nbextensions_configurator.json
--- 
old/jupyter_nbextensions_configurator-0.4.1/jupyter-config/jupyter_notebook_config.d/jupyter_nbextensions_configurator.json
 1970-01-01 01:00:00.000000000 +0100
+++ 
new/jupyter_nbextensions_configurator-0.5.0/jupyter-config/jupyter_notebook_config.d/jupyter_nbextensions_configurator.json
 2022-07-09 11:11:31.000000000 +0200
@@ -0,0 +1,7 @@
+{
+  "NotebookApp": {
+    "nbserver_extensions": {
+      "jupyter_nbextensions_configurator": true
+    }
+  }
+}
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/jupyter_nbextensions_configurator-0.4.1/jupyter-config/nbconfig/notebook.d/jupyter_nbextensions_configurator.json
 
new/jupyter_nbextensions_configurator-0.5.0/jupyter-config/nbconfig/notebook.d/jupyter_nbextensions_configurator.json
--- 
old/jupyter_nbextensions_configurator-0.4.1/jupyter-config/nbconfig/notebook.d/jupyter_nbextensions_configurator.json
       1970-01-01 01:00:00.000000000 +0100
+++ 
new/jupyter_nbextensions_configurator-0.5.0/jupyter-config/nbconfig/notebook.d/jupyter_nbextensions_configurator.json
       2022-07-09 11:11:31.000000000 +0200
@@ -0,0 +1,5 @@
+{
+  "load_extensions": {
+    "nbextensions_configurator/config_menu/main": true
+  }
+}
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/jupyter_nbextensions_configurator-0.4.1/jupyter-config/nbconfig/tree.d/jupyter_nbextensions_configurator.json
 
new/jupyter_nbextensions_configurator-0.5.0/jupyter-config/nbconfig/tree.d/jupyter_nbextensions_configurator.json
--- 
old/jupyter_nbextensions_configurator-0.4.1/jupyter-config/nbconfig/tree.d/jupyter_nbextensions_configurator.json
   1970-01-01 01:00:00.000000000 +0100
+++ 
new/jupyter_nbextensions_configurator-0.5.0/jupyter-config/nbconfig/tree.d/jupyter_nbextensions_configurator.json
   2022-07-09 11:11:31.000000000 +0200
@@ -0,0 +1,5 @@
+{
+  "load_extensions": {
+    "nbextensions_configurator/tree_tab/main": true
+  }
+}
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jupyter_nbextensions_configurator-0.4.1/setup.cfg 
new/jupyter_nbextensions_configurator-0.5.0/setup.cfg
--- old/jupyter_nbextensions_configurator-0.4.1/setup.cfg       2018-12-29 
13:36:06.000000000 +0100
+++ new/jupyter_nbextensions_configurator-0.5.0/setup.cfg       2022-07-17 
14:01:36.913081000 +0200
@@ -4,6 +4,9 @@
 [flake8]
 ignore = 
'I201,I101,D100,D101,D102,D103,D200,D201,D202,D203,D204,D205,D211,D400,D401,D403,N802,N806,'
 
+[metadata]
+license_file = LICENSE.txt
+
 [isort]
 not_skip = __init__.py
 multi_line_output = 5
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jupyter_nbextensions_configurator-0.4.1/setup.py 
new/jupyter_nbextensions_configurator-0.5.0/setup.py
--- old/jupyter_nbextensions_configurator-0.4.1/setup.py        2018-12-29 
11:42:07.000000000 +0100
+++ new/jupyter_nbextensions_configurator-0.5.0/setup.py        2022-07-09 
11:11:31.000000000 +0200
@@ -24,20 +24,31 @@
 file, the interface also provides controls to configure the nbextensions'
 options.
 """,
-        version='0.4.1',
+        version='0.5.0',
         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.4.1'),
+                      'tarball/0.5.0'),
         keywords=['Jupyter', 'notebook'],
         license='BSD 3-clause',
         platforms=['any'],
         packages=find_packages('src'),
         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"
+           ])
+        ],
         py_modules=[
             os.path.splitext(os.path.basename(path))[0]
             for path in glob('src/*.py')
@@ -45,7 +56,7 @@
         install_requires=[
             'jupyter_contrib_core >=0.3.3',
             'jupyter_core',
-            'notebook >=4.0',
+            'notebook >=6.0',
             'pyyaml',
             'tornado',
             'traitlets',
@@ -57,7 +68,7 @@
                 'requests',
                 'selenium',
             ],
-            'test:python_version == "2.7"': [
+            'test:python_version == "3.9"': [
                 'mock',
             ],
         },
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/jupyter_nbextensions_configurator-0.4.1/src/jupyter_nbextensions_configurator/static/nbextensions_configurator/kse_components.js
 
new/jupyter_nbextensions_configurator-0.5.0/src/jupyter_nbextensions_configurator/static/nbextensions_configurator/kse_components.js
--- 
old/jupyter_nbextensions_configurator-0.4.1/src/jupyter_nbextensions_configurator/static/nbextensions_configurator/kse_components.js
        2018-12-29 11:35:35.000000000 +0100
+++ 
new/jupyter_nbextensions_configurator-0.5.0/src/jupyter_nbextensions_configurator/static/nbextensions_configurator/kse_components.js
        2022-07-09 11:11:31.000000000 +0200
@@ -339,6 +339,7 @@
     function KSE_modal (modal_options) {
         var editor = editor_build();
         editor.data({'kse_sequence': [], 'kse_undefined_key': false});
+        editor.data('kse_input', modal_options['input']);
         editor_update_input_group(editor);
         var modal = modal_build(editor, modal_options);
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/jupyter_nbextensions_configurator-0.4.1/src/jupyter_nbextensions_configurator/static/nbextensions_configurator/main.js
 
new/jupyter_nbextensions_configurator-0.5.0/src/jupyter_nbextensions_configurator/static/nbextensions_configurator/main.js
--- 
old/jupyter_nbextensions_configurator-0.4.1/src/jupyter_nbextensions_configurator/static/nbextensions_configurator/main.js
  2018-12-29 11:37:32.000000000 +0100
+++ 
new/jupyter_nbextensions_configurator-0.5.0/src/jupyter_nbextensions_configurator/static/nbextensions_configurator/main.js
  2022-07-09 11:11:31.000000000 +0200
@@ -404,12 +404,14 @@
                                 ' to:';
                             var modal = kse_comp.KSE_modal({
                                 'description': description,
+                                'input': input,
                                 'buttons': {
                                     'OK': {
                                         'class': 'btn-primary',
                                         'click': function () {
                                             var editor = 
$(this).find('#kse-editor');
                                             var new_value = 
(editor.data('kse_sequence') || []).join(',');
+                                            var input = 
editor.data('kse_input');
                                             set_input_value(input, new_value);
                                             // trigger write to config
                                             input.find('.hotkey').change();
@@ -912,8 +914,8 @@
                 .addClass('nbext-desc')
                 .appendTo(col_left);
             if (extension.hasOwnProperty('Description')) {
-                $('<p/>')
-                    .html(extension.Description)
+                rendermd.render_markdown(extension.Description)
+                    .addClass('rendered_html')
                     .appendTo(div_desc);
             }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/jupyter_nbextensions_configurator-0.4.1/src/jupyter_nbextensions_configurator.egg-info/PKG-INFO
 
new/jupyter_nbextensions_configurator-0.5.0/src/jupyter_nbextensions_configurator.egg-info/PKG-INFO
--- 
old/jupyter_nbextensions_configurator-0.4.1/src/jupyter_nbextensions_configurator.egg-info/PKG-INFO
 2018-12-29 13:36:06.000000000 +0100
+++ 
new/jupyter_nbextensions_configurator-0.5.0/src/jupyter_nbextensions_configurator.egg-info/PKG-INFO
 2022-07-17 14:01:36.000000000 +0200
@@ -1,20 +1,12 @@
 Metadata-Version: 2.1
 Name: jupyter-nbextensions-configurator
-Version: 0.4.1
+Version: 0.5.0
 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
 Author: jcb91, jupyter-contrib developers
 Author-email: joshuacookebar...@gmail.com
 License: BSD 3-clause
-Download-URL: 
https://github.com/jupyter-contrib/jupyter_nbextensions_configurator/tarball/0.4.1
-Description: 
-        The jupyter_nbextensions_configurator jupyter server extension provides
-        graphical user interfaces for configuring which nbextensions are 
enabled (load
-        automatically for every notebook), and display their readme files.
-        In addition, for nbextensions which include an appropriate yaml 
descriptor
-        file, the interface also provides controls to configure the 
nbextensions'
-        options.
-        
 Keywords: Jupyter,notebook
 Platform: any
 Classifier: Intended Audience :: End Users/Desktop
@@ -27,3 +19,12 @@
 Classifier: Programming Language :: Python :: 3
 Classifier: Topic :: Utilities
 Provides-Extra: test
+License-File: LICENSE.txt
+
+
+The jupyter_nbextensions_configurator jupyter server extension provides
+graphical user interfaces for configuring which nbextensions are enabled (load
+automatically for every notebook), and display their readme files.
+In addition, for nbextensions which include an appropriate yaml descriptor
+file, the interface also provides controls to configure the nbextensions'
+options.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/jupyter_nbextensions_configurator-0.4.1/src/jupyter_nbextensions_configurator.egg-info/SOURCES.txt
 
new/jupyter_nbextensions_configurator-0.5.0/src/jupyter_nbextensions_configurator.egg-info/SOURCES.txt
--- 
old/jupyter_nbextensions_configurator-0.4.1/src/jupyter_nbextensions_configurator.egg-info/SOURCES.txt
      2018-12-29 13:36:06.000000000 +0100
+++ 
new/jupyter_nbextensions_configurator-0.5.0/src/jupyter_nbextensions_configurator.egg-info/SOURCES.txt
      2022-07-17 14:01:36.000000000 +0200
@@ -4,6 +4,9 @@
 setup.cfg
 setup.py
 tox.ini
+jupyter-config/jupyter_notebook_config.d/jupyter_nbextensions_configurator.json
+jupyter-config/nbconfig/notebook.d/jupyter_nbextensions_configurator.json
+jupyter-config/nbconfig/tree.d/jupyter_nbextensions_configurator.json
 scripts/jupyter-nbextensions_configurator
 src/jupyter_nbextensions_configurator/__init__.py
 src/jupyter_nbextensions_configurator/application.py
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/jupyter_nbextensions_configurator-0.4.1/src/jupyter_nbextensions_configurator.egg-info/entry_points.txt
 
new/jupyter_nbextensions_configurator-0.5.0/src/jupyter_nbextensions_configurator.egg-info/entry_points.txt
--- 
old/jupyter_nbextensions_configurator-0.4.1/src/jupyter_nbextensions_configurator.egg-info/entry_points.txt
 2018-12-29 13:36:06.000000000 +0100
+++ 
new/jupyter_nbextensions_configurator-0.5.0/src/jupyter_nbextensions_configurator.egg-info/entry_points.txt
 2022-07-17 14:01:36.000000000 +0200
@@ -1,3 +1,2 @@
 [console_scripts]
 jupyter-nbextensions_configurator = 
jupyter_nbextensions_configurator.application:main
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/jupyter_nbextensions_configurator-0.4.1/src/jupyter_nbextensions_configurator.egg-info/requires.txt
 
new/jupyter_nbextensions_configurator-0.5.0/src/jupyter_nbextensions_configurator.egg-info/requires.txt
--- 
old/jupyter_nbextensions_configurator-0.4.1/src/jupyter_nbextensions_configurator.egg-info/requires.txt
     2018-12-29 13:36:06.000000000 +0100
+++ 
new/jupyter_nbextensions_configurator-0.5.0/src/jupyter_nbextensions_configurator.egg-info/requires.txt
     2022-07-17 14:01:36.000000000 +0200
@@ -1,6 +1,6 @@
 jupyter_contrib_core>=0.3.3
 jupyter_core
-notebook>=4.0
+notebook>=6.0
 pyyaml
 tornado
 traitlets
@@ -11,5 +11,5 @@
 requests
 selenium
 
-[test:python_version == "2.7"]
+[test:python_version == "3.9"]
 mock
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/jupyter_nbextensions_configurator-0.4.1/tests/nbextensions_test_base.py 
new/jupyter_nbextensions_configurator-0.5.0/tests/nbextensions_test_base.py
--- old/jupyter_nbextensions_configurator-0.4.1/tests/nbextensions_test_base.py 
2018-12-29 11:35:35.000000000 +0100
+++ new/jupyter_nbextensions_configurator-0.5.0/tests/nbextensions_test_base.py 
2022-07-17 14:00:19.000000000 +0200
@@ -7,6 +7,7 @@
 
 import logging
 import os
+import sys
 from threading import Event, Thread
 
 from jupyter_contrib_core.notebook_compat import serverextensions
@@ -117,6 +118,11 @@
         app = cls.notebook = NoseyNotebookApp(**cls.get_server_kwargs())
         # don't register signal handler during tests
         app.init_signal = lambda: None
+        # start asyncio loop explicitly in notebook thread
+        # (tornado 4 starts per-thread loops automatically, asyncio doesn???t)
+        if 'asyncio' in sys.modules:
+            import asyncio
+            asyncio.set_event_loop(asyncio.new_event_loop())
         app.initialize(argv=[])
         loop = IOLoop.current()
         loop.add_callback(started_event.set)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jupyter_nbextensions_configurator-0.4.1/tox.ini 
new/jupyter_nbextensions_configurator-0.5.0/tox.ini
--- old/jupyter_nbextensions_configurator-0.4.1/tox.ini 2018-12-29 
11:37:32.000000000 +0100
+++ new/jupyter_nbextensions_configurator-0.5.0/tox.ini 2022-07-17 
14:00:19.000000000 +0200
@@ -6,18 +6,15 @@
     clean,
     check,
     lint,
-    py27-notebook,
-    py36-notebook{44,54,55},
+    py36-notebook{57,65},
     py36-notebook,
     report,
 
 [testenv]
 basepython =
     pypy: {env:TOXPYTHON:pypy}
-    py27: {env:TOXPYTHON:python2.7}
     py36: {env:TOXPYTHON:python3.6}
-    py37: {env:TOXPYTHON:python3.7}
-    {docs,spell}: {env:TOXPYTHON:python2.7}
+    {docs,spell}: {env:TOXPYTHON:python3.6}
 setenv =
     PYTHONPATH={toxinidir}/tests
     PYTHONUNBUFFERED=yes
@@ -25,16 +22,15 @@
 usedevelop = false
 deps =
     coverage
-    jupyterhub: jupyterhub>=0.9
+    jupyterhub: jupyterhub>=2.3.1
     mock
     nose
-    notebook44: https://github.com/jupyter/notebook/archive/4.4.0.zip
-    notebook54: https://github.com/jupyter/notebook/archive/5.4.0.zip
-    notebook55: https://github.com/jupyter/notebook/archive/5.5.0.zip
+    notebook57: notebook==5.7
+    notebook64: notebook==6.4
     notebookmaster: https://github.com/jupyter/notebook/archive/master.zip
     notebook: notebook
     requests
-    selenium>=3.4
+    selenium>=4.3
 commands =
     {posargs:coverage run --parallel-mode --source=src -m nose -vv -a 
'!uses_jupyterhub' tests}
 

++++++ remove_nose.patch ++++++
--- /var/tmp/diff_new_pack.WyIxIF/_old  2022-08-02 22:09:31.737830785 +0200
+++ /var/tmp/diff_new_pack.WyIxIF/_new  2022-08-02 22:09:31.741830797 +0200
@@ -10,11 +10,12 @@
  
 --- a/tests/test_application.py
 +++ b/tests/test_application.py
-@@ -12,7 +12,6 @@ import os
+@@ -12,7 +12,7 @@ import os
  from unittest import TestCase
  
  import jupyter_core.paths
 -import nose.tools as nt
++import pytest
  from jupyter_contrib_core.notebook_compat import serverextensions
  from jupyter_contrib_core.testing_utils import (
      get_logger, patch_traitlets_app_logs,
@@ -48,7 +49,7 @@
 -                'disable command should disable all '
 -                'nbserver_extensions in file {}'.format(path))
 +            assert not {k: v for k, v in nbservext.items() if v}, \
-+                'disable command should disable all nbserver_extensions in 
file {}'.format(path))
++                'disable command should disable all nbserver_extensions in 
file {}'.format(path)
  
          reset_app_class(DisableJupyterNbextensionsConfiguratorApp)
  

Reply via email to