Source: spyder-kernels
Version: 2.3.3-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: [email protected]
Usertags: ftbfs-20221220 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 --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.11 setup.py config
> running config
> I: pybuild base:240: python3.10 setup.py config
> running config
> dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:240: /usr/bin/python3.11 setup.py build
> running build
> running build_py
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spyder-kernels/build/spyder_kernels
> copying spyder_kernels/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spyder-kernels/build/spyder_kernels
> copying spyder_kernels/py3compat.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spyder-kernels/build/spyder_kernels
> copying spyder_kernels/_version.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spyder-kernels/build/spyder_kernels
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spyder-kernels/build/spyder_kernels/customize
> copying spyder_kernels/customize/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spyder-kernels/build/spyder_kernels/customize
> copying spyder_kernels/customize/spyderpdb.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spyder-kernels/build/spyder_kernels/customize
> copying spyder_kernels/customize/spydercustomize.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spyder-kernels/build/spyder_kernels/customize
> copying spyder_kernels/customize/umr.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spyder-kernels/build/spyder_kernels/customize
> copying spyder_kernels/customize/namespace_manager.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spyder-kernels/build/spyder_kernels/customize
> copying spyder_kernels/customize/utils.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spyder-kernels/build/spyder_kernels/customize
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spyder-kernels/build/spyder_kernels/utils
> copying spyder_kernels/utils/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spyder-kernels/build/spyder_kernels/utils
> copying spyder_kernels/utils/lazymodules.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spyder-kernels/build/spyder_kernels/utils
> copying spyder_kernels/utils/mpl.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spyder-kernels/build/spyder_kernels/utils
> copying spyder_kernels/utils/nsview.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spyder-kernels/build/spyder_kernels/utils
> copying spyder_kernels/utils/dochelpers.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spyder-kernels/build/spyder_kernels/utils
> copying spyder_kernels/utils/iofuncs.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spyder-kernels/build/spyder_kernels/utils
> copying spyder_kernels/utils/test_utils.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spyder-kernels/build/spyder_kernels/utils
> copying spyder_kernels/utils/misc.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spyder-kernels/build/spyder_kernels/utils
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spyder-kernels/build/spyder_kernels/console
> copying spyder_kernels/console/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spyder-kernels/build/spyder_kernels/console
> copying spyder_kernels/console/__main__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spyder-kernels/build/spyder_kernels/console
> copying spyder_kernels/console/shell.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spyder-kernels/build/spyder_kernels/console
> copying spyder_kernels/console/kernel.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spyder-kernels/build/spyder_kernels/console
> copying spyder_kernels/console/outstream.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spyder-kernels/build/spyder_kernels/console
> copying spyder_kernels/console/start.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spyder-kernels/build/spyder_kernels/console
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spyder-kernels/build/spyder_kernels/comms
> copying spyder_kernels/comms/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spyder-kernels/build/spyder_kernels/comms
> copying spyder_kernels/comms/commbase.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spyder-kernels/build/spyder_kernels/comms
> copying spyder_kernels/comms/frontendcomm.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spyder-kernels/build/spyder_kernels/comms
> running egg_info
> creating spyder_kernels.egg-info
> writing spyder_kernels.egg-info/PKG-INFO
> writing dependency_links to spyder_kernels.egg-info/dependency_links.txt
> writing requirements to spyder_kernels.egg-info/requires.txt
> writing top-level names to spyder_kernels.egg-info/top_level.txt
> writing manifest file 'spyder_kernels.egg-info/SOURCES.txt'
> reading manifest file 'spyder_kernels.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> adding license file 'LICENSE.txt'
> adding license file 'AUTHORS.txt'
> writing manifest file 'spyder_kernels.egg-info/SOURCES.txt'
> I: pybuild base:240: /usr/bin/python3 setup.py build
> running build
> running build_py
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_spyder-kernels/build/spyder_kernels
> copying spyder_kernels/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_spyder-kernels/build/spyder_kernels
> copying spyder_kernels/py3compat.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_spyder-kernels/build/spyder_kernels
> copying spyder_kernels/_version.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_spyder-kernels/build/spyder_kernels
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_spyder-kernels/build/spyder_kernels/customize
> copying spyder_kernels/customize/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_spyder-kernels/build/spyder_kernels/customize
> copying spyder_kernels/customize/spyderpdb.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_spyder-kernels/build/spyder_kernels/customize
> copying spyder_kernels/customize/spydercustomize.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_spyder-kernels/build/spyder_kernels/customize
> copying spyder_kernels/customize/umr.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_spyder-kernels/build/spyder_kernels/customize
> copying spyder_kernels/customize/namespace_manager.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_spyder-kernels/build/spyder_kernels/customize
> copying spyder_kernels/customize/utils.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_spyder-kernels/build/spyder_kernels/customize
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_spyder-kernels/build/spyder_kernels/utils
> copying spyder_kernels/utils/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_spyder-kernels/build/spyder_kernels/utils
> copying spyder_kernels/utils/lazymodules.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_spyder-kernels/build/spyder_kernels/utils
> copying spyder_kernels/utils/mpl.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_spyder-kernels/build/spyder_kernels/utils
> copying spyder_kernels/utils/nsview.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_spyder-kernels/build/spyder_kernels/utils
> copying spyder_kernels/utils/dochelpers.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_spyder-kernels/build/spyder_kernels/utils
> copying spyder_kernels/utils/iofuncs.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_spyder-kernels/build/spyder_kernels/utils
> copying spyder_kernels/utils/test_utils.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_spyder-kernels/build/spyder_kernels/utils
> copying spyder_kernels/utils/misc.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_spyder-kernels/build/spyder_kernels/utils
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_spyder-kernels/build/spyder_kernels/console
> copying spyder_kernels/console/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_spyder-kernels/build/spyder_kernels/console
> copying spyder_kernels/console/__main__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_spyder-kernels/build/spyder_kernels/console
> copying spyder_kernels/console/shell.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_spyder-kernels/build/spyder_kernels/console
> copying spyder_kernels/console/kernel.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_spyder-kernels/build/spyder_kernels/console
> copying spyder_kernels/console/outstream.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_spyder-kernels/build/spyder_kernels/console
> copying spyder_kernels/console/start.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_spyder-kernels/build/spyder_kernels/console
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_spyder-kernels/build/spyder_kernels/comms
> copying spyder_kernels/comms/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_spyder-kernels/build/spyder_kernels/comms
> copying spyder_kernels/comms/commbase.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_spyder-kernels/build/spyder_kernels/comms
> copying spyder_kernels/comms/frontendcomm.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_spyder-kernels/build/spyder_kernels/comms
> running egg_info
> writing spyder_kernels.egg-info/PKG-INFO
> writing dependency_links to spyder_kernels.egg-info/dependency_links.txt
> writing requirements to spyder_kernels.egg-info/requires.txt
> writing top-level names to spyder_kernels.egg-info/top_level.txt
> reading manifest file 'spyder_kernels.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> adding license file 'LICENSE.txt'
> adding license file 'AUTHORS.txt'
> writing manifest file 'spyder_kernels.egg-info/SOURCES.txt'
> dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:240: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spyder-kernels/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>>
> plugins: flaky-3.7.0
> collected 74 items
>
> console/tests/test_console_kernel.py ..................F..s............s [
> 47%]
> sss. [
> 52%]
> customize/tests/test_umr.py ..... [
> 59%]
> customize/tests/test_utils.py . [
> 60%]
> utils/tests/test_dochelpers.py . [
> 62%]
> utils/tests/test_iofuncs.py ........... [
> 77%]
> utils/tests/test_lazymodules.py .. [
> 79%]
> utils/tests/test_nsview.py ...............
> [100%]
>
> =================================== FAILURES
> ===================================
> __________________________ test_dask_multiprocessing
> ___________________________
>
> tmpdir = local('/tmp/pytest-of-user42/pytest-2/test_dask_multiprocessing2')
>
> @flaky(max_runs=3)
> @pytest.mark.skipif(not PY3,
> reason="Only meant for Python 3")
> def test_dask_multiprocessing(tmpdir):
> """
> Test that dask multiprocessing works on Python 3.
> """
> # Command to start the kernel
> cmd = "from spyder_kernels.console import start; start.main()"
>
> with setup_kernel(cmd) as client:
> # Remove all variables
> client.execute("%reset -f")
> client.get_shell_msg(timeout=TIMEOUT)
>
> # Write multiprocessing code to a file
> # Runs two times to verify that in the second case it doesn't
> break
> code = """
> from dask.distributed import Client
>
> if __name__=='__main__':
> client = Client()
> client.close()
> x = 'hello'
> """
> p = tmpdir.join("mp-test.py")
> p.write(code)
>
> # Run code two times
> client.execute("runfile(r'{}')".format(to_text_string(p)))
> client.get_shell_msg(timeout=TIMEOUT)
>
> client.execute("runfile(r'{}')".format(to_text_string(p)))
> client.get_shell_msg(timeout=TIMEOUT)
>
> # Verify that the `x` variable is defined
> client.inspect('x')
> msg = client.get_shell_msg(timeout=TIMEOUT)
> while "found" not in msg['content']:
> msg = client.get_shell_msg(timeout=TIMEOUT)
> content = msg['content']
> > assert content['found']
> E assert False
>
> console/tests/test_console_kernel.py:572: AssertionError
> =============================== warnings summary
> ===============================
> .pybuild/cpython3_3.11_spyder-kernels/build/customize/tests/test_umr.py::test_umr_skip_cython
> /usr/lib/python3/dist-packages/pyximport/pyximport.py:51:
> DeprecationWarning: the imp module is deprecated in favour of importlib and
> slated for removal in Python 3.12; see the module's documentation for
> alternative uses
> import imp
>
> .pybuild/cpython3_3.11_spyder-kernels/build/utils/tests/test_nsview.py::test_get_type_string
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spyder-kernels/build/utils/tests/test_nsview.py:337:
> PendingDeprecationWarning: the matrix subclass is not the recommended way to
> represent matrices or deal with linear algebra (see
> https://docs.scipy.org/doc/numpy/user/numpy-for-matlab-users.html). Please
> adjust your code to use regular ndarray.
> matrix = np.matrix([[1, 2], [3, 4]])
>
> .pybuild/cpython3_3.11_spyder-kernels/build/utils/tests/test_nsview.py::test_is_editable_type
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spyder-kernels/build/utils/tests/test_nsview.py:392:
> PendingDeprecationWarning: the matrix subclass is not the recommended way to
> represent matrices or deal with linear algebra (see
> https://docs.scipy.org/doc/numpy/user/numpy-for-matlab-users.html). Please
> adjust your code to use regular ndarray.
> matrix = np.matrix([[1, 2], [3, 4]])
>
> .pybuild/cpython3_3.11_spyder-kernels/build/utils/tests/test_nsview.py::test_get_numpy_type
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spyder-kernels/build/utils/tests/test_nsview.py:430:
> PendingDeprecationWarning: the matrix subclass is not the recommended way to
> represent matrices or deal with linear algebra (see
> https://docs.scipy.org/doc/numpy/user/numpy-for-matlab-users.html). Please
> adjust your code to use regular ndarray.
> matrix = np.matrix([[1, 2], [3, 4]])
>
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> ===Flaky Test Report===
>
> test_cwd_in_sys_path passed 1 out of the required 1 times. Success!
> test_multiprocessing passed 1 out of the required 1 times. Success!
> test_multiprocessing_2 passed 1 out of the required 1 times. Success!
> test_dask_multiprocessing failed (2 runs remaining out of 3).
> <class 'AssertionError'>
> assert False
> [<TracebackEntry
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spyder-kernels/build/console/tests/test_console_kernel.py:572>]
> test_dask_multiprocessing failed (1 runs remaining out of 3).
> <class 'AssertionError'>
> assert False
> [<TracebackEntry
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spyder-kernels/build/console/tests/test_console_kernel.py:572>]
> test_dask_multiprocessing failed; it passed 0 out of the required 1 times.
> <class 'AssertionError'>
> assert False
> [<TracebackEntry
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spyder-kernels/build/console/tests/test_console_kernel.py:572>]
> test_runfile passed 1 out of the required 1 times. Success!
> test_np_threshold passed 1 out of the required 1 times. Success!
> test_matplotlib_inline passed 1 out of the required 1 times. Success!
> test_debug_namespace passed 1 out of the required 1 times. Success!
>
> ===End Flaky Test Report===
> =========================== short test summary info
> ============================
> FAILED console/tests/test_console_kernel.py::test_dask_multiprocessing -
> asse...
> ======== 1 failed, 68 passed, 5 skipped, 4 warnings in 73.73s (0:01:13)
> ========
> E: pybuild pybuild:386: test: plugin distutils failed with: exit code=1: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spyder-kernels/build; python3.11 -m
> pytest
> I: pybuild base:240: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_spyder-kernels/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>>
> plugins: flaky-3.7.0
> collected 74 items
>
> console/tests/test_console_kernel.py .....................s............s [
> 47%]
> sss. [
> 52%]
> customize/tests/test_umr.py ..... [
> 59%]
> customize/tests/test_utils.py . [
> 60%]
> utils/tests/test_dochelpers.py . [
> 62%]
> utils/tests/test_iofuncs.py ........... [
> 77%]
> utils/tests/test_lazymodules.py .. [
> 79%]
> utils/tests/test_nsview.py ...............
> [100%]
>
> =============================== warnings summary
> ===============================
> .pybuild/cpython3_3.10_spyder-kernels/build/customize/tests/test_umr.py::test_umr_skip_cython
> /usr/lib/python3/dist-packages/pyximport/pyximport.py:51:
> DeprecationWarning: the imp module is deprecated in favour of importlib and
> slated for removal in Python 3.12; see the module's documentation for
> alternative uses
> import imp
>
> .pybuild/cpython3_3.10_spyder-kernels/build/utils/tests/test_nsview.py::test_get_type_string
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_spyder-kernels/build/utils/tests/test_nsview.py:337:
> PendingDeprecationWarning: the matrix subclass is not the recommended way to
> represent matrices or deal with linear algebra (see
> https://docs.scipy.org/doc/numpy/user/numpy-for-matlab-users.html). Please
> adjust your code to use regular ndarray.
> matrix = np.matrix([[1, 2], [3, 4]])
>
> .pybuild/cpython3_3.10_spyder-kernels/build/utils/tests/test_nsview.py::test_is_editable_type
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_spyder-kernels/build/utils/tests/test_nsview.py:392:
> PendingDeprecationWarning: the matrix subclass is not the recommended way to
> represent matrices or deal with linear algebra (see
> https://docs.scipy.org/doc/numpy/user/numpy-for-matlab-users.html). Please
> adjust your code to use regular ndarray.
> matrix = np.matrix([[1, 2], [3, 4]])
>
> .pybuild/cpython3_3.10_spyder-kernels/build/utils/tests/test_nsview.py::test_get_numpy_type
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_spyder-kernels/build/utils/tests/test_nsview.py:430:
> PendingDeprecationWarning: the matrix subclass is not the recommended way to
> represent matrices or deal with linear algebra (see
> https://docs.scipy.org/doc/numpy/user/numpy-for-matlab-users.html). Please
> adjust your code to use regular ndarray.
> matrix = np.matrix([[1, 2], [3, 4]])
>
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> ===Flaky Test Report===
>
> test_cwd_in_sys_path passed 1 out of the required 1 times. Success!
> test_multiprocessing passed 1 out of the required 1 times. Success!
> test_multiprocessing_2 passed 1 out of the required 1 times. Success!
> test_dask_multiprocessing passed 1 out of the required 1 times. Success!
> test_runfile passed 1 out of the required 1 times. Success!
> test_np_threshold passed 1 out of the required 1 times. Success!
> test_matplotlib_inline passed 1 out of the required 1 times. Success!
> test_debug_namespace passed 1 out of the required 1 times. Success!
>
> ===End Flaky Test Report===
> ============= 69 passed, 5 skipped, 4 warnings in 70.91s (0:01:10)
> =============
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.11
> 3.10" returned exit code 13
The full build log is available from:
http://qa-logs.debian.net/2022/12/20/spyder-kernels_2.3.3-1_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20221220;[email protected]
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20221220&[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.