Your message dated Mon, 16 Jan 2023 08:37:43 +0000
with message-id <[email protected]>
and subject line Bug#1028790: fixed in nbclient 0.7.2-1
has caused the Debian Bug report #1028790,
regarding nbclient: FTBFS: AssertionError:
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1028790: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1028790
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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.

--- End Message ---
--- Begin Message ---
Source: nbclient
Source-Version: 0.7.2-1
Done: Jochen Sprickerhof <[email protected]>

We believe that the bug you reported is fixed in the latest version of
nbclient, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jochen Sprickerhof <[email protected]> (supplier of updated nbclient package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 16 Jan 2023 08:54:41 +0100
Source: nbclient
Architecture: source
Version: 0.7.2-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Jochen Sprickerhof <[email protected]>
Closes: 1028790
Changes:
 nbclient (0.7.2-1) unstable; urgency=medium
 .
   * Team upload.
   * New upstream version 0.7.2 (Closes: #1028790)
   * Update build dependencies
   * Bump policy version (no changes)
   * Move package description to source package
   * Use dh-sequence-*
Checksums-Sha1:
 cdb7aed72a8a7fba3c19b3d12d109b674434d8c1 2911 nbclient_0.7.2-1.dsc
 fb1d87d15732b052b83f9e267db816654f45b9f3 76883 nbclient_0.7.2.orig.tar.gz
 c1fdf7991b8b55b83c6266ef574cd6b990833998 5224 nbclient_0.7.2-1.debian.tar.xz
 4df651e736a8d380f497697fbb1a289520f4756e 7089 nbclient_0.7.2-1_source.buildinfo
Checksums-Sha256:
 34230344b2d621fff6fdb8a6ee5e6735623511dce6b0994635d7c76cbb9003c8 2911 
nbclient_0.7.2-1.dsc
 06d2d73ab1b8e929f52a20e65986f4c36bd410d964681c8a36a72ddf0e3c7661 76883 
nbclient_0.7.2.orig.tar.gz
 d9dbf6bc9b73d1efe79703f68f4705f8c8d319ffd64e0536ec7b19b19bf91cb6 5224 
nbclient_0.7.2-1.debian.tar.xz
 01720a85c3ad1cb31852a4fe7cbf68b73b674ee35d352d6ab73bfe3fcb53da00 7089 
nbclient_0.7.2-1_source.buildinfo
Files:
 0b7b6e5593c2eab5dd1f18b82c38ba92 2911 python optional nbclient_0.7.2-1.dsc
 39620d1ba3f4d2bd1c8a669490b58a04 76883 python optional 
nbclient_0.7.2.orig.tar.gz
 e7fe1a6908eda2de567e40b5e1d9e290 5224 python optional 
nbclient_0.7.2-1.debian.tar.xz
 cc48af92eda79d32c4ad01309799fb87 7089 python optional 
nbclient_0.7.2-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEc7KZy9TurdzAF+h6W//cwljmlDMFAmPFBzMACgkQW//cwljm
lDO8eQ/8CaPlEJH7CkiwcgTYXWKmOYBM7f2JqgymaqGz+02DLqDuGvsKxo8wUE2G
R7TtziGdg/jjGhJph6/nmzz0rfl2jsp3gbK2tfu6xMK+xKDbOI8tHwQe6ae6C9M2
dmbADrj6Xjb0lxfNClBiku9FqrGlQmClmvgV7NpgvRoHNhuggSfY6Tf1oiMTo1uM
wyj1snBw3eLptUdnWHMSVMQ4jg9sGlSCq/sRl8n1WbNRLS2faAPpRyxMNR7GYLRw
+58VgspbRZYG2mbUHVr9nWztYLBYCsKZOJuZzgpD0zoDFTTE9BhmaiP9973EKM/S
f8GE+7VIxV3n5gshtBm7kdhaPo/Yw6PtrS4a18aAoZmUmgLUVqcVh1MUMYGZBICu
iYLgjJuYM5iO7FPLDeHvyZjkelyKS0PoMMiA6f/2oZ9JC6/SebAOtmd4gxl/Q5sl
LRhYMbMeKZtIWmoUwTtaAOfS5Vsi3b2tNJAOReTFNNWjlNdVQVFXeyS5mgqY3MkZ
RyFWHjrlns2RIXNXln8IltIDFDHa1egrLauH2aLtetJe1M19o4Mcw/b3RmGEv3GH
5xwEgAazbqF1fzcs/9Y8SHllSJhDMrYyozebVcHR6S6l5yTo2Y3B/gRyOvpNfpNE
rd/sa0pZVrcul6NQWodX937wL0pLQC/j1syqf40lMt+K1AA0m9M=
=beyA
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to