Source: dacite
Version: 1.6.0-2
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20221220 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 --with python3 --buildsystem=pybuild
>    dh_update_autotools_config -O--buildsystem=pybuild
>    dh_autoreconf -O--buildsystem=pybuild
>    dh_auto_configure -O--buildsystem=pybuild
> I: pybuild base:240: python3.11 setup.py config 
> running config
> I: pybuild base:240: python3.10 setup.py config 
> running config
>    dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:240: /usr/bin/python3.11 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_dacite/build/dacite
> copying dacite/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_dacite/build/dacite
> copying dacite/core.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_dacite/build/dacite
> copying dacite/exceptions.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_dacite/build/dacite
> copying dacite/config.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_dacite/build/dacite
> copying dacite/data.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_dacite/build/dacite
> copying dacite/types.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_dacite/build/dacite
> copying dacite/dataclasses.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_dacite/build/dacite
> copying dacite/py.typed -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_dacite/build/dacite
> I: pybuild base:240: /usr/bin/python3 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_dacite/build/dacite
> copying dacite/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_dacite/build/dacite
> copying dacite/core.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_dacite/build/dacite
> copying dacite/exceptions.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_dacite/build/dacite
> copying dacite/config.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_dacite/build/dacite
> copying dacite/data.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_dacite/build/dacite
> copying dacite/types.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_dacite/build/dacite
> copying dacite/dataclasses.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_dacite/build/dacite
> copying dacite/py.typed -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_dacite/build/dacite
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:240: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_dacite/build; 
> python3.11 -m pytest tests
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.11.1, pytest-7.2.0, pluggy-1.0.0+repack
> rootdir: /<<PKGBUILDDIR>>
> collected 168 items
> 
> tests/test_dataclasses.py ......                                         [  
> 3%]
> tests/test_types.py .................................................... [ 
> 34%]
> .........F.....................                                          [ 
> 52%]
> tests/core/test_base.py .............                                    [ 
> 60%]
> tests/core/test_collection.py .................                          [ 
> 70%]
> tests/core/test_config.py ...............                                [ 
> 79%]
> tests/core/test_init_var.py ..                                           [ 
> 80%]
> tests/core/test_literal.py ....                                          [ 
> 83%]
> tests/core/test_optional.py ..............                               [ 
> 91%]
> tests/core/test_type.py .                                                [ 
> 92%]
> tests/core/test_union.py .............                                   
> [100%]
> 
> =================================== FAILURES 
> ===================================
> ___________ test_is_instance_with_empty_tuple_and_not_matching_type 
> ____________
> 
>     def test_is_instance_with_empty_tuple_and_not_matching_type():
> >       assert not is_instance((1, 2), Tuple[()])
> E       assert not True
> E        +  where True = is_instance((1, 2), typing.Tuple[()])
> 
> tests/test_types.py:297: AssertionError
> =========================== short test summary info 
> ============================
> FAILED 
> tests/test_types.py::test_is_instance_with_empty_tuple_and_not_matching_type
> ======================== 1 failed, 167 passed in 0.34s 
> =========================
> E: pybuild pybuild:386: test: plugin distutils failed with: exit code=1: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_dacite/build; python3.11 -m pytest 
> tests
> I: pybuild base:240: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_dacite/build; 
> python3.10 -m pytest tests
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.10.9, pytest-7.2.0, pluggy-1.0.0+repack
> rootdir: /<<PKGBUILDDIR>>
> collected 168 items
> 
> tests/test_dataclasses.py ......                                         [  
> 3%]
> tests/test_types.py .................................................... [ 
> 34%]
> ...............................                                          [ 
> 52%]
> tests/core/test_base.py .............                                    [ 
> 60%]
> tests/core/test_collection.py .................                          [ 
> 70%]
> tests/core/test_config.py ...............                                [ 
> 79%]
> tests/core/test_init_var.py ..                                           [ 
> 80%]
> tests/core/test_literal.py ....                                          [ 
> 83%]
> tests/core/test_optional.py ..............                               [ 
> 91%]
> tests/core/test_type.py .                                                [ 
> 92%]
> tests/core/test_union.py .............                                   
> [100%]
> 
> ============================= 168 passed in 0.37s 
> ==============================
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.11 
> 3.10" returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2022/12/20/dacite_1.6.0-2_unstable.log

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