Source: python-flask-marshmallow
Version: 0.15.0-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_flask_marshmallow 
> * Building wheel...
> running bdist_wheel
> running build
> running build_py
> creating build
> creating build/lib
> creating build/lib/flask_marshmallow
> copying src/flask_marshmallow/compat.py -> build/lib/flask_marshmallow
> copying src/flask_marshmallow/__init__.py -> build/lib/flask_marshmallow
> copying src/flask_marshmallow/fields.py -> build/lib/flask_marshmallow
> copying src/flask_marshmallow/sqla.py -> build/lib/flask_marshmallow
> copying src/flask_marshmallow/schema.py -> build/lib/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'
> 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/flask_marshmallow
> copying build/lib/flask_marshmallow/compat.py -> 
> build/bdist.linux-x86_64/wheel/flask_marshmallow
> copying build/lib/flask_marshmallow/__init__.py -> 
> build/bdist.linux-x86_64/wheel/flask_marshmallow
> copying build/lib/flask_marshmallow/fields.py -> 
> build/bdist.linux-x86_64/wheel/flask_marshmallow
> copying build/lib/flask_marshmallow/sqla.py -> 
> build/bdist.linux-x86_64/wheel/flask_marshmallow
> copying build/lib/flask_marshmallow/schema.py -> 
> build/bdist.linux-x86_64/wheel/flask_marshmallow
> running install_egg_info
> Copying src/flask_marshmallow.egg-info to 
> build/bdist.linux-x86_64/wheel/flask_marshmallow-0.15.0.egg-info
> running install_scripts
> creating 
> build/bdist.linux-x86_64/wheel/flask_marshmallow-0.15.0.dist-info/WHEEL
> creating 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_flask_marshmallow/.tmp-9xn7oax0/flask_marshmallow-0.15.0-py2.py3-none-any.whl'
>  and adding 'build/bdist.linux-x86_64/wheel' to it
> adding 'flask_marshmallow/__init__.py'
> adding 'flask_marshmallow/compat.py'
> adding 'flask_marshmallow/fields.py'
> adding 'flask_marshmallow/schema.py'
> adding 'flask_marshmallow/sqla.py'
> adding 'flask_marshmallow-0.15.0.dist-info/LICENSE'
> adding 'flask_marshmallow-0.15.0.dist-info/METADATA'
> adding 'flask_marshmallow-0.15.0.dist-info/WHEEL'
> adding 'flask_marshmallow-0.15.0.dist-info/top_level.txt'
> adding 'flask_marshmallow-0.15.0.dist-info/RECORD'
> removing build/bdist.linux-x86_64/wheel
> Successfully built flask_marshmallow-0.15.0-py2.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_flask_marshmallow 
> * Building wheel...
> running bdist_wheel
> running build
> running build_py
> 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'
> 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/flask_marshmallow
> copying build/lib/flask_marshmallow/compat.py -> 
> build/bdist.linux-x86_64/wheel/flask_marshmallow
> copying build/lib/flask_marshmallow/__init__.py -> 
> build/bdist.linux-x86_64/wheel/flask_marshmallow
> copying build/lib/flask_marshmallow/fields.py -> 
> build/bdist.linux-x86_64/wheel/flask_marshmallow
> copying build/lib/flask_marshmallow/sqla.py -> 
> build/bdist.linux-x86_64/wheel/flask_marshmallow
> copying build/lib/flask_marshmallow/schema.py -> 
> build/bdist.linux-x86_64/wheel/flask_marshmallow
> running install_egg_info
> Copying src/flask_marshmallow.egg-info to 
> build/bdist.linux-x86_64/wheel/flask_marshmallow-0.15.0.egg-info
> running install_scripts
> creating 
> build/bdist.linux-x86_64/wheel/flask_marshmallow-0.15.0.dist-info/WHEEL
> creating 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_flask_marshmallow/.tmp-r2jbpoku/flask_marshmallow-0.15.0-py2.py3-none-any.whl'
>  and adding 'build/bdist.linux-x86_64/wheel' to it
> adding 'flask_marshmallow/__init__.py'
> adding 'flask_marshmallow/compat.py'
> adding 'flask_marshmallow/fields.py'
> adding 'flask_marshmallow/schema.py'
> adding 'flask_marshmallow/sqla.py'
> adding 'flask_marshmallow-0.15.0.dist-info/LICENSE'
> adding 'flask_marshmallow-0.15.0.dist-info/METADATA'
> adding 'flask_marshmallow-0.15.0.dist-info/WHEEL'
> adding 'flask_marshmallow-0.15.0.dist-info/top_level.txt'
> adding 'flask_marshmallow-0.15.0.dist-info/RECORD'
> removing build/bdist.linux-x86_64/wheel
> Successfully built flask_marshmallow-0.15.0-py2.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_flask_marshmallow/build; python3.12 
> -m pytest tests
> ERROR: while parsing the following warning configuration:
> 
>   ignore:The Query\.get\(\) method is considered 
> legacy:sqlalchemy.exc.LegacyAPIWarning
> 
> This error occurred:
> 
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 
> 1761, in parse_warning_filter
>     category: Type[Warning] = _resolve_warning_category(category_)
>                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 
> 1799, in _resolve_warning_category
>     m = __import__(module, None, None, [klass])
>         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/sqlalchemy/__init__.py", line 9, in 
> <module>
>     from .engine import create_engine
>   File "/usr/lib/python3/dist-packages/sqlalchemy/engine/__init__.py", line 
> 18, in <module>
>     from . import events
>   File "/usr/lib/python3/dist-packages/sqlalchemy/engine/events.py", line 9, 
> in <module>
>     from .base import Engine
>   File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 12, 
> in <module>
>     from .interfaces import Connectable
>   File "/usr/lib/python3/dist-packages/sqlalchemy/engine/interfaces.py", line 
> 11, in <module>
>     from ..sql.compiler import Compiled  # noqa
>     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/sqlalchemy/sql/__init__.py", line 9, 
> in <module>
>     from .compiler import COLLECT_CARTESIAN_PRODUCTS
>   File "/usr/lib/python3/dist-packages/sqlalchemy/sql/compiler.py", line 34, 
> in <module>
>     from . import crud
>   File "/usr/lib/python3/dist-packages/sqlalchemy/sql/crud.py", line 16, in 
> <module>
>     from . import dml
>   File "/usr/lib/python3/dist-packages/sqlalchemy/sql/dml.py", line 12, in 
> <module>
>     from sqlalchemy.types import NullType
>   File "/usr/lib/python3/dist-packages/sqlalchemy/types.py", line 63, in 
> <module>
>     from .sql.sqltypes import _Binary
>   File "/usr/lib/python3/dist-packages/sqlalchemy/sql/sqltypes.py", line 
> 2042, in <module>
>     class Interval(Emulated, _AbstractInterval, TypeDecorator):
>   File "/usr/lib/python3/dist-packages/sqlalchemy/sql/sqltypes.py", line 
> 2061, in Interval
>     epoch = dt.datetime.utcfromtimestamp(0)
>             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and 
> scheduled for removal in a future version. Use timezone-aware objects to 
> represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, 
> datetime.UTC).
> 
> 
> E: pybuild pybuild:395: test: plugin pyproject failed with: exit code=4: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_flask_marshmallow/build; python3.12 
> -m pytest tests
> I: pybuild base:310: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_flask_marshmallow/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>>
> configfile: setup.cfg
> collected 33 items
> 
> tests/test_core.py ......                                                [ 
> 18%]
> tests/test_fields.py ...................                                 [ 
> 75%]
> tests/test_sqla.py ........                                              
> [100%]
> 
> ============================== 33 passed in 0.24s 
> ==============================
> 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-flask-marshmallow_0.15.0-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