Bug#1058437: spyder-line-profiler: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 3.11" returned exit code 13

Lucas Nussbaum lucas at debian.org
Tue Dec 12 08:25:10 GMT 2023


Source: spyder-line-profiler
Version: 0.3.2-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20231212 ftbfs-trixie

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:310: python3.12 setup.py config 
> running config
> I: pybuild base:310: python3.11 setup.py config 
> running config
>    dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:310: /usr/bin/python3.12 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_spyder-line-profiler/build/spyder_line_profiler
> copying spyder_line_profiler/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_spyder-line-profiler/build/spyder_line_profiler
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_spyder-line-profiler/build/spyder_line_profiler/tests
> copying spyder_line_profiler/tests/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_spyder-line-profiler/build/spyder_line_profiler/tests
> copying spyder_line_profiler/tests/test_lineprofiler.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_spyder-line-profiler/build/spyder_line_profiler/tests
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_spyder-line-profiler/build/spyder_line_profiler/spyder
> copying spyder_line_profiler/spyder/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_spyder-line-profiler/build/spyder_line_profiler/spyder
> copying spyder_line_profiler/spyder/widgets.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_spyder-line-profiler/build/spyder_line_profiler/spyder
> copying spyder_line_profiler/spyder/plugin.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_spyder-line-profiler/build/spyder_line_profiler/spyder
> copying spyder_line_profiler/spyder/confpage.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_spyder-line-profiler/build/spyder_line_profiler/spyder
> copying spyder_line_profiler/spyder/config.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_spyder-line-profiler/build/spyder_line_profiler/spyder
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_spyder-line-profiler/build/spyder_line_profiler/example
> copying spyder_line_profiler/example/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_spyder-line-profiler/build/spyder_line_profiler/example
> copying spyder_line_profiler/example/profiling_test_script.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_spyder-line-profiler/build/spyder_line_profiler/example
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_spyder-line-profiler/build/spyder_line_profiler/example/subdir
> copying spyder_line_profiler/example/subdir/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_spyder-line-profiler/build/spyder_line_profiler/example/subdir
> copying spyder_line_profiler/example/subdir/profiling_test_script2.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_spyder-line-profiler/build/spyder_line_profiler/example/subdir
> I: pybuild base:310: /usr/bin/python3 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spyder-line-profiler/build/spyder_line_profiler
> copying spyder_line_profiler/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spyder-line-profiler/build/spyder_line_profiler
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spyder-line-profiler/build/spyder_line_profiler/tests
> copying spyder_line_profiler/tests/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spyder-line-profiler/build/spyder_line_profiler/tests
> copying spyder_line_profiler/tests/test_lineprofiler.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spyder-line-profiler/build/spyder_line_profiler/tests
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spyder-line-profiler/build/spyder_line_profiler/spyder
> copying spyder_line_profiler/spyder/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spyder-line-profiler/build/spyder_line_profiler/spyder
> copying spyder_line_profiler/spyder/widgets.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spyder-line-profiler/build/spyder_line_profiler/spyder
> copying spyder_line_profiler/spyder/plugin.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spyder-line-profiler/build/spyder_line_profiler/spyder
> copying spyder_line_profiler/spyder/confpage.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spyder-line-profiler/build/spyder_line_profiler/spyder
> copying spyder_line_profiler/spyder/config.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spyder-line-profiler/build/spyder_line_profiler/spyder
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spyder-line-profiler/build/spyder_line_profiler/example
> copying spyder_line_profiler/example/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spyder-line-profiler/build/spyder_line_profiler/example
> copying spyder_line_profiler/example/profiling_test_script.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spyder-line-profiler/build/spyder_line_profiler/example
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spyder-line-profiler/build/spyder_line_profiler/example/subdir
> copying spyder_line_profiler/example/subdir/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spyder-line-profiler/build/spyder_line_profiler/example/subdir
> copying spyder_line_profiler/example/subdir/profiling_test_script2.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spyder-line-profiler/build/spyder_line_profiler/example/subdir
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:310: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_spyder-line-profiler/build; python3.12 -m pytest 
> ============================= test session starts ==============================
> platform linux -- Python 3.12.1, pytest-7.4.3, pluggy-1.3.0
> PyQt5 5.15.10 -- Qt runtime 5.15.10 -- Qt compiled 5.15.10
> rootdir: /<<PKGBUILDDIR>>
> plugins: xvfb-3.0.0, qt-4.2.0+repack
> collected 2 items
> 
> spyder_line_profiler/tests/test_lineprofiler.py F                        [ 50%]
> tests/test_lineprofiler.py F                                             [100%]
> 
> =================================== FAILURES ===================================
> _______________________ test_profile_and_display_results _______________________
> 
> qtbot = <pytestqt.qtbot.QtBot object at 0x7ff7d54dd160>
> tmpdir = local('/tmp/pytest-of-user42/pytest-330/test_profile_and_display_resul0')
> 
>     def test_profile_and_display_results(qtbot, tmpdir):
>         """Run profiler on simple script and check that results are okay."""
>         os.chdir(tmpdir.strpath)
>         testfilename = tmpdir.join('test_foo.py').strpath
>     
>         with open(testfilename, 'w') as f:
>             f.write(TEST_SCRIPT)
>     
>         MockQMessageBox = Mock()
>     
>         widget = SpyderLineProfilerWidget(None)
>         with patch.object(widget, 'get_conf',
>                           return_value=sys.executable) as mock_get_conf:
>             widget.setup()
>             qtbot.addWidget(widget)
> >           with qtbot.waitSignal(widget.sig_finished, timeout=10000,
>                                   raising=True):
> E                                 pytestqt.exceptions.TimeoutError: Signal sig_finished() not emitted after 10000 ms
> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_spyder-line-profiler/build/spyder_line_profiler/tests/test_lineprofiler.py:50: TimeoutError
> _______________________ test_profile_and_display_results _______________________
> 
> qtbot = <pytestqt.qtbot.QtBot object at 0x7ff7d4f3e2a0>
> tmpdir = local('/tmp/pytest-of-user42/pytest-330/test_profile_and_display_resul1')
> 
>     def test_profile_and_display_results(qtbot, tmpdir):
>         """Run profiler on simple script and check that results are okay."""
>         os.chdir(tmpdir.strpath)
>         testfilename = tmpdir.join('test_foo.py').strpath
>     
>         with open(testfilename, 'w') as f:
>             f.write(TEST_SCRIPT)
>     
>         MockQMessageBox = Mock()
>     
>         widget = SpyderLineProfilerWidget(None)
>         with patch.object(widget, 'get_conf',
>                           return_value=sys.executable) as mock_get_conf:
>             widget.setup()
>             qtbot.addWidget(widget)
> >           with qtbot.waitSignal(widget.sig_finished, timeout=10000,
>                                   raising=True):
> E                                 pytestqt.exceptions.TimeoutError: Signal sig_finished() not emitted after 10000 ms
> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_spyder-line-profiler/build/tests/test_lineprofiler.py:50: TimeoutError
> =============================== warnings summary ===============================
> ../../../../../../usr/lib/python3/dist-packages/spyder/config/base.py:432
>   /usr/lib/python3/dist-packages/spyder/config/base.py:432: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead.
>     locale_language = locale.getdefaultlocale()[0]
> 
> ../../../../../../usr/lib/python3/dist-packages/babel/messages/catalog.py:13
>   /usr/lib/python3/dist-packages/babel/messages/catalog.py:13: DeprecationWarning: 'cgi' is deprecated and slated for removal in Python 3.13
>     from cgi import parse_header
> 
> ../../../../../../usr/lib/python3/dist-packages/spyder/utils/programs.py:27
>   /usr/lib/python3/dist-packages/spyder/utils/programs.py:27: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
>     import pkg_resources
> 
> ../../../../../../usr/lib/python3/dist-packages/pkg_resources/__init__.py:2871
>   /usr/lib/python3/dist-packages/pkg_resources/__init__.py:2871: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('logilab')`.
>   Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
>     declare_namespace(pkg)
> 
> ../../../../../../usr/lib/python3/dist-packages/pkg_resources/__init__.py:2871
>   /usr/lib/python3/dist-packages/pkg_resources/__init__.py:2871: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('ruamel')`.
>   Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
>     declare_namespace(pkg)
> 
> .pybuild/cpython3_3.12_spyder-line-profiler/build/tests/test_lineprofiler.py::test_profile_and_display_results
>   /usr/lib/python3/dist-packages/spyder/utils/registries.py:81: UserWarning: There already exists a reference <spyder.api.widgets.toolbars.MainWidgetToolbar object at 0x7ff7d51f27b0> with id main_toolbar under the context __global of plugin main. The new reference <spyder.api.widgets.toolbars.MainWidgetToolbar object at 0x7ff7d3464b90> will overwrite the previous reference. Hint: <spyder.api.widgets.toolbars.MainWidgetToolbar object at 0x7ff7d3464b90> should have a different id_. See 
>     warnings.warn(
> 
> .pybuild/cpython3_3.12_spyder-line-profiler/build/tests/test_lineprofiler.py::test_profile_and_display_results
>   /usr/lib/python3/dist-packages/spyder/utils/registries.py:81: UserWarning: There already exists a reference <spyder.api.widgets.toolbars.MainWidgetToolbar object at 0x7ff7d51f2b10> with id ('corner_toolbar',) under the context __global of plugin main. The new reference <spyder.api.widgets.toolbars.MainWidgetToolbar object at 0x7ff7d286c560> will overwrite the previous reference. Hint: <spyder.api.widgets.toolbars.MainWidgetToolbar object at 0x7ff7d286c560> should have a different id_. See 
>     warnings.warn(
> 
> .pybuild/cpython3_3.12_spyder-line-profiler/build/tests/test_lineprofiler.py::test_profile_and_display_results
>   /usr/lib/python3/dist-packages/spyder/utils/registries.py:81: UserWarning: There already exists a reference <spyder.api.widgets.menus.MainWidgetMenu object at 0x7ff7d51f2cc0> with id options_menu under the context __global of plugin main. The new reference <spyder.api.widgets.menus.MainWidgetMenu object at 0x7ff7d286c710> will overwrite the previous reference. Hint: <spyder.api.widgets.menus.MainWidgetMenu object at 0x7ff7d286c710> should have a different id_. See /usr/lib/python3/dist-packages/spyder/api/widgets/main_widget.py:273
>     warnings.warn(
> 
> .pybuild/cpython3_3.12_spyder-line-profiler/build/tests/test_lineprofiler.py::test_profile_and_display_results
>   /usr/lib/python3/dist-packages/spyder/utils/registries.py:81: UserWarning: There already exists a reference SpyderAction('Profile by line') with id run_action under the context __global of plugin main. The new reference SpyderAction('Profile by line') will overwrite the previous reference. Hint: SpyderAction('Profile by line') should have a different id_. See /usr/lib/python3/dist-packages/spyder/api/widgets/mixins.py:439, /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_spyder-line-profiler/build/spyder_line_profiler/spyder/widgets.py:218
>     warnings.warn(
> 
> .pybuild/cpython3_3.12_spyder-line-profiler/build/tests/test_lineprofiler.py::test_profile_and_display_results
>   /usr/lib/python3/dist-packages/spyder/utils/registries.py:81: UserWarning: There already exists a reference SpyderAction('Stop') with id stop_action under the context __global of plugin main. The new reference SpyderAction('Stop') will overwrite the previous reference. Hint: SpyderAction('Stop') should have a different id_. See /usr/lib/python3/dist-packages/spyder/api/widgets/mixins.py:439, /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_spyder-line-profiler/build/spyder_line_profiler/spyder/widgets.py:225
>     warnings.warn(
> 
> .pybuild/cpython3_3.12_spyder-line-profiler/build/tests/test_lineprofiler.py::test_profile_and_display_results
>   /usr/lib/python3/dist-packages/spyder/utils/registries.py:81: UserWarning: There already exists a reference SpyderAction('Open Script') with id browse_action under the context __global of plugin main. The new reference SpyderAction('Open Script') will overwrite the previous reference. Hint: SpyderAction('Open Script') should have a different id_. See /usr/lib/python3/dist-packages/spyder/api/widgets/mixins.py:439, /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_spyder-line-profiler/build/spyder_line_profiler/spyder/widgets.py:232
>     warnings.warn(
> 
> .pybuild/cpython3_3.12_spyder-line-profiler/build/tests/test_lineprofiler.py::test_profile_and_display_results
>   /usr/lib/python3/dist-packages/spyder/utils/registries.py:81: UserWarning: There already exists a reference SpyderAction('Show Result') with id show_output_action under the context __global of plugin main. The new reference SpyderAction('Show Result') will overwrite the previous reference. Hint: SpyderAction('Show Result') should have a different id_. See /usr/lib/python3/dist-packages/spyder/api/widgets/mixins.py:439, /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_spyder-line-profiler/build/spyder_line_profiler/spyder/widgets.py:239
>     warnings.warn(
> 
> .pybuild/cpython3_3.12_spyder-line-profiler/build/tests/test_lineprofiler.py::test_profile_and_display_results
>   /usr/lib/python3/dist-packages/spyder/utils/registries.py:81: UserWarning: There already exists a reference SpyderAction('Collaps') with id collapse_action under the context __global of plugin main. The new reference SpyderAction('Collaps') will overwrite the previous reference. Hint: SpyderAction('Collaps') should have a different id_. See /usr/lib/python3/dist-packages/spyder/api/widgets/mixins.py:439, /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_spyder-line-profiler/build/spyder_line_profiler/spyder/widgets.py:246
>     warnings.warn(
> 
> .pybuild/cpython3_3.12_spyder-line-profiler/build/tests/test_lineprofiler.py::test_profile_and_display_results
>   /usr/lib/python3/dist-packages/spyder/utils/registries.py:81: UserWarning: There already exists a reference SpyderAction('Expand') with id expand_action under the context __global of plugin main. The new reference SpyderAction('Expand') will overwrite the previous reference. Hint: SpyderAction('Expand') should have a different id_. See /usr/lib/python3/dist-packages/spyder/api/widgets/mixins.py:439, /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_spyder-line-profiler/build/spyder_line_profiler/spyder/widgets.py:253
>     warnings.warn(
> 
> .pybuild/cpython3_3.12_spyder-line-profiler/build/tests/test_lineprofiler.py::test_profile_and_display_results
>   /usr/lib/python3/dist-packages/spyder/utils/registries.py:81: UserWarning: There already exists a reference SpyderAction('Save data') with id save_data_action under the context __global of plugin main. The new reference SpyderAction('Save data') will overwrite the previous reference. Hint: SpyderAction('Save data') should have a different id_. See /usr/lib/python3/dist-packages/spyder/api/widgets/mixins.py:439, /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_spyder-line-profiler/build/spyder_line_profiler/spyder/widgets.py:260
>     warnings.warn(
> 
> .pybuild/cpython3_3.12_spyder-line-profiler/build/tests/test_lineprofiler.py::test_profile_and_display_results
>   /usr/lib/python3/dist-packages/spyder/utils/registries.py:81: UserWarning: There already exists a reference SpyderAction('Clear output') with id clear_action under the context __global of plugin main. The new reference SpyderAction('Clear output') will overwrite the previous reference. Hint: SpyderAction('Clear output') should have a different id_. See /usr/lib/python3/dist-packages/spyder/api/widgets/mixins.py:439, /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_spyder-line-profiler/build/spyder_line_profiler/spyder/widgets.py:267
>     warnings.warn(
> 
> .pybuild/cpython3_3.12_spyder-line-profiler/build/tests/test_lineprofiler.py::test_profile_and_display_results
>   /usr/lib/python3/dist-packages/spyder/utils/registries.py:81: UserWarning: There already exists a reference <spyder.api.widgets.toolbars.MainWidgetToolbar object at 0x7ff7d3464320> with id information_toolbar under the context __global of plugin main. The new reference <spyder.api.widgets.toolbars.MainWidgetToolbar object at 0x7ff7d286d1c0> will overwrite the previous reference. Hint: <spyder.api.widgets.toolbars.MainWidgetToolbar object at 0x7ff7d286d1c0> should have a different id_. See /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_spyder-line-profiler/build/spyder_line_profiler/spyder/widgets.py:292
>     warnings.warn(
> 
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> =========================== short test summary info ============================
> FAILED spyder_line_profiler/tests/test_lineprofiler.py::test_profile_and_display_results
> FAILED tests/test_lineprofiler.py::test_profile_and_display_results - pytestq...
> ======================= 2 failed, 17 warnings in 20.75s ========================
> E: pybuild pybuild:395: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_spyder-line-profiler/build; python3.12 -m pytest 
> I: pybuild base:310: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spyder-line-profiler/build; python3.11 -m pytest 
> ============================= test session starts ==============================
> platform linux -- Python 3.11.7, pytest-7.4.3, pluggy-1.3.0
> PyQt5 5.15.10 -- Qt runtime 5.15.10 -- Qt compiled 5.15.10
> rootdir: /<<PKGBUILDDIR>>
> plugins: xvfb-3.0.0, qt-4.2.0+repack
> collected 2 items
> 
> spyder_line_profiler/tests/test_lineprofiler.py .                        [ 50%]
> tests/test_lineprofiler.py .                                             [100%]
> 
> =============================== warnings summary ===============================
> ../../../../../../usr/lib/python3/dist-packages/spyder/config/base.py:432
>   /usr/lib/python3/dist-packages/spyder/config/base.py:432: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead.
>     locale_language = locale.getdefaultlocale()[0]
> 
> ../../../../../../usr/lib/python3/dist-packages/babel/messages/catalog.py:13
>   /usr/lib/python3/dist-packages/babel/messages/catalog.py:13: DeprecationWarning: 'cgi' is deprecated and slated for removal in Python 3.13
>     from cgi import parse_header
> 
> ../../../../../../usr/lib/python3/dist-packages/spyder/utils/programs.py:27
>   /usr/lib/python3/dist-packages/spyder/utils/programs.py:27: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
>     import pkg_resources
> 
> ../../../../../../usr/lib/python3/dist-packages/pkg_resources/__init__.py:2871
>   /usr/lib/python3/dist-packages/pkg_resources/__init__.py:2871: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('logilab')`.
>   Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
>     declare_namespace(pkg)
> 
> ../../../../../../usr/lib/python3/dist-packages/pkg_resources/__init__.py:2871
>   /usr/lib/python3/dist-packages/pkg_resources/__init__.py:2871: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('ruamel')`.
>   Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
>     declare_namespace(pkg)
> 
> .pybuild/cpython3_3.11_spyder-line-profiler/build/tests/test_lineprofiler.py::test_profile_and_display_results
>   /usr/lib/python3/dist-packages/spyder/utils/registries.py:81: UserWarning: There already exists a reference <spyder.api.widgets.toolbars.MainWidgetToolbar object at 0x7fb617607520> with id main_toolbar under the context __global of plugin main. The new reference <spyder.api.widgets.toolbars.MainWidgetToolbar object at 0x7fb615a6df30> will overwrite the previous reference. Hint: <spyder.api.widgets.toolbars.MainWidgetToolbar object at 0x7fb615a6df30> should have a different id_. See 
>     warnings.warn(
> 
> .pybuild/cpython3_3.11_spyder-line-profiler/build/tests/test_lineprofiler.py::test_profile_and_display_results
>   /usr/lib/python3/dist-packages/spyder/utils/registries.py:81: UserWarning: There already exists a reference <spyder.api.widgets.toolbars.MainWidgetToolbar object at 0x7fb617607880> with id ('corner_toolbar',) under the context __global of plugin main. The new reference <spyder.api.widgets.toolbars.MainWidgetToolbar object at 0x7fb614c32290> will overwrite the previous reference. Hint: <spyder.api.widgets.toolbars.MainWidgetToolbar object at 0x7fb614c32290> should have a different id_. See 
>     warnings.warn(
> 
> .pybuild/cpython3_3.11_spyder-line-profiler/build/tests/test_lineprofiler.py::test_profile_and_display_results
>   /usr/lib/python3/dist-packages/spyder/utils/registries.py:81: UserWarning: There already exists a reference <spyder.api.widgets.menus.MainWidgetMenu object at 0x7fb617607a30> with id options_menu under the context __global of plugin main. The new reference <spyder.api.widgets.menus.MainWidgetMenu object at 0x7fb614c32440> will overwrite the previous reference. Hint: <spyder.api.widgets.menus.MainWidgetMenu object at 0x7fb614c32440> should have a different id_. See /usr/lib/python3/dist-packages/spyder/api/widgets/main_widget.py:273
>     warnings.warn(
> 
> .pybuild/cpython3_3.11_spyder-line-profiler/build/tests/test_lineprofiler.py::test_profile_and_display_results
>   /usr/lib/python3/dist-packages/spyder/utils/registries.py:81: UserWarning: There already exists a reference SpyderAction('Profile by line') with id run_action under the context __global of plugin main. The new reference SpyderAction('Profile by line') will overwrite the previous reference. Hint: SpyderAction('Profile by line') should have a different id_. See /usr/lib/python3/dist-packages/spyder/api/widgets/mixins.py:439, /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spyder-line-profiler/build/spyder_line_profiler/spyder/widgets.py:218
>     warnings.warn(
> 
> .pybuild/cpython3_3.11_spyder-line-profiler/build/tests/test_lineprofiler.py::test_profile_and_display_results
>   /usr/lib/python3/dist-packages/spyder/utils/registries.py:81: UserWarning: There already exists a reference SpyderAction('Stop') with id stop_action under the context __global of plugin main. The new reference SpyderAction('Stop') will overwrite the previous reference. Hint: SpyderAction('Stop') should have a different id_. See /usr/lib/python3/dist-packages/spyder/api/widgets/mixins.py:439, /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spyder-line-profiler/build/spyder_line_profiler/spyder/widgets.py:225
>     warnings.warn(
> 
> .pybuild/cpython3_3.11_spyder-line-profiler/build/tests/test_lineprofiler.py::test_profile_and_display_results
>   /usr/lib/python3/dist-packages/spyder/utils/registries.py:81: UserWarning: There already exists a reference SpyderAction('Open Script') with id browse_action under the context __global of plugin main. The new reference SpyderAction('Open Script') will overwrite the previous reference. Hint: SpyderAction('Open Script') should have a different id_. See /usr/lib/python3/dist-packages/spyder/api/widgets/mixins.py:439, /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spyder-line-profiler/build/spyder_line_profiler/spyder/widgets.py:232
>     warnings.warn(
> 
> .pybuild/cpython3_3.11_spyder-line-profiler/build/tests/test_lineprofiler.py::test_profile_and_display_results
>   /usr/lib/python3/dist-packages/spyder/utils/registries.py:81: UserWarning: There already exists a reference SpyderAction('Show Result') with id show_output_action under the context __global of plugin main. The new reference SpyderAction('Show Result') will overwrite the previous reference. Hint: SpyderAction('Show Result') should have a different id_. See /usr/lib/python3/dist-packages/spyder/api/widgets/mixins.py:439, /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spyder-line-profiler/build/spyder_line_profiler/spyder/widgets.py:239
>     warnings.warn(
> 
> .pybuild/cpython3_3.11_spyder-line-profiler/build/tests/test_lineprofiler.py::test_profile_and_display_results
>   /usr/lib/python3/dist-packages/spyder/utils/registries.py:81: UserWarning: There already exists a reference SpyderAction('Collaps') with id collapse_action under the context __global of plugin main. The new reference SpyderAction('Collaps') will overwrite the previous reference. Hint: SpyderAction('Collaps') should have a different id_. See /usr/lib/python3/dist-packages/spyder/api/widgets/mixins.py:439, /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spyder-line-profiler/build/spyder_line_profiler/spyder/widgets.py:246
>     warnings.warn(
> 
> .pybuild/cpython3_3.11_spyder-line-profiler/build/tests/test_lineprofiler.py::test_profile_and_display_results
>   /usr/lib/python3/dist-packages/spyder/utils/registries.py:81: UserWarning: There already exists a reference SpyderAction('Expand') with id expand_action under the context __global of plugin main. The new reference SpyderAction('Expand') will overwrite the previous reference. Hint: SpyderAction('Expand') should have a different id_. See /usr/lib/python3/dist-packages/spyder/api/widgets/mixins.py:439, /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spyder-line-profiler/build/spyder_line_profiler/spyder/widgets.py:253
>     warnings.warn(
> 
> .pybuild/cpython3_3.11_spyder-line-profiler/build/tests/test_lineprofiler.py::test_profile_and_display_results
>   /usr/lib/python3/dist-packages/spyder/utils/registries.py:81: UserWarning: There already exists a reference SpyderAction('Save data') with id save_data_action under the context __global of plugin main. The new reference SpyderAction('Save data') will overwrite the previous reference. Hint: SpyderAction('Save data') should have a different id_. See /usr/lib/python3/dist-packages/spyder/api/widgets/mixins.py:439, /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spyder-line-profiler/build/spyder_line_profiler/spyder/widgets.py:260
>     warnings.warn(
> 
> .pybuild/cpython3_3.11_spyder-line-profiler/build/tests/test_lineprofiler.py::test_profile_and_display_results
>   /usr/lib/python3/dist-packages/spyder/utils/registries.py:81: UserWarning: There already exists a reference SpyderAction('Clear output') with id clear_action under the context __global of plugin main. The new reference SpyderAction('Clear output') will overwrite the previous reference. Hint: SpyderAction('Clear output') should have a different id_. See /usr/lib/python3/dist-packages/spyder/api/widgets/mixins.py:439, /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spyder-line-profiler/build/spyder_line_profiler/spyder/widgets.py:267
>     warnings.warn(
> 
> .pybuild/cpython3_3.11_spyder-line-profiler/build/tests/test_lineprofiler.py::test_profile_and_display_results
>   /usr/lib/python3/dist-packages/spyder/utils/registries.py:81: UserWarning: There already exists a reference <spyder.api.widgets.toolbars.MainWidgetToolbar object at 0x7fb615a6d090> with id information_toolbar under the context __global of plugin main. The new reference <spyder.api.widgets.toolbars.MainWidgetToolbar object at 0x7fb614c336d0> will overwrite the previous reference. Hint: <spyder.api.widgets.toolbars.MainWidgetToolbar object at 0x7fb614c336d0> should have a different id_. See /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spyder-line-profiler/build/spyder_line_profiler/spyder/widgets.py:292
>     warnings.warn(
> 
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> ======================== 2 passed, 17 warnings in 3.47s ========================
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 3.11" returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2023/12/12/spyder-line-profiler_0.3.2-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20231212;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20231212&fusertaguser=lucas@debian.org&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.



More information about the debian-science-maintainers mailing list