[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1002196: python-kaptan: FTBFS: dh_auto_test: error: pybuild --test -i python{version} -p "3.10 3.9" returned exit code 13



Source: python-kaptan
Version: 0.5.10-3
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas@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 build
> dh build --with python3 --buildsystem=pybuild
> dh: warning: Compatibility levels before 10 are deprecated (level 9 in use)
>    dh_update_autotools_config -O--buildsystem=pybuild
>    dh_auto_configure -O--buildsystem=pybuild
> dh_auto_configure: warning: Compatibility levels before 10 are deprecated (level 9 in use)
> I: pybuild base:237: python3.10 setup.py config 
> Warning: 'classifiers' should be a list, got type 'tuple'
> running config
> I: pybuild base:237: python3.9 setup.py config 
> Warning: 'classifiers' should be a list, got type 'tuple'
> running config
>    dh_auto_build -O--buildsystem=pybuild
> dh_auto_build: warning: Compatibility levels before 10 are deprecated (level 9 in use)
> I: pybuild base:237: /usr/bin/python3.10 setup.py build 
> Warning: 'classifiers' should be a list, got type 'tuple'
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_kaptan/build/kaptan
> copying kaptan/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_kaptan/build/kaptan
> copying kaptan/__main__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_kaptan/build/kaptan
> copying kaptan/__about__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_kaptan/build/kaptan
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_kaptan/build/kaptan/handlers
> copying kaptan/handlers/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_kaptan/build/kaptan/handlers
> copying kaptan/handlers/json_handler.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_kaptan/build/kaptan/handlers
> copying kaptan/handlers/yaml_handler.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_kaptan/build/kaptan/handlers
> copying kaptan/handlers/pyfile_handler.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_kaptan/build/kaptan/handlers
> copying kaptan/handlers/ini_handler.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_kaptan/build/kaptan/handlers
> copying kaptan/handlers/dict_handler.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_kaptan/build/kaptan/handlers
> I: pybuild base:237: /usr/bin/python3 setup.py build 
> Warning: 'classifiers' should be a list, got type 'tuple'
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_kaptan/build/kaptan
> copying kaptan/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_kaptan/build/kaptan
> copying kaptan/__main__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_kaptan/build/kaptan
> copying kaptan/__about__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_kaptan/build/kaptan
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_kaptan/build/kaptan/handlers
> copying kaptan/handlers/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_kaptan/build/kaptan/handlers
> copying kaptan/handlers/json_handler.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_kaptan/build/kaptan/handlers
> copying kaptan/handlers/yaml_handler.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_kaptan/build/kaptan/handlers
> copying kaptan/handlers/pyfile_handler.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_kaptan/build/kaptan/handlers
> copying kaptan/handlers/ini_handler.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_kaptan/build/kaptan/handlers
> copying kaptan/handlers/dict_handler.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_kaptan/build/kaptan/handlers
>    dh_auto_test -O--buildsystem=pybuild
> dh_auto_test: warning: Compatibility levels before 10 are deprecated (level 9 in use)
> I: pybuild base:237: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_kaptan/build; python3.10 -m unittest discover -v 
> kaptan (unittest.loader._FailedTest) ... ERROR
> 
> ======================================================================
> ERROR: kaptan (unittest.loader._FailedTest)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: kaptan
> Traceback (most recent call last):
>   File "/usr/lib/python3.10/unittest/loader.py", line 470, in _find_test_path
>     package = self._get_module_from_name(name)
>   File "/usr/lib/python3.10/unittest/loader.py", line 377, in _get_module_from_name
>     __import__(name)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_kaptan/build/kaptan/__init__.py", line 16, in <module>
>     from collections import Mapping, Sequence
> ImportError: cannot import name 'Mapping' from 'collections' (/usr/lib/python3.10/collections/__init__.py)
> 
> 
> ----------------------------------------------------------------------
> Ran 1 test in 0.000s
> 
> FAILED (errors=1)
> E: pybuild pybuild:355: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_kaptan/build; python3.10 -m unittest discover -v 
> I: pybuild base:237: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_kaptan/build; python3.9 -m unittest discover -v 
> 
> ----------------------------------------------------------------------
> Ran 0 tests in 0.000s
> 
> OK
> dh_auto_test: error: pybuild --test -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-kaptan_0.5.10-3_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.


Reply to: