Bug#1058379: compyle: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 3.11" returned exit code 13

Lucas Nussbaum lucas at debian.org
Tue Dec 12 08:22:51 GMT 2023


Source: compyle
Version: 0.8.1-5
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at 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
> I: pybuild base:310: python3.12 setup.py config 
> running config
> I: pybuild base:310: python3.11 setup.py config 
> running config
>    dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:310: /usr/bin/python3.12 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/build/compyle
> copying compyle/utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/build/compyle
> copying compyle/cuda.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/build/compyle
> copying compyle/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/build/compyle
> copying compyle/ext_module.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/build/compyle
> copying compyle/parallel.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/build/compyle
> copying compyle/capture_stream.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/build/compyle
> copying compyle/translator.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/build/compyle
> copying compyle/low_level.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/build/compyle
> copying compyle/opencl.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/build/compyle
> copying compyle/ast_utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/build/compyle
> copying compyle/types.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/build/compyle
> copying compyle/profile.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/build/compyle
> copying compyle/api.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/build/compyle
> copying compyle/template.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/build/compyle
> copying compyle/config.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/build/compyle
> copying compyle/sort.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/build/compyle
> copying compyle/jit.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/build/compyle
> copying compyle/extern.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/build/compyle
> copying compyle/transpiler.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/build/compyle
> copying compyle/cython_generator.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/build/compyle
> copying compyle/array.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/build/compyle
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/build/compyle/thrust
> copying compyle/thrust/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/build/compyle/thrust
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/build/compyle/tests
> copying compyle/tests/test_parallel.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/build/compyle/tests
> copying compyle/tests/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/build/compyle/tests
> copying compyle/tests/test_cython_generator.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/build/compyle/tests
> copying compyle/tests/test_capture_stream.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/build/compyle/tests
> copying compyle/tests/test_gpu_struct.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/build/compyle/tests
> copying compyle/tests/test_types.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/build/compyle/tests
> copying compyle/tests/test_cuda.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/build/compyle/tests
> copying compyle/tests/test_profile.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/build/compyle/tests
> copying compyle/tests/test_transpiler.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/build/compyle/tests
> copying compyle/tests/test_translator.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/build/compyle/tests
> copying compyle/tests/test_low_level.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/build/compyle/tests
> copying compyle/tests/test_utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/build/compyle/tests
> copying compyle/tests/test_template.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/build/compyle/tests
> copying compyle/tests/py3_code.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/build/compyle/tests
> copying compyle/tests/test_config.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/build/compyle/tests
> copying compyle/tests/test_array.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/build/compyle/tests
> copying compyle/tests/test_jit.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/build/compyle/tests
> copying compyle/tests/test_ext_module.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/build/compyle/tests
> copying compyle/tests/test_ast_utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/build/compyle/tests
> I: pybuild base:310: /usr/bin/python3 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_compyle/build/compyle
> copying compyle/utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_compyle/build/compyle
> copying compyle/cuda.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_compyle/build/compyle
> copying compyle/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_compyle/build/compyle
> copying compyle/ext_module.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_compyle/build/compyle
> copying compyle/parallel.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_compyle/build/compyle
> copying compyle/capture_stream.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_compyle/build/compyle
> copying compyle/translator.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_compyle/build/compyle
> copying compyle/low_level.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_compyle/build/compyle
> copying compyle/opencl.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_compyle/build/compyle
> copying compyle/ast_utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_compyle/build/compyle
> copying compyle/types.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_compyle/build/compyle
> copying compyle/profile.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_compyle/build/compyle
> copying compyle/api.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_compyle/build/compyle
> copying compyle/template.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_compyle/build/compyle
> copying compyle/config.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_compyle/build/compyle
> copying compyle/sort.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_compyle/build/compyle
> copying compyle/jit.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_compyle/build/compyle
> copying compyle/extern.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_compyle/build/compyle
> copying compyle/transpiler.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_compyle/build/compyle
> copying compyle/cython_generator.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_compyle/build/compyle
> copying compyle/array.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_compyle/build/compyle
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_compyle/build/compyle/thrust
> copying compyle/thrust/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_compyle/build/compyle/thrust
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_compyle/build/compyle/tests
> copying compyle/tests/test_parallel.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_compyle/build/compyle/tests
> copying compyle/tests/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_compyle/build/compyle/tests
> copying compyle/tests/test_cython_generator.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_compyle/build/compyle/tests
> copying compyle/tests/test_capture_stream.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_compyle/build/compyle/tests
> copying compyle/tests/test_gpu_struct.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_compyle/build/compyle/tests
> copying compyle/tests/test_types.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_compyle/build/compyle/tests
> copying compyle/tests/test_cuda.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_compyle/build/compyle/tests
> copying compyle/tests/test_profile.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_compyle/build/compyle/tests
> copying compyle/tests/test_transpiler.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_compyle/build/compyle/tests
> copying compyle/tests/test_translator.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_compyle/build/compyle/tests
> copying compyle/tests/test_low_level.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_compyle/build/compyle/tests
> copying compyle/tests/test_utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_compyle/build/compyle/tests
> copying compyle/tests/test_template.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_compyle/build/compyle/tests
> copying compyle/tests/py3_code.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_compyle/build/compyle/tests
> copying compyle/tests/test_config.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_compyle/build/compyle/tests
> copying compyle/tests/test_array.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_compyle/build/compyle/tests
> copying compyle/tests/test_jit.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_compyle/build/compyle/tests
> copying compyle/tests/test_ext_module.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_compyle/build/compyle/tests
> copying compyle/tests/test_ast_utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_compyle/build/compyle/tests
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:310: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/build; python3.12 -m pytest -k "not test_that_multiple_compiles_do_not_occur_for_same_source and not test_const_as_call_arg and not test_const_in_return" --ignore=/<<PKGBUILDDIR>>/compyle/tests/test_cuda.py /<<PKGBUILDDIR>>/compyle/tests
> ============================= test session starts ==============================
> platform linux -- Python 3.12.1, pytest-7.4.3, pluggy-1.3.0
> rootdir: /<<PKGBUILDDIR>>
> collected 108 items / 8 errors
> 
> ==================================== ERRORS ====================================
> _________________ ERROR collecting compyle/tests/test_array.py _________________
> ImportError while importing test module '/<<PKGBUILDDIR>>/compyle/tests/test_array.py'.
> Hint: make sure your test modules/packages have valid Python names.
> Traceback:
> /usr/lib/python3.12/importlib/__init__.py:90: in import_module
>     return _bootstrap._gcd_import(name[level:], package, level)
> ../../../compyle/tests/test_array.py:4: in <module>
>     from ..array import Array, wrap_array
> ../../../compyle/array.py:11: in <module>
>     from .sort import radix_sort
> ../../../compyle/sort.py:5: in <module>
>     from .transpiler import Transpiler, convert_to_float_if_needed
> ../../../compyle/transpiler.py:12: in <module>
>     from .ext_module import ExtModule
> ../../../compyle/ext_module.py:14: in <module>
>     from pyximport import pyxbuild
> /usr/lib/python3/dist-packages/pyximport/__init__.py:1: in <module>
>     from .pyximport import *
> /usr/lib/python3/dist-packages/pyximport/pyximport.py:51: in <module>
>     import imp
> E   ModuleNotFoundError: No module named 'imp'
> ______________ ERROR collecting compyle/tests/test_ext_module.py _______________
> ImportError while importing test module '/<<PKGBUILDDIR>>/compyle/tests/test_ext_module.py'.
> Hint: make sure your test modules/packages have valid Python names.
> Traceback:
> /usr/lib/python3.12/importlib/__init__.py:90: in import_module
>     return _bootstrap._gcd_import(name[level:], package, level)
> ../../../compyle/tests/test_ext_module.py:17: in <module>
>     import compyle.ext_module
> ../../../compyle/ext_module.py:14: in <module>
>     from pyximport import pyxbuild
> /usr/lib/python3/dist-packages/pyximport/__init__.py:1: in <module>
>     from .pyximport import *
> /usr/lib/python3/dist-packages/pyximport/pyximport.py:51: in <module>
>     import imp
> E   ModuleNotFoundError: No module named 'imp'
> __________________ ERROR collecting compyle/tests/test_jit.py __________________
> ImportError while importing test module '/<<PKGBUILDDIR>>/compyle/tests/test_jit.py'.
> Hint: make sure your test modules/packages have valid Python names.
> Traceback:
> /usr/lib/python3.12/importlib/__init__.py:90: in import_module
>     return _bootstrap._gcd_import(name[level:], package, level)
> ../../../compyle/tests/test_jit.py:8: in <module>
>     from ..array import wrap
> ../../../compyle/array.py:11: in <module>
>     from .sort import radix_sort
> ../../../compyle/sort.py:5: in <module>
>     from .transpiler import Transpiler, convert_to_float_if_needed
> ../../../compyle/transpiler.py:12: in <module>
>     from .ext_module import ExtModule
> ../../../compyle/ext_module.py:14: in <module>
>     from pyximport import pyxbuild
> /usr/lib/python3/dist-packages/pyximport/__init__.py:1: in <module>
>     from .pyximport import *
> /usr/lib/python3/dist-packages/pyximport/pyximport.py:51: in <module>
>     import imp
> E   ModuleNotFoundError: No module named 'imp'
> _______________ ERROR collecting compyle/tests/test_low_level.py _______________
> ImportError while importing test module '/<<PKGBUILDDIR>>/compyle/tests/test_low_level.py'.
> Hint: make sure your test modules/packages have valid Python names.
> Traceback:
> /usr/lib/python3.12/importlib/__init__.py:90: in import_module
>     return _bootstrap._gcd_import(name[level:], package, level)
> ../../../compyle/tests/test_low_level.py:7: in <module>
>     from ..array import wrap
> ../../../compyle/array.py:11: in <module>
>     from .sort import radix_sort
> ../../../compyle/sort.py:5: in <module>
>     from .transpiler import Transpiler, convert_to_float_if_needed
> ../../../compyle/transpiler.py:12: in <module>
>     from .ext_module import ExtModule
> ../../../compyle/ext_module.py:14: in <module>
>     from pyximport import pyxbuild
> /usr/lib/python3/dist-packages/pyximport/__init__.py:1: in <module>
>     from .pyximport import *
> /usr/lib/python3/dist-packages/pyximport/pyximport.py:51: in <module>
>     import imp
> E   ModuleNotFoundError: No module named 'imp'
> _______________ ERROR collecting compyle/tests/test_parallel.py ________________
> ImportError while importing test module '/<<PKGBUILDDIR>>/compyle/tests/test_parallel.py'.
> Hint: make sure your test modules/packages have valid Python names.
> Traceback:
> /usr/lib/python3.12/importlib/__init__.py:90: in import_module
>     return _bootstrap._gcd_import(name[level:], package, level)
> ../../../compyle/tests/test_parallel.py:8: in <module>
>     from ..array import wrap, zeros
> ../../../compyle/array.py:11: in <module>
>     from .sort import radix_sort
> ../../../compyle/sort.py:5: in <module>
>     from .transpiler import Transpiler, convert_to_float_if_needed
> ../../../compyle/transpiler.py:12: in <module>
>     from .ext_module import ExtModule
> ../../../compyle/ext_module.py:14: in <module>
>     from pyximport import pyxbuild
> /usr/lib/python3/dist-packages/pyximport/__init__.py:1: in <module>
>     from .pyximport import *
> /usr/lib/python3/dist-packages/pyximport/pyximport.py:51: in <module>
>     import imp
> E   ModuleNotFoundError: No module named 'imp'
> ________________ ERROR collecting compyle/tests/test_profile.py ________________
> ImportError while importing test module '/<<PKGBUILDDIR>>/compyle/tests/test_profile.py'.
> Hint: make sure your test modules/packages have valid Python names.
> Traceback:
> /usr/lib/python3.12/importlib/__init__.py:90: in import_module
>     return _bootstrap._gcd_import(name[level:], package, level)
> ../../../compyle/tests/test_profile.py:7: in <module>
>     from ..array import wrap, zeros, ones
> ../../../compyle/array.py:11: in <module>
>     from .sort import radix_sort
> ../../../compyle/sort.py:5: in <module>
>     from .transpiler import Transpiler, convert_to_float_if_needed
> ../../../compyle/transpiler.py:12: in <module>
>     from .ext_module import ExtModule
> ../../../compyle/ext_module.py:14: in <module>
>     from pyximport import pyxbuild
> /usr/lib/python3/dist-packages/pyximport/__init__.py:1: in <module>
>     from .pyximport import *
> /usr/lib/python3/dist-packages/pyximport/pyximport.py:51: in <module>
>     import imp
> E   ModuleNotFoundError: No module named 'imp'
> _______________ ERROR collecting compyle/tests/test_template.py ________________
> ImportError while importing test module '/<<PKGBUILDDIR>>/compyle/tests/test_template.py'.
> Hint: make sure your test modules/packages have valid Python names.
> Traceback:
> /usr/lib/python3.12/importlib/__init__.py:90: in import_module
>     return _bootstrap._gcd_import(name[level:], package, level)
> ../../../compyle/tests/test_template.py:5: in <module>
>     from ..array import wrap
> ../../../compyle/array.py:11: in <module>
>     from .sort import radix_sort
> ../../../compyle/sort.py:5: in <module>
>     from .transpiler import Transpiler, convert_to_float_if_needed
> ../../../compyle/transpiler.py:12: in <module>
>     from .ext_module import ExtModule
> ../../../compyle/ext_module.py:14: in <module>
>     from pyximport import pyxbuild
> /usr/lib/python3/dist-packages/pyximport/__init__.py:1: in <module>
>     from .pyximport import *
> /usr/lib/python3/dist-packages/pyximport/pyximport.py:51: in <module>
>     import imp
> E   ModuleNotFoundError: No module named 'imp'
> ______________ ERROR collecting compyle/tests/test_transpiler.py _______________
> ImportError while importing test module '/<<PKGBUILDDIR>>/compyle/tests/test_transpiler.py'.
> Hint: make sure your test modules/packages have valid Python names.
> Traceback:
> /usr/lib/python3.12/importlib/__init__.py:90: in import_module
>     return _bootstrap._gcd_import(name[level:], package, level)
> ../../../compyle/tests/test_transpiler.py:4: in <module>
>     from ..transpiler import get_external_symbols_and_calls, Transpiler
> ../../../compyle/transpiler.py:12: in <module>
>     from .ext_module import ExtModule
> ../../../compyle/ext_module.py:14: in <module>
>     from pyximport import pyxbuild
> /usr/lib/python3/dist-packages/pyximport/__init__.py:1: in <module>
>     from .pyximport import *
> /usr/lib/python3/dist-packages/pyximport/pyximport.py:51: in <module>
>     import imp
> E   ModuleNotFoundError: No module named 'imp'
> =========================== short test summary info ============================
> ERROR ../../../compyle/tests/test_array.py
> ERROR ../../../compyle/tests/test_ext_module.py
> ERROR ../../../compyle/tests/test_jit.py
> ERROR ../../../compyle/tests/test_low_level.py
> ERROR ../../../compyle/tests/test_parallel.py
> ERROR ../../../compyle/tests/test_profile.py
> ERROR ../../../compyle/tests/test_template.py
> ERROR ../../../compyle/tests/test_transpiler.py
> !!!!!!!!!!!!!!!!!!! Interrupted: 8 errors during collection !!!!!!!!!!!!!!!!!!!!
> ============================== 8 errors in 1.14s ===============================
> E: pybuild pybuild:395: test: plugin distutils failed with: exit code=2: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_compyle/build; python3.12 -m pytest -k "not test_that_multiple_compiles_do_not_occur_for_same_source and not test_const_as_call_arg and not test_const_in_return" --ignore=/<<PKGBUILDDIR>>/compyle/tests/test_cuda.py /<<PKGBUILDDIR>>/compyle/tests
> I: pybuild base:310: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_compyle/build; python3.11 -m pytest -k "not test_that_multiple_compiles_do_not_occur_for_same_source and not test_const_as_call_arg and not test_const_in_return" --ignore=/<<PKGBUILDDIR>>/compyle/tests/test_cuda.py /<<PKGBUILDDIR>>/compyle/tests
> ============================= test session starts ==============================
> platform linux -- Python 3.11.7, pytest-7.4.3, pluggy-1.3.0
> rootdir: /<<PKGBUILDDIR>>
> collected 423 items / 3 deselected / 420 selected
> 
> ../../../compyle/tests/test_array.py ..s..s..s..s..s..s..s..s..s..s..s.. [  8%]
> s..s..s...s.sx..s..s..s..s..s..s..s..s..s..s..s..s..s..s..s..s..s..s..s. [ 25%]
> .s..s..s..s..s..s..ss..s......sss......sss......sss..s                   [ 38%]
> ../../../compyle/tests/test_ast_utils.py .......                         [ 40%]
> ../../../compyle/tests/test_capture_stream.py .....                      [ 41%]
> ../../../compyle/tests/test_config.py ............                       [ 44%]
> ../../../compyle/tests/test_cython_generator.py .................        [ 48%]
> ../../../compyle/tests/test_ext_module.py ........                       [ 50%]
> ../../../compyle/tests/test_gpu_struct.py s                              [ 50%]
> ../../../compyle/tests/test_jit.py ..........................            [ 56%]
> ../../../compyle/tests/test_low_level.py s.s.....                        [ 58%]
> ../../../compyle/tests/test_parallel.py s...s...s.s....s..s..s..s...s... [ 65%]
> s...s...s...s...s...s...s.s....s..s..s..s...s...s...s...s...s...         [ 81%]
> ../../../compyle/tests/test_profile.py .....                             [ 82%]
> ../../../compyle/tests/test_template.py .....                            [ 83%]
> ../../../compyle/tests/test_translator.py .............................. [ 90%]
> .........................                                                [ 96%]
> ../../../compyle/tests/test_transpiler.py ...                            [ 97%]
> ../../../compyle/tests/test_types.py .......                             [ 99%]
> ../../../compyle/tests/test_utils.py ....                                [100%]
> 
> =============================== warnings summary ===============================
> ../../../../../../usr/lib/python3/dist-packages/pyximport/pyximport.py:51
>   /usr/lib/python3/dist-packages/pyximport/pyximport.py:51: DeprecationWarning: the imp module is deprecated in favour of importlib and slated for removal in Python 3.12; see the module's documentation for alternative uses
>     import imp
> 
> compyle/tests/test_array.py: 8 warnings
> compyle/tests/test_jit.py: 5 warnings
> compyle/tests/test_parallel.py: 70 warnings
> compyle/tests/test_translator.py: 93 warnings
>   /usr/lib/python3.11/ast.py:418: DeprecationWarning: visit_Num is deprecated; add visit_Constant
>     return visitor(node)
> 
> compyle/tests/test_array.py: 31 warnings
> compyle/tests/test_parallel.py: 15 warnings
>   /usr/lib/python3/dist-packages/pyopencl/cache.py:417: CompilerWarning: Non-empty compiler output encountered. Set the environment variable PYOPENCL_COMPILER_OUTPUT=1 to see more.
>     prg.build(options_bytes, [devices[i] for i in to_be_built_indices])
> 
> compyle/tests/test_array.py: 3 warnings
> compyle/tests/test_parallel.py: 16 warnings
>   /usr/lib/python3/dist-packages/pyopencl/cache.py:495: CompilerWarning: Non-empty compiler output encountered. Set the environment variable PYOPENCL_COMPILER_OUTPUT=1 to see more.
>     _create_built_program_from_source_cached(
> 
> compyle/tests/test_array.py: 3 warnings
> compyle/tests/test_parallel.py: 16 warnings
>   /usr/lib/python3/dist-packages/pyopencl/cache.py:499: CompilerWarning: Non-empty compiler output encountered. Set the environment variable PYOPENCL_COMPILER_OUTPUT=1 to see more.
>     prg.build(options_bytes, devices)
> 
> compyle/tests/test_jit.py::TestAnnotationHelper::test_non_jit_call_as_call_arg
>   /<<PKGBUILDDIR>>/compyle/jit.py:202: UserWarning: 
>   In code in line 5:
>   
>       return g(sin(a))
>                ^
>   
>   
>   Function called is not marked by the annotate decorator. Argument
>   type defaulting to 'double'. If the type is not 'double', store
>   the value in a variable of appropriate type and use the variable
>   
>     warnings.warn(msg)
> 
> compyle/tests/test_jit.py::TestAnnotationHelper::test_non_jit_call_in_return
>   /<<PKGBUILDDIR>>/compyle/jit.py:202: UserWarning: 
>   In code in line 5:
>   
>       return sin(a)
>              ^
>   
>   
>   Function called is not marked by the annotate decorator. Argument
>   type defaulting to 'double'. If the type is not 'double', store
>   the value in a variable of appropriate type and use the variable
>   
>     warnings.warn(msg)
> 
> compyle/tests/test_parallel.py::TestParallelUtilsJIT::test_elementwise_works_with_cython
> compyle/tests/test_parallel.py::TestParallelUtilsJIT::test_elementwise_works_with_opencl
>   /<<PKGBUILDDIR>>/compyle/jit.py:202: UserWarning: 
>   In code in line 5:
>   
>       y[i] = a * sin(x[i]) + b
>                  ^
>   
>   
>   Function called is not marked by the annotate decorator. Argument
>   type defaulting to 'double'. If the type is not 'double', store
>   the value in a variable of appropriate type and use the variable
>   
>     warnings.warn(msg)
> 
> compyle/tests/test_parallel.py::TestParallelUtilsJIT::test_reduction_works_with_map_cython
> compyle/tests/test_parallel.py::TestParallelUtilsJIT::test_reduction_works_with_map_opencl
>   /<<PKGBUILDDIR>>/compyle/jit.py:202: UserWarning: 
>   In code in line 7:
>   
>       result = cos(x[i]) * sin(y[i])
>                ^
>   
>   
>   Function called is not marked by the annotate decorator. Argument
>   type defaulting to 'double'. If the type is not 'double', store
>   the value in a variable of appropriate type and use the variable
>   
>     warnings.warn(msg)
> 
> compyle/tests/test_parallel.py::TestParallelUtilsJIT::test_reduction_works_with_map_cython
> compyle/tests/test_parallel.py::TestParallelUtilsJIT::test_reduction_works_with_map_opencl
>   /<<PKGBUILDDIR>>/compyle/jit.py:202: UserWarning: 
>   In code in line 7:
>   
>       result = cos(x[i]) * sin(y[i])
>                            ^
>   
>   
>   Function called is not marked by the annotate decorator. Argument
>   type defaulting to 'double'. If the type is not 'double', store
>   the value in a variable of appropriate type and use the variable
>   
>     warnings.warn(msg)
> 
> compyle/tests/test_translator.py::test_calling_printf_with_string
> compyle/tests/test_translator.py::test_calling_printf_with_string
>   /usr/lib/python3.11/ast.py:418: DeprecationWarning: visit_Str is deprecated; add visit_Constant
>     return visitor(node)
> 
> compyle/tests/test_translator.py::test_bool_true_false_and_none
> compyle/tests/test_translator.py::test_bool_true_false_and_none
> compyle/tests/test_translator.py::test_bool_true_false_and_none
> compyle/tests/test_translator.py::test_bool_true_false_and_none
>   /usr/lib/python3.11/ast.py:418: DeprecationWarning: visit_NameConstant is deprecated; add visit_Constant
>     return visitor(node)
> 
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> = 336 passed, 83 skipped, 3 deselected, 1 xfailed, 275 warnings in 426.24s (0:07:06) =
> 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/compyle_0.8.1-5_unstable.log

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



More information about the debian-science-maintainers mailing list