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

Antonio Valentino antonio.valentino at tiscali.it
Thu Mar 14 07:47:13 GMT 2024


Dear Lucas,
thanks for reporting.

On Wed, 13 Mar 2024 15:58:32 +0100 Lucas Nussbaum <lucas at debian.org> wrote:
> Source: pycoast
> Version: 1.7.0+dfsg-1
> Severity: serious
> Justification: FTBFS
> Tags: trixie sid ftbfs
> User: lucas at debian.org
> Usertags: ftbfs-20240313 ftbfs-trixie
> 
> Hi,
> 
> During a rebuild of all packages in sid, your package failed to build
> on amd64.
> 
> 
> Relevant part (hopefully):

[CUT]

>> ==================================== ERRORS ====================================
>> ________________ ERROR collecting pycoast/tests/test_pycoast.py ________________
>> /usr/lib/python3/dist-packages/pluggy/_hooks.py:501: in __call__
>>     return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
>> /usr/lib/python3/dist-packages/pluggy/_manager.py:119: in _hookexec
>>     return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
>> /usr/lib/python3/dist-packages/_pytest/python.py:278: in pytest_pycollect_makeitem
>>     return list(collector._genfunctions(name, obj))
>> /usr/lib/python3/dist-packages/_pytest/python.py:507: in _genfunctions
>>     self.ihook.pytest_generate_tests.call_extra(methods, dict(metafunc=metafunc))
>> /usr/lib/python3/dist-packages/pluggy/_hooks.py:562: in call_extra
>>     return self._hookexec(self.name, hookimpls, kwargs, firstresult)
>> /usr/lib/python3/dist-packages/pluggy/_manager.py:119: in _hookexec
>>     return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
>> /usr/lib/python3/dist-packages/pytest_lazyfixture.py:74: in pytest_generate_tests
>>     normalize_metafunc_calls(metafunc, 'funcargs')
>> /usr/lib/python3/dist-packages/pytest_lazyfixture.py:81: in normalize_metafunc_calls
>>     calls = normalize_call(callspec, metafunc, valtype, used_keys)
>> /usr/lib/python3/dist-packages/pytest_lazyfixture.py:105: in normalize_call
>>     valtype_keys = set(getattr(callspec, valtype).keys()) - used_keys
>> E   AttributeError: 'CallSpec2' object has no attribute 'funcargs'
>> =============================== warnings summary ===============================
>> ../../../../../../usr/lib/python3/dist-packages/_pytest/python.py:507
>>   /usr/lib/python3/dist-packages/_pytest/python.py:507: PluggyTeardownRaisedWarning: A plugin raised an exception during an old-style hookwrapper teardown.
>>   Plugin: lazy-fixture, Hook: pytest_generate_tests
>>   AttributeError: 'CallSpec2' object has no attribute 'funcargs'
>>   For more information see https://pluggy.readthedocs.io/en/stable/api_reference.html#pluggy.PluggyTeardownRaisedWarning
>>     self.ihook.pytest_generate_tests.call_extra(methods, dict(metafunc=metafunc))
>> 
>> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
>> =========================== short test summary info ============================
>> ERROR ../../../pycoast/tests/test_pycoast.py - AttributeError: 'CallSpec2' ob...
>> !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
>> ========================= 1 warning, 1 error in 0.26s ==========================

the issue seems to be related to the pytest-lazyfixture package.
See also https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1063957.
I will reassign.


regards
-- 
Antonio Valentino



More information about the Pkg-grass-devel mailing list