Package: src:spyder-memory-profiler
Version: 0.2.1-1
Severity: serious
Tags: ftbfs

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
 debian/rules build
dh build --buildsystem=pybuild
   dh_update_autotools_config -O--buildsystem=pybuild
   dh_autoreconf -O--buildsystem=pybuild
   dh_auto_configure -O--buildsystem=pybuild
I: pybuild base:311: python3.12 setup.py config
running config
I: pybuild base:311: python3.11 setup.py config
running config
   dh_auto_build -O--buildsystem=pybuild
I: pybuild base:311: /usr/bin/python3.12 setup.py build
running build
running build_py
creating 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_spyder-memory-profiler/build/spyder_memory_profiler
copying spyder_memory_profiler/memoryprofiler.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_spyder-memory-profiler/build/spyder_memory_profiler
copying spyder_memory_profiler/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_spyder-memory-profiler/build/spyder_memory_profiler
creating 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_spyder-memory-profiler/build/spyder_memory_profiler/example
copying spyder_memory_profiler/example/profiling_test_script.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_spyder-memory-profiler/build/spyder_memory_profiler/example
copying spyder_memory_profiler/example/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_spyder-memory-profiler/build/spyder_memory_profiler/example
creating 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_spyder-memory-profiler/build/spyder_memory_profiler/data
copying spyder_memory_profiler/data/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_spyder-memory-profiler/build/spyder_memory_profiler/data
creating 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_spyder-memory-profiler/build/spyder_memory_profiler/widgets
copying spyder_memory_profiler/widgets/memoryprofiler.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_spyder-memory-profiler/build/spyder_memory_profiler/widgets
copying spyder_memory_profiler/widgets/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_spyder-memory-profiler/build/spyder_memory_profiler/widgets
creating 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_spyder-memory-profiler/build/spyder_memory_profiler/example/subdir
copying spyder_memory_profiler/example/subdir/profiling_test_script2.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_spyder-memory-profiler/build/spyder_memory_profiler/example/subdir
copying spyder_memory_profiler/example/subdir/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_spyder-memory-profiler/build/spyder_memory_profiler/example/subdir
creating 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_spyder-memory-profiler/build/spyder_memory_profiler/data/images
copying spyder_memory_profiler/data/images/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_spyder-memory-profiler/build/spyder_memory_profiler/data/images
creating 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_spyder-memory-profiler/build/spyder_memory_profiler/widgets/tests
copying spyder_memory_profiler/widgets/tests/test_memoryprofiler.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_spyder-memory-profiler/build/spyder_memory_profiler/widgets/tests
copying spyder_memory_profiler/widgets/tests/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_spyder-memory-profiler/build/spyder_memory_profiler/widgets/tests
copying spyder_memory_profiler/data/images/spyder.memory_profiler.png -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_spyder-memory-profiler/build/spyder_memory_profiler/data/images
I: pybuild base:311: /usr/bin/python3 setup.py build
running build
running build_py
creating 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spyder-memory-profiler/build/spyder_memory_profiler
copying spyder_memory_profiler/memoryprofiler.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spyder-memory-profiler/build/spyder_memory_profiler
copying spyder_memory_profiler/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spyder-memory-profiler/build/spyder_memory_profiler
creating 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spyder-memory-profiler/build/spyder_memory_profiler/example
copying spyder_memory_profiler/example/profiling_test_script.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spyder-memory-profiler/build/spyder_memory_profiler/example
copying spyder_memory_profiler/example/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spyder-memory-profiler/build/spyder_memory_profiler/example
creating 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spyder-memory-profiler/build/spyder_memory_profiler/data
copying spyder_memory_profiler/data/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spyder-memory-profiler/build/spyder_memory_profiler/data
creating 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spyder-memory-profiler/build/spyder_memory_profiler/widgets
copying spyder_memory_profiler/widgets/memoryprofiler.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spyder-memory-profiler/build/spyder_memory_profiler/widgets
copying spyder_memory_profiler/widgets/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spyder-memory-profiler/build/spyder_memory_profiler/widgets
creating 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spyder-memory-profiler/build/spyder_memory_profiler/example/subdir
copying spyder_memory_profiler/example/subdir/profiling_test_script2.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spyder-memory-profiler/build/spyder_memory_profiler/example/subdir
copying spyder_memory_profiler/example/subdir/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spyder-memory-profiler/build/spyder_memory_profiler/example/subdir
creating 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spyder-memory-profiler/build/spyder_memory_profiler/data/images
copying spyder_memory_profiler/data/images/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spyder-memory-profiler/build/spyder_memory_profiler/data/images
creating 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spyder-memory-profiler/build/spyder_memory_profiler/widgets/tests
copying spyder_memory_profiler/widgets/tests/test_memoryprofiler.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spyder-memory-profiler/build/spyder_memory_profiler/widgets/tests
copying spyder_memory_profiler/widgets/tests/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spyder-memory-profiler/build/spyder_memory_profiler/widgets/tests
copying spyder_memory_profiler/data/images/spyder.memory_profiler.png -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spyder-memory-profiler/build/spyder_memory_profiler/data/images
   dh_auto_test -O--buildsystem=pybuild
I: pybuild base:311: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_spyder-memory-profiler/build; 
python3.12 -m pytest
============================= test session starts ==============================
platform linux -- Python 3.12.3, pytest-8.1.2, pluggy-1.5.0
PyQt5 5.15.10 -- Qt runtime 5.15.13 -- Qt compiled 5.15.13
rootdir: /<<PKGBUILDDIR>>
plugins: xvfb-3.0.0, qt-4.3.1
collected 0 items / 1 error

==================================== ERRORS ====================================
_ ERROR collecting 
.pybuild/cpython3_3.12_spyder-memory-profiler/build/spyder_memory_profiler/widgets/tests/test_memoryprofiler.py
 _
ImportError while importing test module 
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_spyder-memory-profiler/build/spyder_memory_profiler/widgets/tests/test_memoryprofiler.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.12/importlib/__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
spyder_memory_profiler/__init__.py:12: in <module>
    from .memoryprofiler import MemoryProfiler
spyder_memory_profiler/memoryprofiler.py:20: in <module>
    from spyder.utils.qthelpers import get_icon, create_action
E   ImportError: cannot import name 'get_icon' from 'spyder.utils.qthelpers' 
(/usr/lib/python3/dist-packages/spyder/utils/qthelpers.py)
=============================== 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/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)

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
ERROR spyder_memory_profiler/widgets/tests/test_memoryprofiler.py
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
========================= 3 warnings, 1 error in 1.44s =========================
E: pybuild pybuild:389: test: plugin distutils failed with: exit code=2: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_spyder-memory-profiler/build; 
python3.12 -m pytest
I: pybuild base:311: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spyder-memory-profiler/build; 
python3.11 -m pytest
============================= test session starts ==============================
platform linux -- Python 3.11.9, pytest-8.1.2, pluggy-1.5.0
PyQt5 5.15.10 -- Qt runtime 5.15.13 -- Qt compiled 5.15.13
rootdir: /<<PKGBUILDDIR>>
plugins: xvfb-3.0.0, qt-4.3.1
collected 0 items / 1 error

==================================== ERRORS ====================================
_ ERROR collecting 
.pybuild/cpython3_3.11_spyder-memory-profiler/build/spyder_memory_profiler/widgets/tests/test_memoryprofiler.py
 _
ImportError while importing test module 
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spyder-memory-profiler/build/spyder_memory_profiler/widgets/tests/test_memoryprofiler.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.11/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
spyder_memory_profiler/__init__.py:12: in <module>
    from .memoryprofiler import MemoryProfiler
spyder_memory_profiler/memoryprofiler.py:20: in <module>
    from spyder.utils.qthelpers import get_icon, create_action
E   ImportError: cannot import name 'get_icon' from 'spyder.utils.qthelpers' 
(/usr/lib/python3/dist-packages/spyder/utils/qthelpers.py)
=============================== 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/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)

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
ERROR spyder_memory_profiler/widgets/tests/test_memoryprofiler.py
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
========================= 3 warnings, 1 error in 1.86s =========================
E: pybuild pybuild:389: test: plugin distutils failed with: exit code=2: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_spyder-memory-profiler/build; 
python3.11 -m pytest
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 
3.11" returned exit code 13
make: *** [debian/rules:9: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

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

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

If you could not 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 affects, so that this is still visible in the BTS web
page for this package.

Thanks.

--
debian-science-maintainers mailing list
debian-science-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to