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

Santiago Vila sanvila at debian.org
Tue Dec 16 19:50:46 GMT 2025


Package: src:spyder-line-profiler
Version: 0.4.1-1
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202512/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:spyder-line-profiler, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
I: pybuild base:317: python3.14 setup.py clean 
/<<PKGBUILDDIR>>/setup.py:22: DeprecationWarning: codecs.open() is deprecated. Use open() instead.
  with codecs.open("spyder_line_profiler/__init__.py", encoding="utf-8") as f:
/usr/lib/python3/dist-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        ********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX license expression:

        License :: OSI Approved :: MIT License

        See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
        ********************************************************************************

!!
  self._finalize_license_expression()
running clean
removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_spyder-line-profiler/build' (and everything under it)
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-3.14' does not exist -- can't clean it
I: pybuild base:317: python3.13 setup.py clean 
/usr/lib/python3/dist-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        ********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX license expression:

        License :: OSI Approved :: MIT License

        See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
        ********************************************************************************

!!
  self._finalize_license_expression()
running clean
removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_spyder-line-profiler/build' (and everything under it)
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-3.13' does not exist -- can't clean it
   dh_autoreconf_clean -O--buildsystem=pybuild
   dh_clean -O--buildsystem=pybuild
 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:317: python3.14 setup.py config 
/<<PKGBUILDDIR>>/setup.py:22: DeprecationWarning: codecs.open() is deprecated. Use open() instead.
  with codecs.open("spyder_line_profiler/__init__.py", encoding="utf-8") as f:
/usr/lib/python3/dist-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        ********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX license expression:

        License :: OSI Approved :: MIT License

        See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
        ********************************************************************************

!!
  self._finalize_license_expression()
running config
I: pybuild base:317: python3.13 setup.py config 
/usr/lib/python3/dist-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        ********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX license expression:

        License :: OSI Approved :: MIT License

        See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
        ********************************************************************************

!!
  self._finalize_license_expression()
running config
   dh_auto_build -O--buildsystem=pybuild
I: pybuild base:317: /usr/bin/python3.14 setup.py build 
/<<PKGBUILDDIR>>/setup.py:22: DeprecationWarning: codecs.open() is deprecated. Use open() instead.
  with codecs.open("spyder_line_profiler/__init__.py", encoding="utf-8") as f:
/usr/lib/python3/dist-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        ********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX license expression:

        License :: OSI Approved :: MIT License

        See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
        ********************************************************************************

!!
  self._finalize_license_expression()
running build
running build_py
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_spyder-line-profiler/build/spyder_line_profiler
copying spyder_line_profiler/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_spyder-line-profiler/build/spyder_line_profiler
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_spyder-line-profiler/build/spyder_line_profiler/example
copying spyder_line_profiler/example/profiling_test_script.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_spyder-line-profiler/build/spyder_line_profiler/example
copying spyder_line_profiler/example/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_spyder-line-profiler/build/spyder_line_profiler/example
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_spyder-line-profiler/build/spyder_line_profiler/spyder
copying spyder_line_profiler/spyder/plugin.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_spyder-line-profiler/build/spyder_line_profiler/spyder
copying spyder_line_profiler/spyder/confpage.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_spyder-line-profiler/build/spyder_line_profiler/spyder
copying spyder_line_profiler/spyder/config.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_spyder-line-profiler/build/spyder_line_profiler/spyder
copying spyder_line_profiler/spyder/widgets.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_spyder-line-profiler/build/spyder_line_profiler/spyder
copying spyder_line_profiler/spyder/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_spyder-line-profiler/build/spyder_line_profiler/spyder
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_spyder-line-profiler/build/spyder_line_profiler/tests
copying spyder_line_profiler/tests/test_lineprofiler.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_spyder-line-profiler/build/spyder_line_profiler/tests
copying spyder_line_profiler/tests/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_spyder-line-profiler/build/spyder_line_profiler/tests
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_spyder-line-profiler/build/spyder_line_profiler/example/subdir
copying spyder_line_profiler/example/subdir/profiling_test_script2.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_spyder-line-profiler/build/spyder_line_profiler/example/subdir
copying spyder_line_profiler/example/subdir/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_spyder-line-profiler/build/spyder_line_profiler/example/subdir
I: pybuild base:317: /usr/bin/python3 setup.py build 
/usr/lib/python3/dist-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        ********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX license expression:

        License :: OSI Approved :: MIT License

        See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
        ********************************************************************************

!!
  self._finalize_license_expression()
running build
running build_py
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_spyder-line-profiler/build/spyder_line_profiler
copying spyder_line_profiler/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_spyder-line-profiler/build/spyder_line_profiler
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_spyder-line-profiler/build/spyder_line_profiler/example
copying spyder_line_profiler/example/profiling_test_script.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_spyder-line-profiler/build/spyder_line_profiler/example
copying spyder_line_profiler/example/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_spyder-line-profiler/build/spyder_line_profiler/example
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_spyder-line-profiler/build/spyder_line_profiler/spyder
copying spyder_line_profiler/spyder/plugin.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_spyder-line-profiler/build/spyder_line_profiler/spyder
copying spyder_line_profiler/spyder/confpage.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_spyder-line-profiler/build/spyder_line_profiler/spyder
copying spyder_line_profiler/spyder/config.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_spyder-line-profiler/build/spyder_line_profiler/spyder
copying spyder_line_profiler/spyder/widgets.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_spyder-line-profiler/build/spyder_line_profiler/spyder
copying spyder_line_profiler/spyder/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_spyder-line-profiler/build/spyder_line_profiler/spyder
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_spyder-line-profiler/build/spyder_line_profiler/tests
copying spyder_line_profiler/tests/test_lineprofiler.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_spyder-line-profiler/build/spyder_line_profiler/tests
copying spyder_line_profiler/tests/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_spyder-line-profiler/build/spyder_line_profiler/tests
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_spyder-line-profiler/build/spyder_line_profiler/example/subdir
copying spyder_line_profiler/example/subdir/profiling_test_script2.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_spyder-line-profiler/build/spyder_line_profiler/example/subdir
copying spyder_line_profiler/example/subdir/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_spyder-line-profiler/build/spyder_line_profiler/example/subdir
   dh_auto_test -O--buildsystem=pybuild
I: pybuild base:317: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_spyder-line-profiler/build; python3.14 -m pytest 
============================= test session starts ==============================
platform linux -- Python 3.14.2, pytest-9.0.2, pluggy-1.6.0
PyQt5 5.15.11 -- Qt runtime 5.15.17 -- Qt compiled 5.15.17
rootdir: /<<PKGBUILDDIR>>
plugins: qt-4.4.0, xvfb-3.0.0, typeguard-4.4.4
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 0x7f1af7838980>
tmpdir = local('/tmp/pytest-of-sbuild/pytest-0/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', encoding='utf-8') as f:
            f.write(TEST_SCRIPT)
    
        widget = SpyderLineProfilerWidget(None)
        with patch.object(widget, 'get_conf',
                          return_value=sys.executable) as mock_get_conf, \
             patch('spyder_line_profiler.spyder.widgets.TextEditor') \
             as MockTextEditor:
    
            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.14_spyder-line-profiler/build/spyder_line_profiler/tests/test_lineprofiler.py:51: TimeoutError
----------------------------- Captured stdout call -----------------------------
Warning: None of the following fonts is installed: ['']
_______________________ test_profile_and_display_results _______________________

qtbot = <pytestqt.qtbot.QtBot object at 0x7f1af77e1f90>
tmpdir = local('/tmp/pytest-of-sbuild/pytest-0/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', encoding='utf-8') as f:
            f.write(TEST_SCRIPT)
    
        widget = SpyderLineProfilerWidget(None)
        with patch.object(widget, 'get_conf',
                          return_value=sys.executable) as mock_get_conf, \
             patch('spyder_line_profiler.spyder.widgets.TextEditor') \
             as MockTextEditor:
    
            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.14_spyder-line-profiler/build/tests/test_lineprofiler.py:51: TimeoutError
=============================== warnings summary ===============================
../../../../../../usr/lib/python3/dist-packages/spyder/config/base.py:441
  /usr/lib/python3/dist-packages/spyder/config/base.py:441: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead.
    locale_language = locale.getdefaultlocale()[0]

.pybuild/cpython3_3.14_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 0x7f1af790bf50> with id main_toolbar under the context __global of plugin main. The new reference <spyder.api.widgets.toolbars.MainWidgetToolbar object at 0x7f1af787a7b0> will overwrite the previous reference. Hint: <spyder.api.widgets.toolbars.MainWidgetToolbar object at 0x7f1af787a7b0> should have a different id_. See 
    warnings.warn(

.pybuild/cpython3_3.14_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 0x7f1af78783b0> with id corner_toolbar under the context __global of plugin main. The new reference <spyder.api.widgets.toolbars.MainWidgetToolbar object at 0x7f1af787a9f0> will overwrite the previous reference. Hint: <spyder.api.widgets.toolbars.MainWidgetToolbar object at 0x7f1af787a9f0> should have a different id_. See 
    warnings.warn(

.pybuild/cpython3_3.14_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 SpyderMenu('options_menu') with id options_menu under the context __global of plugin main. The new reference SpyderMenu('options_menu') will overwrite the previous reference. Hint: SpyderMenu('options_menu') should have a different id_. See /usr/lib/python3/dist-packages/spyder/api/widgets/main_widget.py:280
    warnings.warn(

.pybuild/cpython3_3.14_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:531, /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_spyder-line-profiler/build/spyder_line_profiler/spyder/widgets.py:215
    warnings.warn(

.pybuild/cpython3_3.14_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:531, /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_spyder-line-profiler/build/spyder_line_profiler/spyder/widgets.py:222
    warnings.warn(

.pybuild/cpython3_3.14_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:531, /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_spyder-line-profiler/build/spyder_line_profiler/spyder/widgets.py:229
    warnings.warn(

.pybuild/cpython3_3.14_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:531, /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_spyder-line-profiler/build/spyder_line_profiler/spyder/widgets.py:236
    warnings.warn(

.pybuild/cpython3_3.14_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:531, /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_spyder-line-profiler/build/spyder_line_profiler/spyder/widgets.py:243
    warnings.warn(

.pybuild/cpython3_3.14_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:531, /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_spyder-line-profiler/build/spyder_line_profiler/spyder/widgets.py:250
    warnings.warn(

.pybuild/cpython3_3.14_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:531, /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_spyder-line-profiler/build/spyder_line_profiler/spyder/widgets.py:257
    warnings.warn(

.pybuild/cpython3_3.14_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:531, /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_spyder-line-profiler/build/spyder_line_profiler/spyder/widgets.py:264
    warnings.warn(

.pybuild/cpython3_3.14_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 0x7f1af7879f40> with id information_toolbar under the context __global of plugin main. The new reference <spyder.api.widgets.toolbars.MainWidgetToolbar object at 0x7f1af54ab920> will overwrite the previous reference. Hint: <spyder.api.widgets.toolbars.MainWidgetToolbar object at 0x7f1af54ab920> should have a different id_. See /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_spyder-line-profiler/build/spyder_line_profiler/spyder/widgets.py:289
    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, 13 warnings in 20.11s ========================
E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_spyder-line-profiler/build; python3.14 -m pytest 
I: pybuild base:317: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_spyder-line-profiler/build; python3.13 -m pytest 
============================= test session starts ==============================
platform linux -- Python 3.13.11, pytest-9.0.2, pluggy-1.6.0
PyQt5 5.15.11 -- Qt runtime 5.15.17 -- Qt compiled 5.15.17
rootdir: /<<PKGBUILDDIR>>
plugins: qt-4.4.0, xvfb-3.0.0, typeguard-4.4.4
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:441
  /usr/lib/python3/dist-packages/spyder/config/base.py:441: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead.
    locale_language = locale.getdefaultlocale()[0]

.pybuild/cpython3_3.13_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 0x7f23987cecc0> with id main_toolbar under the context __global of plugin main. The new reference <spyder.api.widgets.toolbars.MainWidgetToolbar object at 0x7f23970baf90> will overwrite the previous reference. Hint: <spyder.api.widgets.toolbars.MainWidgetToolbar object at 0x7f23970baf90> should have a different id_. See 
    warnings.warn(

.pybuild/cpython3_3.13_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 0x7f23987cf0b0> with id corner_toolbar under the context __global of plugin main. The new reference <spyder.api.widgets.toolbars.MainWidgetToolbar object at 0x7f239643b1d0> will overwrite the previous reference. Hint: <spyder.api.widgets.toolbars.MainWidgetToolbar object at 0x7f239643b1d0> should have a different id_. See 
    warnings.warn(

.pybuild/cpython3_3.13_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 SpyderMenu('options_menu') with id options_menu under the context __global of plugin main. The new reference SpyderMenu('options_menu') will overwrite the previous reference. Hint: SpyderMenu('options_menu') should have a different id_. See /usr/lib/python3/dist-packages/spyder/api/widgets/main_widget.py:280
    warnings.warn(

.pybuild/cpython3_3.13_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:531, /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_spyder-line-profiler/build/spyder_line_profiler/spyder/widgets.py:215
    warnings.warn(

.pybuild/cpython3_3.13_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:531, /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_spyder-line-profiler/build/spyder_line_profiler/spyder/widgets.py:222
    warnings.warn(

.pybuild/cpython3_3.13_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:531, /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_spyder-line-profiler/build/spyder_line_profiler/spyder/widgets.py:229
    warnings.warn(

.pybuild/cpython3_3.13_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:531, /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_spyder-line-profiler/build/spyder_line_profiler/spyder/widgets.py:236
    warnings.warn(

.pybuild/cpython3_3.13_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:531, /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_spyder-line-profiler/build/spyder_line_profiler/spyder/widgets.py:243
    warnings.warn(

.pybuild/cpython3_3.13_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:531, /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_spyder-line-profiler/build/spyder_line_profiler/spyder/widgets.py:250
    warnings.warn(

.pybuild/cpython3_3.13_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:531, /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_spyder-line-profiler/build/spyder_line_profiler/spyder/widgets.py:257
    warnings.warn(

.pybuild/cpython3_3.13_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:531, /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_spyder-line-profiler/build/spyder_line_profiler/spyder/widgets.py:264
    warnings.warn(

.pybuild/cpython3_3.13_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 0x7f23970b8cb0> with id information_toolbar under the context __global of plugin main. The new reference <spyder.api.widgets.toolbars.MainWidgetToolbar object at 0x7f23961fc200> will overwrite the previous reference. Hint: <spyder.api.widgets.toolbars.MainWidgetToolbar object at 0x7f23961fc200> should have a different id_. See /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_spyder-line-profiler/build/spyder_line_profiler/spyder/widgets.py:289
    warnings.warn(

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
======================== 2 passed, 13 warnings in 3.04s ========================
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.14 3.13" returned exit code 13
make: *** [debian/rules:9: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------



More information about the debian-science-maintainers mailing list