Source: nbclient
Version: 0.7.0-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: [email protected]
Usertags: ftbfs-20230113 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
>  debian/rules binary
> dh binary --with python3,sphinxdoc --buildsystem=pybuild
>    dh_update_autotools_config -O--buildsystem=pybuild
>    dh_autoreconf -O--buildsystem=pybuild
>    dh_auto_configure -O--buildsystem=pybuild
> I: pybuild base:240: python3.10 setup.py config 
> /usr/lib/python3/dist-packages/setuptools/config/setupcfg.py:508: 
> SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use 
> license_files instead.
>   warnings.warn(msg, warning_class)
> running config
> I: pybuild base:240: python3.11 setup.py config 
> /usr/lib/python3/dist-packages/setuptools/config/setupcfg.py:508: 
> SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use 
> license_files instead.
>   warnings.warn(msg, warning_class)
> running config
>    dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:240: /usr/bin/python3.10 setup.py build 
> /usr/lib/python3/dist-packages/setuptools/config/setupcfg.py:508: 
> SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use 
> license_files instead.
>   warnings.warn(msg, warning_class)
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nbclient
> copying nbclient/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nbclient
> copying nbclient/cli.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nbclient
> copying nbclient/util.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nbclient
> copying nbclient/exceptions.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nbclient
> copying nbclient/jsonutil.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nbclient
> copying nbclient/client.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nbclient
> copying nbclient/output_widget.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nbclient
> copying nbclient/_version.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nbclient
> running egg_info
> creating nbclient.egg-info
> writing nbclient.egg-info/PKG-INFO
> writing dependency_links to nbclient.egg-info/dependency_links.txt
> writing entry points to nbclient.egg-info/entry_points.txt
> writing requirements to nbclient.egg-info/requires.txt
> writing top-level names to nbclient.egg-info/top_level.txt
> writing manifest file 'nbclient.egg-info/SOURCES.txt'
> reading manifest file 'nbclient.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> warning: no previously-included files found matching 'docs/#*'
> warning: no previously-included files found matching '.readthedocs.yml'
> warning: no previously-included files found matching 'codecov.yml'
> warning: no directories found matching 'examples'
> no previously-included directories found matching 'docs/_build'
> no previously-included directories found matching 'docs/gh-pages'
> no previously-included directories found matching 'docs/dist'
> warning: no previously-included files matching '*~' found anywhere in 
> distribution
> warning: no previously-included files matching '*.pyc' found anywhere in 
> distribution
> warning: no previously-included files matching '*.pyo' found anywhere in 
> distribution
> warning: no previously-included files matching '.git' found anywhere in 
> distribution
> warning: no previously-included files matching '.ipynb_checkpoints' found 
> anywhere in distribution
> warning: no previously-included files found matching 'binder'
> warning: no previously-included files matching '*.ipynb' found under 
> directory 'binder'
> warning: no previously-included files matching '*.yml' found under directory 
> 'binder'
> no previously-included directories found matching '.circleci'
> adding license file 'LICENSE'
> writing manifest file 'nbclient.egg-info/SOURCES.txt'
> /usr/lib/python3/dist-packages/setuptools/command/build_py.py:202: 
> SetuptoolsDeprecationWarning:     Installing 'nbclient.tests' as data is 
> deprecated, please list it in `packages`.
>     !!
> 
> 
>     ############################
>     # Package would be ignored #
>     ############################
>     Python recognizes 'nbclient.tests' as an importable package,
>     but it is not listed in the `packages` configuration of setuptools.
> 
>     'nbclient.tests' has been automatically added to the distribution only
>     because it may contain data files, but this behavior is likely to change
>     in future versions of setuptools (and therefore is considered deprecated).
> 
>     Please make sure that 'nbclient.tests' is included as a package by using
>     the `packages` configuration field or the proper discovery methods
>     (for example by using `find_namespace_packages(...)`/`find_namespace:`
>     instead of `find_packages(...)`/`find:`).
> 
>     You can read more about "package discovery" and "data files" on setuptools
>     documentation page.
> 
> 
> !!
> 
>   check.warn(importable)
> /usr/lib/python3/dist-packages/setuptools/command/build_py.py:202: 
> SetuptoolsDeprecationWarning:     Installing 'nbclient.tests.files' as data 
> is deprecated, please list it in `packages`.
>     !!
> 
> 
>     ############################
>     # Package would be ignored #
>     ############################
>     Python recognizes 'nbclient.tests.files' as an importable package,
>     but it is not listed in the `packages` configuration of setuptools.
> 
>     'nbclient.tests.files' has been automatically added to the distribution 
> only
>     because it may contain data files, but this behavior is likely to change
>     in future versions of setuptools (and therefore is considered deprecated).
> 
>     Please make sure that 'nbclient.tests.files' is included as a package by 
> using
>     the `packages` configuration field or the proper discovery methods
>     (for example by using `find_namespace_packages(...)`/`find_namespace:`
>     instead of `find_packages(...)`/`find:`).
> 
>     You can read more about "package discovery" and "data files" on setuptools
>     documentation page.
> 
> 
> !!
> 
>   check.warn(importable)
> copying nbclient/py.typed -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nbclient
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nbclient/tests
> copying nbclient/tests/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nbclient/tests
> copying nbclient/tests/base.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nbclient/tests
> copying nbclient/tests/conftest.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nbclient/tests
> copying nbclient/tests/fake_kernelmanager.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nbclient/tests
> copying nbclient/tests/test_client.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nbclient/tests
> copying nbclient/tests/test_util.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nbclient/tests
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nbclient/tests/files
> copying nbclient/tests/files/Autokill.ipynb -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nbclient/tests/files
> copying nbclient/tests/files/Check History in Memory.ipynb -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nbclient/tests/files
> copying nbclient/tests/files/Clear Output.ipynb -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nbclient/tests/files
> copying nbclient/tests/files/Disable Stdin.ipynb -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nbclient/tests/files
> copying nbclient/tests/files/Empty Cell.ipynb -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nbclient/tests/files
> copying nbclient/tests/files/Error.ipynb -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nbclient/tests/files
> copying nbclient/tests/files/Factorials.ipynb -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nbclient/tests/files
> copying nbclient/tests/files/HelloWorld.ipynb -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nbclient/tests/files
> copying nbclient/tests/files/Inline Image.ipynb -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nbclient/tests/files
> copying nbclient/tests/files/Interrupt.ipynb -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nbclient/tests/files
> copying nbclient/tests/files/JupyterWidgets.ipynb -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nbclient/tests/files
> copying nbclient/tests/files/Other Comms.ipynb -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nbclient/tests/files
> copying nbclient/tests/files/Output.ipynb -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nbclient/tests/files
> copying nbclient/tests/files/Parallel Execute A.ipynb -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nbclient/tests/files
> copying nbclient/tests/files/Parallel Execute B.ipynb -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nbclient/tests/files
> copying nbclient/tests/files/SVG.ipynb -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nbclient/tests/files
> copying nbclient/tests/files/Skip Exceptions with Cell Tags.ipynb -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nbclient/tests/files
> copying nbclient/tests/files/Skip Exceptions.ipynb -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nbclient/tests/files
> copying nbclient/tests/files/Skip Execution with Cell Tag.ipynb -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nbclient/tests/files
> copying nbclient/tests/files/Sleep1s.ipynb -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nbclient/tests/files
> copying nbclient/tests/files/Unicode.ipynb -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nbclient/tests/files
> copying nbclient/tests/files/UnicodePy3.ipynb -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nbclient/tests/files
> copying nbclient/tests/files/python.png -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nbclient/tests/files
> copying nbclient/tests/files/update-display-id.ipynb -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nbclient/tests/files
> I: pybuild base:240: /usr/bin/python3 setup.py build 
> /usr/lib/python3/dist-packages/setuptools/config/setupcfg.py:508: 
> SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use 
> license_files instead.
>   warnings.warn(msg, warning_class)
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/nbclient
> copying nbclient/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/nbclient
> copying nbclient/cli.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/nbclient
> copying nbclient/util.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/nbclient
> copying nbclient/exceptions.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/nbclient
> copying nbclient/jsonutil.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/nbclient
> copying nbclient/client.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/nbclient
> copying nbclient/output_widget.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/nbclient
> copying nbclient/_version.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/nbclient
> running egg_info
> writing nbclient.egg-info/PKG-INFO
> writing dependency_links to nbclient.egg-info/dependency_links.txt
> writing entry points to nbclient.egg-info/entry_points.txt
> writing requirements to nbclient.egg-info/requires.txt
> writing top-level names to nbclient.egg-info/top_level.txt
> reading manifest file 'nbclient.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> warning: no previously-included files found matching 'docs/#*'
> warning: no previously-included files found matching '.readthedocs.yml'
> warning: no previously-included files found matching 'codecov.yml'
> warning: no directories found matching 'examples'
> no previously-included directories found matching 'docs/_build'
> no previously-included directories found matching 'docs/gh-pages'
> no previously-included directories found matching 'docs/dist'
> warning: no previously-included files matching '*~' found anywhere in 
> distribution
> warning: no previously-included files matching '*.pyc' found anywhere in 
> distribution
> warning: no previously-included files matching '*.pyo' found anywhere in 
> distribution
> warning: no previously-included files matching '.git' found anywhere in 
> distribution
> warning: no previously-included files matching '.ipynb_checkpoints' found 
> anywhere in distribution
> warning: no previously-included files found matching 'binder'
> warning: no previously-included files matching '*.ipynb' found under 
> directory 'binder'
> warning: no previously-included files matching '*.yml' found under directory 
> 'binder'
> no previously-included directories found matching '.circleci'
> adding license file 'LICENSE'
> writing manifest file 'nbclient.egg-info/SOURCES.txt'
> /usr/lib/python3/dist-packages/setuptools/command/build_py.py:202: 
> SetuptoolsDeprecationWarning:     Installing 'nbclient.tests' as data is 
> deprecated, please list it in `packages`.
>     !!
> 
> 
>     ############################
>     # Package would be ignored #
>     ############################
>     Python recognizes 'nbclient.tests' as an importable package,
>     but it is not listed in the `packages` configuration of setuptools.
> 
>     'nbclient.tests' has been automatically added to the distribution only
>     because it may contain data files, but this behavior is likely to change
>     in future versions of setuptools (and therefore is considered deprecated).
> 
>     Please make sure that 'nbclient.tests' is included as a package by using
>     the `packages` configuration field or the proper discovery methods
>     (for example by using `find_namespace_packages(...)`/`find_namespace:`
>     instead of `find_packages(...)`/`find:`).
> 
>     You can read more about "package discovery" and "data files" on setuptools
>     documentation page.
> 
> 
> !!
> 
>   check.warn(importable)
> /usr/lib/python3/dist-packages/setuptools/command/build_py.py:202: 
> SetuptoolsDeprecationWarning:     Installing 'nbclient.tests.files' as data 
> is deprecated, please list it in `packages`.
>     !!
> 
> 
>     ############################
>     # Package would be ignored #
>     ############################
>     Python recognizes 'nbclient.tests.files' as an importable package,
>     but it is not listed in the `packages` configuration of setuptools.
> 
>     'nbclient.tests.files' has been automatically added to the distribution 
> only
>     because it may contain data files, but this behavior is likely to change
>     in future versions of setuptools (and therefore is considered deprecated).
> 
>     Please make sure that 'nbclient.tests.files' is included as a package by 
> using
>     the `packages` configuration field or the proper discovery methods
>     (for example by using `find_namespace_packages(...)`/`find_namespace:`
>     instead of `find_packages(...)`/`find:`).
> 
>     You can read more about "package discovery" and "data files" on setuptools
>     documentation page.
> 
> 
> !!
> 
>   check.warn(importable)
> copying nbclient/py.typed -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/nbclient
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/nbclient/tests
> copying nbclient/tests/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/nbclient/tests
> copying nbclient/tests/base.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/nbclient/tests
> copying nbclient/tests/conftest.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/nbclient/tests
> copying nbclient/tests/fake_kernelmanager.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/nbclient/tests
> copying nbclient/tests/test_client.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/nbclient/tests
> copying nbclient/tests/test_util.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/nbclient/tests
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/nbclient/tests/files
> copying nbclient/tests/files/Autokill.ipynb -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/nbclient/tests/files
> copying nbclient/tests/files/Check History in Memory.ipynb -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/nbclient/tests/files
> copying nbclient/tests/files/Clear Output.ipynb -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/nbclient/tests/files
> copying nbclient/tests/files/Disable Stdin.ipynb -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/nbclient/tests/files
> copying nbclient/tests/files/Empty Cell.ipynb -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/nbclient/tests/files
> copying nbclient/tests/files/Error.ipynb -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/nbclient/tests/files
> copying nbclient/tests/files/Factorials.ipynb -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/nbclient/tests/files
> copying nbclient/tests/files/HelloWorld.ipynb -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/nbclient/tests/files
> copying nbclient/tests/files/Inline Image.ipynb -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/nbclient/tests/files
> copying nbclient/tests/files/Interrupt.ipynb -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/nbclient/tests/files
> copying nbclient/tests/files/JupyterWidgets.ipynb -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/nbclient/tests/files
> copying nbclient/tests/files/Other Comms.ipynb -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/nbclient/tests/files
> copying nbclient/tests/files/Output.ipynb -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/nbclient/tests/files
> copying nbclient/tests/files/Parallel Execute A.ipynb -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/nbclient/tests/files
> copying nbclient/tests/files/Parallel Execute B.ipynb -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/nbclient/tests/files
> copying nbclient/tests/files/SVG.ipynb -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/nbclient/tests/files
> copying nbclient/tests/files/Skip Exceptions with Cell Tags.ipynb -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/nbclient/tests/files
> copying nbclient/tests/files/Skip Exceptions.ipynb -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/nbclient/tests/files
> copying nbclient/tests/files/Skip Execution with Cell Tag.ipynb -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/nbclient/tests/files
> copying nbclient/tests/files/Sleep1s.ipynb -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/nbclient/tests/files
> copying nbclient/tests/files/Unicode.ipynb -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/nbclient/tests/files
> copying nbclient/tests/files/UnicodePy3.ipynb -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/nbclient/tests/files
> copying nbclient/tests/files/python.png -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/nbclient/tests/files
> copying nbclient/tests/files/update-display-id.ipynb -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/nbclient/tests/files
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:240: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build; 
> python3.10 -m pytest 
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.10.9, pytest-7.2.0, pluggy-1.0.0+repack
> rootdir: /<<PKGBUILDDIR>>, configfile: pytest.ini
> plugins: asyncio-0.20.3
> asyncio: mode=auto
> collected 89 items
> 
> nbclient/tests/test_client.py ............FFFF.......................... [ 
> 47%]
> .s........................................                               [ 
> 94%]
> nbclient/tests/test_util.py .....                                        
> [100%]
> 
> =================================== FAILURES 
> ===================================
> ___________________________ test_parallel_notebooks 
> ____________________________
> 
> capfd = <_pytest.capture.CaptureFixture object at 0x7f5594e4ef20>
> tmpdir = local('/tmp/pytest-of-user42/pytest-17/test_parallel_notebooks0')
> 
>     def test_parallel_notebooks(capfd, tmpdir):
>         """Two notebooks should be able to be run simultaneously without 
> problems.
>     
>         The two notebooks spawned here use the filesystem to check that the 
> other notebook
>         wrote to the filesystem."""
>     
>         opts = dict(kernel_name="python")
>         input_name = "Parallel Execute {label}.ipynb"
>         input_file = os.path.join(current_dir, "files", input_name)
>         res = notebook_resources()
>     
>         with modified_env({"NBEXECUTE_TEST_PARALLEL_TMPDIR": str(tmpdir)}):
>             threads = [
>                 threading.Thread(target=run_notebook, 
> args=(input_file.format(label=label), opts, res))
>                 for label in ("A", "B")
>             ]
>             for t in threads:
>                 t.start()
>             for t in threads:
>                 t.join(timeout=20)
>     
>         captured = capfd.readouterr()
> >       assert filter_messages_on_error_output(captured.err) == ""
> E       AssertionError: assert '0.00s - Debu...s validation.' == ''
> E         + 0.00s - Debugger warning: It seems that frozen modules are being 
> used, which may
> E         + 0.00s - make the debugger miss breakpoints. Please pass 
> -Xfrozen_modules=off
> E         + 0.00s - to python to disable frozen modules.
> E         + 0.00s - Note: Debugging will proceed. Set 
> PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation.
> E         + 0.00s - Debugger warning: It seems that frozen modules are being 
> used, which may
> E         + 0.00s - make the debugger miss breakpoints. Please pass 
> -Xfrozen_modules=off
> E         + 0.00s - to python to disable frozen modules....
> E         
> E         ...Full output truncated (2 lines hidden), use '-vv' to show
> 
> nbclient/tests/test_client.py:351: AssertionError
> _________________________ test_many_parallel_notebooks 
> _________________________
> 
> capfd = <_pytest.capture.CaptureFixture object at 0x7f55959dab00>
> 
>     def test_many_parallel_notebooks(capfd):
>         """Ensure that when many IPython kernels are run in parallel, nothing 
> awful happens.
>     
>         Specifically, many IPython kernels when run simultaneously would 
> encounter errors
>         due to using the same SQLite history database.
>         """
>         opts = dict(kernel_name="python", timeout=5)
>         input_name = "HelloWorld.ipynb"
>         input_file = os.path.join(current_dir, "files", input_name)
>         res = NBClientTestsBase().build_resources()
>         res["metadata"]["path"] = os.path.join(current_dir, "files")
>     
>         with warnings.catch_warnings():
>             # suppress warning from jupyter_client's deprecated cleanup()
>             warnings.simplefilter(action='ignore', category=FutureWarning)
>     
>             # run once, to trigger creating the original context
>             run_notebook(input_file, opts, res)
>     
>             with concurrent.futures.ProcessPoolExecutor(max_workers=2) as 
> executor:
>                 executor.map(run_notebook_wrapper, [(input_file, opts, res) 
> for i in range(8)])
>     
>         captured = capfd.readouterr()
> >       assert filter_messages_on_error_output(captured.err) == ""
> E       AssertionError: assert '0.00s - Debu...s validation.' == ''
> E         + 0.00s - Debugger warning: It seems that frozen modules are being 
> used, which may
> E         + 0.00s - make the debugger miss breakpoints. Please pass 
> -Xfrozen_modules=off
> E         + 0.00s - to python to disable frozen modules.
> E         + 0.00s - Note: Debugging will proceed. Set 
> PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation.
> E         + 0.00s - Debugger warning: It seems that frozen modules are being 
> used, which may
> E         + 0.00s - make the debugger miss breakpoints. Please pass 
> -Xfrozen_modules=off
> E         + 0.00s - to python to disable frozen modules....
> E         
> E         ...Full output truncated (30 lines hidden), use '-vv' to show
> 
> nbclient/tests/test_client.py:377: AssertionError
> ________________________ test_async_parallel_notebooks 
> _________________________
> 
> capfd = <_pytest.capture.CaptureFixture object at 0x7f5594e4f8e0>
> tmpdir = 
> local('/tmp/pytest-of-user42/pytest-17/test_async_parallel_notebooks0')
> 
>     def test_async_parallel_notebooks(capfd, tmpdir):
>         """Two notebooks should be able to be run simultaneously without 
> problems.
>     
>         The two notebooks spawned here use the filesystem to check that the 
> other notebook
>         wrote to the filesystem."""
>     
>         opts = dict(kernel_name="python")
>         input_name = "Parallel Execute {label}.ipynb"
>         input_file = os.path.join(current_dir, "files", input_name)
>         res = notebook_resources()
>     
>         with modified_env({"NBEXECUTE_TEST_PARALLEL_TMPDIR": str(tmpdir)}):
>     
>             async def run_tasks():
>                 tasks = [
>                     async_run_notebook(input_file.format(label=label), opts, 
> res)
>                     for label in ("A", "B")
>                 ]
>                 await asyncio.gather(*tasks)
>     
>             asyncio.run(run_tasks())
>     
>         captured = capfd.readouterr()
> >       assert filter_messages_on_error_output(captured.err) == ""
> E       AssertionError: assert '0.00s - Debu...s validation.' == ''
> E         + 0.00s - Debugger warning: It seems that frozen modules are being 
> used, which may
> E         + 0.00s - make the debugger miss breakpoints. Please pass 
> -Xfrozen_modules=off
> E         + 0.00s - to python to disable frozen modules.
> E         + 0.00s - Note: Debugging will proceed. Set 
> PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation.
> E         + 0.00s - Debugger warning: It seems that frozen modules are being 
> used, which may
> E         + 0.00s - make the debugger miss breakpoints. Please pass 
> -Xfrozen_modules=off
> E         + 0.00s - to python to disable frozen modules....
> E         
> E         ...Full output truncated (2 lines hidden), use '-vv' to show
> 
> nbclient/tests/test_client.py:403: AssertionError
> ______________________ test_many_async_parallel_notebooks 
> ______________________
> 
> capfd = <_pytest.capture.CaptureFixture object at 0x7f5594ec9150>
> 
>     def test_many_async_parallel_notebooks(capfd):
>         """Ensure that when many IPython kernels are run in parallel, nothing 
> awful happens.
>     
>         Specifically, many IPython kernels when run simultaneously would 
> encounter errors
>         due to using the same SQLite history database.
>         """
>         opts = dict(kernel_name="python", timeout=5)
>         input_name = "HelloWorld.ipynb"
>         input_file = os.path.join(current_dir, "files", input_name)
>         res = NBClientTestsBase().build_resources()
>         res["metadata"]["path"] = os.path.join(current_dir, "files")
>     
>         # run once, to trigger creating the original context
>         run_notebook(input_file, opts, res)
>     
>         async def run_tasks():
>             tasks = [async_run_notebook(input_file, opts, res) for i in 
> range(4)]
>             await asyncio.gather(*tasks)
>     
>         asyncio.run(run_tasks())
>     
>         captured = capfd.readouterr()
> >       assert filter_messages_on_error_output(captured.err) == ""
> E       AssertionError: assert '0.00s - Debu...s validation.' == ''
> E         + 0.00s - Debugger warning: It seems that frozen modules are being 
> used, which may
> E         + 0.00s - make the debugger miss breakpoints. Please pass 
> -Xfrozen_modules=off
> E         + 0.00s - to python to disable frozen modules.
> E         + 0.00s - Note: Debugging will proceed. Set 
> PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation.
> E         + 0.00s - Debugger warning: It seems that frozen modules are being 
> used, which may
> E         + 0.00s - make the debugger miss breakpoints. Please pass 
> -Xfrozen_modules=off
> E         + 0.00s - to python to disable frozen modules....
> E         
> E         ...Full output truncated (14 lines hidden), use '-vv' to show
> 
> nbclient/tests/test_client.py:428: AssertionError
> =========================== short test summary info 
> ============================
> FAILED nbclient/tests/test_client.py::test_parallel_notebooks - 
> AssertionErro...
> FAILED nbclient/tests/test_client.py::test_many_parallel_notebooks - 
> Assertio...
> FAILED nbclient/tests/test_client.py::test_async_parallel_notebooks - 
> Asserti...
> FAILED nbclient/tests/test_client.py::test_many_async_parallel_notebooks - 
> As...
> ============== 4 failed, 84 passed, 1 skipped in 84.06s (0:01:24) 
> ==============
> Exception ignored in atexit callback: <bound method run_sync.<locals>.wrapped 
> of <nbclient.client.NotebookClient object at 0x7f5594ecb700>>
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nbclient/util.py", line 
> 85, in wrapped
>     return just_run(coro(*args, **kwargs))
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nbclient/util.py", line 
> 60, in just_run
>     return loop.run_until_complete(coro)
>   File "/usr/lib/python3/dist-packages/nest_asyncio.py", line 81, in 
> run_until_complete
>     return f.result()
>   File "/usr/lib/python3.10/asyncio/futures.py", line 201, in result
>     raise self._exception.with_traceback(self._exception_tb)
>   File "/usr/lib/python3.10/asyncio/tasks.py", line 232, in __step
>     result = coro.send(None)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nbclient/client.py", 
> line 497, in _async_cleanup_kernel
>     assert self.km is not None
> AssertionError: 
> E: pybuild pybuild:388: test: plugin distutils failed with: exit code=1: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build; python3.10 -m pytest 
> I: pybuild base:240: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build; 
> python3.11 -m pytest 
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.11.1, pytest-7.2.0, pluggy-1.0.0+repack
> rootdir: /<<PKGBUILDDIR>>, configfile: pytest.ini
> plugins: asyncio-0.20.3
> asyncio: mode=Mode.AUTO
> collected 89 items
> 
> nbclient/tests/test_client.py ............FFFF.......................... [ 
> 47%]
> .s........................................                               [ 
> 94%]
> nbclient/tests/test_util.py .....                                        
> [100%]
> 
> =================================== FAILURES 
> ===================================
> ___________________________ test_parallel_notebooks 
> ____________________________
> 
> capfd = <_pytest.capture.CaptureFixture object at 0x7f41dacd9690>
> tmpdir = local('/tmp/pytest-of-user42/pytest-18/test_parallel_notebooks0')
> 
>     def test_parallel_notebooks(capfd, tmpdir):
>         """Two notebooks should be able to be run simultaneously without 
> problems.
>     
>         The two notebooks spawned here use the filesystem to check that the 
> other notebook
>         wrote to the filesystem."""
>     
>         opts = dict(kernel_name="python")
>         input_name = "Parallel Execute {label}.ipynb"
>         input_file = os.path.join(current_dir, "files", input_name)
>         res = notebook_resources()
>     
>         with modified_env({"NBEXECUTE_TEST_PARALLEL_TMPDIR": str(tmpdir)}):
>             threads = [
>                 threading.Thread(target=run_notebook, 
> args=(input_file.format(label=label), opts, res))
>                 for label in ("A", "B")
>             ]
>             for t in threads:
>                 t.start()
>             for t in threads:
>                 t.join(timeout=20)
>     
>         captured = capfd.readouterr()
> >       assert filter_messages_on_error_output(captured.err) == ""
> E       AssertionError: assert '0.00s - Debu...s validation.' == ''
> E         + 0.00s - Debugger warning: It seems that frozen modules are being 
> used, which may
> E         + 0.00s - make the debugger miss breakpoints. Please pass 
> -Xfrozen_modules=off
> E         + 0.00s - to python to disable frozen modules.
> E         + 0.00s - Note: Debugging will proceed. Set 
> PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation.
> E         + 0.00s - Debugger warning: It seems that frozen modules are being 
> used, which may
> E         + 0.00s - make the debugger miss breakpoints. Please pass 
> -Xfrozen_modules=off
> E         + 0.00s - to python to disable frozen modules....
> E         
> E         ...Full output truncated (2 lines hidden), use '-vv' to show
> 
> nbclient/tests/test_client.py:351: AssertionError
> _________________________ test_many_parallel_notebooks 
> _________________________
> 
> capfd = <_pytest.capture.CaptureFixture object at 0x7f41daa50750>
> 
>     def test_many_parallel_notebooks(capfd):
>         """Ensure that when many IPython kernels are run in parallel, nothing 
> awful happens.
>     
>         Specifically, many IPython kernels when run simultaneously would 
> encounter errors
>         due to using the same SQLite history database.
>         """
>         opts = dict(kernel_name="python", timeout=5)
>         input_name = "HelloWorld.ipynb"
>         input_file = os.path.join(current_dir, "files", input_name)
>         res = NBClientTestsBase().build_resources()
>         res["metadata"]["path"] = os.path.join(current_dir, "files")
>     
>         with warnings.catch_warnings():
>             # suppress warning from jupyter_client's deprecated cleanup()
>             warnings.simplefilter(action='ignore', category=FutureWarning)
>     
>             # run once, to trigger creating the original context
>             run_notebook(input_file, opts, res)
>     
>             with concurrent.futures.ProcessPoolExecutor(max_workers=2) as 
> executor:
>                 executor.map(run_notebook_wrapper, [(input_file, opts, res) 
> for i in range(8)])
>     
>         captured = capfd.readouterr()
> >       assert filter_messages_on_error_output(captured.err) == ""
> E       AssertionError: assert '0.00s - Debu...s validation.' == ''
> E         + 0.00s - Debugger warning: It seems that frozen modules are being 
> used, which may
> E         + 0.00s - make the debugger miss breakpoints. Please pass 
> -Xfrozen_modules=off
> E         + 0.00s - to python to disable frozen modules.
> E         + 0.00s - Note: Debugging will proceed. Set 
> PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation.
> E         + 0.00s - Debugger warning: It seems that frozen modules are being 
> used, which may
> E         + 0.00s - make the debugger miss breakpoints. Please pass 
> -Xfrozen_modules=off
> E         + 0.00s - to python to disable frozen modules....
> E         
> E         ...Full output truncated (30 lines hidden), use '-vv' to show
> 
> nbclient/tests/test_client.py:377: AssertionError
> ________________________ test_async_parallel_notebooks 
> _________________________
> 
> capfd = <_pytest.capture.CaptureFixture object at 0x7f41dbabe4d0>
> tmpdir = 
> local('/tmp/pytest-of-user42/pytest-18/test_async_parallel_notebooks0')
> 
>     def test_async_parallel_notebooks(capfd, tmpdir):
>         """Two notebooks should be able to be run simultaneously without 
> problems.
>     
>         The two notebooks spawned here use the filesystem to check that the 
> other notebook
>         wrote to the filesystem."""
>     
>         opts = dict(kernel_name="python")
>         input_name = "Parallel Execute {label}.ipynb"
>         input_file = os.path.join(current_dir, "files", input_name)
>         res = notebook_resources()
>     
>         with modified_env({"NBEXECUTE_TEST_PARALLEL_TMPDIR": str(tmpdir)}):
>     
>             async def run_tasks():
>                 tasks = [
>                     async_run_notebook(input_file.format(label=label), opts, 
> res)
>                     for label in ("A", "B")
>                 ]
>                 await asyncio.gather(*tasks)
>     
>             asyncio.run(run_tasks())
>     
>         captured = capfd.readouterr()
> >       assert filter_messages_on_error_output(captured.err) == ""
> E       AssertionError: assert '0.00s - Debu...s validation.' == ''
> E         + 0.00s - Debugger warning: It seems that frozen modules are being 
> used, which may
> E         + 0.00s - make the debugger miss breakpoints. Please pass 
> -Xfrozen_modules=off
> E         + 0.00s - to python to disable frozen modules.
> E         + 0.00s - Note: Debugging will proceed. Set 
> PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation.
> E         + 0.00s - Debugger warning: It seems that frozen modules are being 
> used, which may
> E         + 0.00s - make the debugger miss breakpoints. Please pass 
> -Xfrozen_modules=off
> E         + 0.00s - to python to disable frozen modules....
> E         
> E         ...Full output truncated (2 lines hidden), use '-vv' to show
> 
> nbclient/tests/test_client.py:403: AssertionError
> ______________________ test_many_async_parallel_notebooks 
> ______________________
> 
> capfd = <_pytest.capture.CaptureFixture object at 0x7f41db3fe250>
> 
>     def test_many_async_parallel_notebooks(capfd):
>         """Ensure that when many IPython kernels are run in parallel, nothing 
> awful happens.
>     
>         Specifically, many IPython kernels when run simultaneously would 
> encounter errors
>         due to using the same SQLite history database.
>         """
>         opts = dict(kernel_name="python", timeout=5)
>         input_name = "HelloWorld.ipynb"
>         input_file = os.path.join(current_dir, "files", input_name)
>         res = NBClientTestsBase().build_resources()
>         res["metadata"]["path"] = os.path.join(current_dir, "files")
>     
>         # run once, to trigger creating the original context
>         run_notebook(input_file, opts, res)
>     
>         async def run_tasks():
>             tasks = [async_run_notebook(input_file, opts, res) for i in 
> range(4)]
>             await asyncio.gather(*tasks)
>     
>         asyncio.run(run_tasks())
>     
>         captured = capfd.readouterr()
> >       assert filter_messages_on_error_output(captured.err) == ""
> E       AssertionError: assert '0.00s - Debu...s validation.' == ''
> E         + 0.00s - Debugger warning: It seems that frozen modules are being 
> used, which may
> E         + 0.00s - make the debugger miss breakpoints. Please pass 
> -Xfrozen_modules=off
> E         + 0.00s - to python to disable frozen modules.
> E         + 0.00s - Note: Debugging will proceed. Set 
> PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation.
> E         + 0.00s - Debugger warning: It seems that frozen modules are being 
> used, which may
> E         + 0.00s - make the debugger miss breakpoints. Please pass 
> -Xfrozen_modules=off
> E         + 0.00s - to python to disable frozen modules....
> E         
> E         ...Full output truncated (14 lines hidden), use '-vv' to show
> 
> nbclient/tests/test_client.py:428: AssertionError
> =========================== short test summary info 
> ============================
> FAILED nbclient/tests/test_client.py::test_parallel_notebooks - 
> AssertionErro...
> FAILED nbclient/tests/test_client.py::test_many_parallel_notebooks - 
> Assertio...
> FAILED nbclient/tests/test_client.py::test_async_parallel_notebooks - 
> Asserti...
> FAILED nbclient/tests/test_client.py::test_many_async_parallel_notebooks - 
> As...
> ============== 4 failed, 84 passed, 1 skipped in 83.32s (0:01:23) 
> ==============
> E: pybuild pybuild:388: test: plugin distutils failed with: exit code=1: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build; python3.11 -m pytest 
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.10 
> 3.11" returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2023/01/13/nbclient_0.7.0-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230113;[email protected]
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230113&[email protected]&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

Reply via email to