Source: python-stack-data
Version: 0.6.2-3
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@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
>    dh_auto_build -O--buildsystem=pybuild
> I: pybuild plugin_pyproject:110: Building wheel for python3.12 with "build" 
> module
> I: pybuild base:310: python3.12 -m build --skip-dependency-check 
> --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12 
> * Building wheel...
> running bdist_wheel
> running build
> running build_py
> creating build
> creating build/lib
> creating build/lib/stack_data
> copying stack_data/utils.py -> build/lib/stack_data
> copying stack_data/__init__.py -> build/lib/stack_data
> copying stack_data/version.py -> build/lib/stack_data
> copying stack_data/serializing.py -> build/lib/stack_data
> copying stack_data/formatting.py -> build/lib/stack_data
> copying stack_data/core.py -> build/lib/stack_data
> running egg_info
> creating stack_data.egg-info
> writing stack_data.egg-info/PKG-INFO
> writing dependency_links to stack_data.egg-info/dependency_links.txt
> writing requirements to stack_data.egg-info/requires.txt
> writing top-level names to stack_data.egg-info/top_level.txt
> writing manifest file 'stack_data.egg-info/SOURCES.txt'
> reading manifest file 'stack_data.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> adding license file 'LICENSE.txt'
> writing manifest file 'stack_data.egg-info/SOURCES.txt'
> copying stack_data/py.typed -> build/lib/stack_data
> installing to build/bdist.linux-x86_64/wheel
> running install
> running install_lib
> creating build/bdist.linux-x86_64
> creating build/bdist.linux-x86_64/wheel
> creating build/bdist.linux-x86_64/wheel/stack_data
> copying build/lib/stack_data/utils.py -> 
> build/bdist.linux-x86_64/wheel/stack_data
> copying build/lib/stack_data/__init__.py -> 
> build/bdist.linux-x86_64/wheel/stack_data
> copying build/lib/stack_data/version.py -> 
> build/bdist.linux-x86_64/wheel/stack_data
> copying build/lib/stack_data/py.typed -> 
> build/bdist.linux-x86_64/wheel/stack_data
> copying build/lib/stack_data/serializing.py -> 
> build/bdist.linux-x86_64/wheel/stack_data
> copying build/lib/stack_data/formatting.py -> 
> build/bdist.linux-x86_64/wheel/stack_data
> copying build/lib/stack_data/core.py -> 
> build/bdist.linux-x86_64/wheel/stack_data
> running install_egg_info
> Copying stack_data.egg-info to 
> build/bdist.linux-x86_64/wheel/stack_data-0.6.2.egg-info
> running install_scripts
> creating build/bdist.linux-x86_64/wheel/stack_data-0.6.2.dist-info/WHEEL
> creating 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/.tmp-oo59r2bm/stack_data-0.6.2-py3-none-any.whl'
>  and adding 'build/bdist.linux-x86_64/wheel' to it
> adding 'stack_data/__init__.py'
> adding 'stack_data/core.py'
> adding 'stack_data/formatting.py'
> adding 'stack_data/py.typed'
> adding 'stack_data/serializing.py'
> adding 'stack_data/utils.py'
> adding 'stack_data/version.py'
> adding 'stack_data-0.6.2.dist-info/LICENSE.txt'
> adding 'stack_data-0.6.2.dist-info/METADATA'
> adding 'stack_data-0.6.2.dist-info/WHEEL'
> adding 'stack_data-0.6.2.dist-info/top_level.txt'
> adding 'stack_data-0.6.2.dist-info/RECORD'
> removing build/bdist.linux-x86_64/wheel
> Successfully built stack_data-0.6.2-py3-none-any.whl
> I: pybuild plugin_pyproject:122: Unpacking wheel built for python3.12 with 
> "installer" module
> I: pybuild plugin_pyproject:110: Building wheel for python3.11 with "build" 
> module
> I: pybuild base:310: python3.11 -m build --skip-dependency-check 
> --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11 
> * Building wheel...
> running bdist_wheel
> running build
> running build_py
> copying stack_data/version.py -> build/lib/stack_data
> running egg_info
> writing stack_data.egg-info/PKG-INFO
> writing dependency_links to stack_data.egg-info/dependency_links.txt
> writing requirements to stack_data.egg-info/requires.txt
> writing top-level names to stack_data.egg-info/top_level.txt
> reading manifest file 'stack_data.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> adding license file 'LICENSE.txt'
> writing manifest file 'stack_data.egg-info/SOURCES.txt'
> installing to build/bdist.linux-x86_64/wheel
> running install
> running install_lib
> creating build/bdist.linux-x86_64/wheel
> creating build/bdist.linux-x86_64/wheel/stack_data
> copying build/lib/stack_data/utils.py -> 
> build/bdist.linux-x86_64/wheel/stack_data
> copying build/lib/stack_data/__init__.py -> 
> build/bdist.linux-x86_64/wheel/stack_data
> copying build/lib/stack_data/version.py -> 
> build/bdist.linux-x86_64/wheel/stack_data
> copying build/lib/stack_data/py.typed -> 
> build/bdist.linux-x86_64/wheel/stack_data
> copying build/lib/stack_data/serializing.py -> 
> build/bdist.linux-x86_64/wheel/stack_data
> copying build/lib/stack_data/formatting.py -> 
> build/bdist.linux-x86_64/wheel/stack_data
> copying build/lib/stack_data/core.py -> 
> build/bdist.linux-x86_64/wheel/stack_data
> running install_egg_info
> Copying stack_data.egg-info to 
> build/bdist.linux-x86_64/wheel/stack_data-0.6.2.egg-info
> running install_scripts
> creating build/bdist.linux-x86_64/wheel/stack_data-0.6.2.dist-info/WHEEL
> creating 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/.tmp-ltedw1bv/stack_data-0.6.2-py3-none-any.whl'
>  and adding 'build/bdist.linux-x86_64/wheel' to it
> adding 'stack_data/__init__.py'
> adding 'stack_data/core.py'
> adding 'stack_data/formatting.py'
> adding 'stack_data/py.typed'
> adding 'stack_data/serializing.py'
> adding 'stack_data/utils.py'
> adding 'stack_data/version.py'
> adding 'stack_data-0.6.2.dist-info/LICENSE.txt'
> adding 'stack_data-0.6.2.dist-info/METADATA'
> adding 'stack_data-0.6.2.dist-info/WHEEL'
> adding 'stack_data-0.6.2.dist-info/top_level.txt'
> adding 'stack_data-0.6.2.dist-info/RECORD'
> removing build/bdist.linux-x86_64/wheel
> Successfully built stack_data-0.6.2-py3-none-any.whl
> I: pybuild plugin_pyproject:122: Unpacking wheel built for python3.11 with 
> "installer" module
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:310: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build; 
> python3.12 -m pytest tests
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.12.1, pytest-7.4.3, pluggy-1.3.0
> rootdir: /<<PKGBUILDDIR>>
> collected 0 items / 4 errors
> 
> ==================================== ERRORS 
> ====================================
> _______ ERROR collecting .pybuild/cpython3_3.12/build/tests/test_core.py 
> _______
> ImportError while importing test module 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/tests/test_core.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)
> tests/__init__.py:1: in <module>
>     import pyximport
> /usr/lib/python3/dist-packages/pyximport/__init__.py:1: in <module>
>     from .pyximport import *
> /usr/lib/python3/dist-packages/pyximport/pyximport.py:51: in <module>
>     import imp
> E   ModuleNotFoundError: No module named 'imp'
> ____ ERROR collecting .pybuild/cpython3_3.12/build/tests/test_formatter.py 
> _____
> ImportError while importing test module 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/tests/test_formatter.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)
> tests/__init__.py:1: in <module>
>     import pyximport
> /usr/lib/python3/dist-packages/pyximport/__init__.py:1: in <module>
>     from .pyximport import *
> /usr/lib/python3/dist-packages/pyximport/pyximport.py:51: in <module>
>     import imp
> E   ModuleNotFoundError: No module named 'imp'
> ____ ERROR collecting .pybuild/cpython3_3.12/build/tests/test_serializer.py 
> ____
> ImportError while importing test module 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/tests/test_serializer.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)
> tests/__init__.py:1: in <module>
>     import pyximport
> /usr/lib/python3/dist-packages/pyximport/__init__.py:1: in <module>
>     from .pyximport import *
> /usr/lib/python3/dist-packages/pyximport/pyximport.py:51: in <module>
>     import imp
> E   ModuleNotFoundError: No module named 'imp'
> ______ ERROR collecting .pybuild/cpython3_3.12/build/tests/test_utils.py 
> _______
> ImportError while importing test module 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/tests/test_utils.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)
> tests/__init__.py:1: in <module>
>     import pyximport
> /usr/lib/python3/dist-packages/pyximport/__init__.py:1: in <module>
>     from .pyximport import *
> /usr/lib/python3/dist-packages/pyximport/pyximport.py:51: in <module>
>     import imp
> E   ModuleNotFoundError: No module named 'imp'
> =========================== short test summary info 
> ============================
> ERROR tests/test_core.py
> ERROR tests/test_formatter.py
> ERROR tests/test_serializer.py
> ERROR tests/test_utils.py
> !!!!!!!!!!!!!!!!!!! Interrupted: 4 errors during collection 
> !!!!!!!!!!!!!!!!!!!!
> ============================== 4 errors in 0.10s 
> ===============================
> E: pybuild pybuild:395: test: plugin pyproject failed with: exit code=2: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build; python3.12 -m pytest tests
> I: pybuild base:310: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build; 
> python3.11 -m pytest tests
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.11.7, pytest-7.4.3, pluggy-1.3.0
> rootdir: /<<PKGBUILDDIR>>
> collected 21 items
> 
> tests/test_core.py ...............                                       [ 
> 71%]
> tests/test_formatter.py ..                                               [ 
> 80%]
> tests/test_serializer.py .                                               [ 
> 85%]
> tests/test_utils.py ...                                                  
> [100%]
> 
> =============================== warnings summary 
> ===============================
> ../../../../../../usr/lib/python3/dist-packages/pyximport/pyximport.py:51
>   /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
> 
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> ======================== 21 passed, 1 warning in 1.72s 
> =========================
> 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/python-stack-data_0.6.2-3_unstable.log

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

Reply via email to