[Python-modules-team] Bug#997465: python-marshmallow-sqlalchemy: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.9 returned exit code 13

Lucas Nussbaum lucas at debian.org
Sat Oct 23 21:40:36 BST 2021


Source: python-marshmallow-sqlalchemy
Version: 0.19.0-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20211023 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> dpkg-buildpackage
> -----------------
> 
> Command: dpkg-buildpackage -us -uc -sa -rfakeroot
> dpkg-buildpackage: info: source package python-marshmallow-sqlalchemy
> dpkg-buildpackage: info: source version 0.19.0-1
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Utkarsh Gupta <guptautkarsh2102 at gmail.com>
>  dpkg-source --before-build .
> dpkg-buildpackage: info: host architecture amd64
>  debian/rules clean
> dh clean --buildsystem=pybuild --with python3
>    dh_auto_clean -O--buildsystem=pybuild
> I: pybuild base:232: python3.9 setup.py clean 
> running clean
> removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build' (and everything under it)
> 'build/bdist.linux-x86_64' does not exist -- can't clean it
> 'build/scripts-3.9' does not exist -- can't clean it
>    dh_autoreconf_clean -O--buildsystem=pybuild
>    dh_clean -O--buildsystem=pybuild
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building python-marshmallow-sqlalchemy using existing ./python-marshmallow-sqlalchemy_0.19.0.orig.tar.gz
> dpkg-source: info: building python-marshmallow-sqlalchemy in python-marshmallow-sqlalchemy_0.19.0-1.debian.tar.xz
> dpkg-source: info: building python-marshmallow-sqlalchemy in python-marshmallow-sqlalchemy_0.19.0-1.dsc
>  debian/rules binary
> dh binary --buildsystem=pybuild --with python3
>    dh_update_autotools_config -O--buildsystem=pybuild
>    dh_autoreconf -O--buildsystem=pybuild
>    dh_auto_configure -O--buildsystem=pybuild
> I: pybuild base:232: python3.9 setup.py config 
> running config
>    dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:232: /usr/bin/python3 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/marshmallow_sqlalchemy
> copying src/marshmallow_sqlalchemy/convert.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/marshmallow_sqlalchemy
> copying src/marshmallow_sqlalchemy/fields.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/marshmallow_sqlalchemy
> copying src/marshmallow_sqlalchemy/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/marshmallow_sqlalchemy
> copying src/marshmallow_sqlalchemy/schema.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/marshmallow_sqlalchemy
> copying src/marshmallow_sqlalchemy/exceptions.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/marshmallow_sqlalchemy
> running egg_info
> creating src/marshmallow_sqlalchemy.egg-info
> writing src/marshmallow_sqlalchemy.egg-info/PKG-INFO
> writing dependency_links to src/marshmallow_sqlalchemy.egg-info/dependency_links.txt
> writing requirements to src/marshmallow_sqlalchemy.egg-info/requires.txt
> writing top-level names to src/marshmallow_sqlalchemy.egg-info/top_level.txt
> writing manifest file 'src/marshmallow_sqlalchemy.egg-info/SOURCES.txt'
> reading manifest file 'src/marshmallow_sqlalchemy.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> warning: no previously-included files matching '*.pyc' found under directory 'docs'
> warning: no previously-included files matching '*.pyo' found under directory 'docs'
> warning: no previously-included files matching '*.pyc' found under directory 'tests'
> warning: no previously-included files matching '*.pyo' found under directory 'tests'
> no previously-included directories found matching 'docs/_build'
> adding license file 'LICENSE'
> adding license file 'AUTHORS.rst'
> writing manifest file 'src/marshmallow_sqlalchemy.egg-info/SOURCES.txt'
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:232: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build; python3.9 -m pytest tests
> ============================= test session starts ==============================
> platform linux -- Python 3.9.7, pytest-6.2.5, py-1.10.0, pluggy-0.13.0
> rootdir: /<<PKGBUILDDIR>>, configfile: pytest.ini
> collected 0 items / 1 error
> 
> ==================================== ERRORS ====================================
> _ ERROR collecting .pybuild/cpython3_3.9/build/tests/test_marshmallow_sqlalchemy.py _
> tests/test_marshmallow_sqlalchemy.py:406: in <module>
>     class TestPropertyFieldConversion:
> tests/test_marshmallow_sqlalchemy.py:429: in TestPropertyFieldConversion
>     ???
> E   AttributeError: module 'sqlalchemy' has no attribute 'Binary'
> =========================== short test summary info ============================
> ERROR tests/test_marshmallow_sqlalchemy.py - AttributeError: module 'sqlalche...
> !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
> =============================== 1 error in 0.24s ===============================
> E: pybuild pybuild:354: test: plugin distutils failed with: exit code=2: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build; python3.9 -m pytest tests
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.9 returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2021/10/23/python-marshmallow-sqlalchemy_0.19.0-1_unstable.log

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 marking 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 Python-modules-team mailing list