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

2024-03-28 Thread Emmanuel Arias

Hi Lucas,

Sorry, I cannot reproduce this error. I tried running the package 
locally and in the salsa-ci [0]


[0] https://salsa.debian.org/python-team/packages/cachy/-/pipelines/658758

--
cheers,
Emmanuel Arias

 ⢀⣴⠾⠻⢶⣦⠀
 ⣾⠁⢠⠒⠀⣿⡁  eam...@debian.org
 ⢿⡄⠘⠷⠚⠋⠀  OpenPGP: 13796755BBC72BB8ABE2AEB5 FA9DEC5DE11C63F1 


 ⠈⠳⣄


OpenPGP_0xFA9DEC5DE11C63F1.asc
Description: OpenPGP public key


OpenPGP_signature.asc
Description: OpenPGP digital signature


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

2024-03-20 Thread Lucas Nussbaum
Source: cachy
Version: 0.3.0-4
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20240319 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 --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:305: python3.12 setup.py config 
> I: pybuild base:305: python3.11 setup.py config 
>dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:305: /usr/bin/python3.12 setup.py build 
> I: pybuild base:305: /usr/bin/python3 setup.py build 
>dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:305: cd /<>/.pybuild/cpython3_3.12_cachy/build; 
> python3.12 -m pytest --ignore=tests/stores/test_memcached_store.py
> = test session starts 
> ==
> platform linux -- Python 3.12.2, pytest-8.1.1, pluggy-1.4.0
> rootdir: /<>/.pybuild/cpython3_3.12_cachy/build
> configfile: pyproject.toml
> plugins: mock-3.12.0
> collected 10 items / 5 errors
> 
>  ERRORS 
> 
> ___ ERROR collecting tests/stores/test_dict_store.py 
> ___
> tests/stores/test_dict_store.py:4: in 
> from flexmock import flexmock
> /usr/lib/python3/dist-packages/flexmock/__init__.py:2: in 
> from flexmock import _integrations  # pylint: disable=unused-import
> /usr/lib/python3/dist-packages/flexmock/_integrations.py:101: in 
> saved_pytest = runner.call_runtest_hook
> E   AttributeError: module '_pytest.runner' has no attribute 
> 'call_runtest_hook'
> ___ ERROR collecting tests/stores/test_file_store.py 
> ___
> tests/stores/test_file_store.py:10: in 
> from flexmock import flexmock
> /usr/lib/python3/dist-packages/flexmock/__init__.py:2: in 
> from flexmock import _integrations  # pylint: disable=unused-import
> /usr/lib/python3/dist-packages/flexmock/_integrations.py:101: in 
> saved_pytest = runner.call_runtest_hook
> E   AttributeError: module '_pytest.runner' has no attribute 
> 'call_runtest_hook'
> _ ERROR collecting tests/test_cache_manager.py 
> _
> tests/test_cache_manager.py:6: in 
> from flexmock import flexmock
> /usr/lib/python3/dist-packages/flexmock/__init__.py:2: in 
> from flexmock import _integrations  # pylint: disable=unused-import
> /usr/lib/python3/dist-packages/flexmock/_integrations.py:101: in 
> saved_pytest = runner.call_runtest_hook
> E   AttributeError: module '_pytest.runner' has no attribute 
> 'call_runtest_hook'
> __ ERROR collecting tests/test_repository.py 
> ___
> tests/test_repository.py:5: in 
> from flexmock import flexmock
> /usr/lib/python3/dist-packages/flexmock/__init__.py:2: in 
> from flexmock import _integrations  # pylint: disable=unused-import
> /usr/lib/python3/dist-packages/flexmock/_integrations.py:101: in 
> saved_pytest = runner.call_runtest_hook
> E   AttributeError: module '_pytest.runner' has no attribute 
> 'call_runtest_hook'
> _ ERROR collecting tests/test_tagged_cache.py 
> __
> tests/test_tagged_cache.py:10: in 
> from flexmock import flexmock
> /usr/lib/python3/dist-packages/flexmock/__init__.py:2: in 
> from flexmock import _integrations  # pylint: disable=unused-import
> /usr/lib/python3/dist-packages/flexmock/_integrations.py:101: in 
> saved_pytest = runner.call_runtest_hook
> E   AttributeError: module '_pytest.runner' has no attribute 
> 'call_runtest_hook'
> === short test summary info 
> 
> ERROR tests/stores/test_dict_store.py - AttributeError: module 
> '_pytest.runne...
> ERROR tests/stores/test_file_store.py - AttributeError: module 
> '_pytest.runne...
> ERROR tests/test_cache_manager.py - AttributeError: module '_pytest.runner' 
> h...
> ERROR tests/test_repository.py - AttributeError: module '_pytest.runner' has 
> ...
> ERROR tests/test_tagged_cache.py - AttributeError: module '_pytest.runner' 
> ha...
> !!! Interrupted: 5 errors during collection 
> 
> == 5 errors in 0.26s 
> ===
> E: pybuild pybuild:389: test: plugin distutils failed with: exit code=2: cd 
> /<>/.pybuild/cpython3_3.12_cachy/build; python3.12 -m pytest 
> --ignore=tests/stores/test_memcached_store.py
> I: pybuild base:305: cd /<>/.pybuild/cpython3_3.11_cachy/build; 
> python3.11 -m pytest --ignore=tests/stores/test_memcached_store.py
> = test session starts 
> ==
> platform linux -- Python 3.11.8, pytest-8.1.1, pluggy-1.4.0
> rootdir: /<>/.pybuild/cpython3_3.11_cachy/build
> configfile: