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

Lucas Nussbaum lucas at debian.org
Wed Dec 22 07:55:48 GMT 2021


Source: python-flask-marshmallow
Version: 0.10.1-4
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20211220 ftbfs-bookworm

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 --with python3
>    dh_update_autotools_config -O--buildsystem=pybuild
>    dh_autoreconf -O--buildsystem=pybuild
>    dh_auto_configure -O--buildsystem=pybuild
> I: pybuild base:237: python3.10 setup.py config 
> running config
> I: pybuild base:237: python3.9 setup.py config 
> running config
>    dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:237: /usr/bin/python3.10 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/flask_marshmallow
> copying src/flask_marshmallow/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/flask_marshmallow
> copying src/flask_marshmallow/sqla.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/flask_marshmallow
> copying src/flask_marshmallow/schema.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/flask_marshmallow
> copying src/flask_marshmallow/compat.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/flask_marshmallow
> copying src/flask_marshmallow/fields.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/flask_marshmallow
> running egg_info
> creating src/flask_marshmallow.egg-info
> writing src/flask_marshmallow.egg-info/PKG-INFO
> writing dependency_links to src/flask_marshmallow.egg-info/dependency_links.txt
> writing requirements to src/flask_marshmallow.egg-info/requires.txt
> writing top-level names to src/flask_marshmallow.egg-info/top_level.txt
> writing manifest file 'src/flask_marshmallow.egg-info/SOURCES.txt'
> reading manifest file 'src/flask_marshmallow.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'
> no previously-included directories found matching 'docs/_build'
> adding license file 'LICENSE'
> writing manifest file 'src/flask_marshmallow.egg-info/SOURCES.txt'
> I: pybuild base:237: /usr/bin/python3 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/flask_marshmallow
> copying src/flask_marshmallow/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/flask_marshmallow
> copying src/flask_marshmallow/sqla.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/flask_marshmallow
> copying src/flask_marshmallow/schema.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/flask_marshmallow
> copying src/flask_marshmallow/compat.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/flask_marshmallow
> copying src/flask_marshmallow/fields.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/flask_marshmallow
> running egg_info
> writing src/flask_marshmallow.egg-info/PKG-INFO
> writing dependency_links to src/flask_marshmallow.egg-info/dependency_links.txt
> writing requirements to src/flask_marshmallow.egg-info/requires.txt
> writing top-level names to src/flask_marshmallow.egg-info/top_level.txt
> reading manifest file 'src/flask_marshmallow.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'
> no previously-included directories found matching 'docs/_build'
> adding license file 'LICENSE'
> writing manifest file 'src/flask_marshmallow.egg-info/SOURCES.txt'
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:237: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build; python3.10 -m pytest tests
> ImportError while loading conftest '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/tests/conftest.py'.
> tests/conftest.py:3: in <module>
>     from flask_marshmallow import Marshmallow
> flask_marshmallow/__init__.py:24: in <module>
>     from . import sqla
> flask_marshmallow/sqla.py:24: in <module>
>     class SchemaOpts(msqla.ModelSchemaOpts):
> E   AttributeError: module 'marshmallow_sqlalchemy' has no attribute 'ModelSchemaOpts'
> E: pybuild pybuild:355: test: plugin distutils failed with: exit code=4: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build; python3.10 -m pytest tests
> I: pybuild base:237: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build; python3.9 -m pytest tests
> ImportError while loading conftest '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/tests/conftest.py'.
> tests/conftest.py:3: in <module>
>     from flask_marshmallow import Marshmallow
> flask_marshmallow/__init__.py:24: in <module>
>     from . import sqla
> flask_marshmallow/sqla.py:24: in <module>
>     class SchemaOpts(msqla.ModelSchemaOpts):
> E   AttributeError: module 'marshmallow_sqlalchemy' has no attribute 'ModelSchemaOpts'
> E: pybuild pybuild:355: test: plugin distutils failed with: exit code=4: 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.10 3.9" returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2021/12/20/python-flask-marshmallow_0.10.1-4_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