Package: src:python-pyproject-hooks
Version: 1.1.0-1
Severity: serious
Tags: sid trixie
34s Testing with python3.12:
34s ============================= test session starts
==============================
34s platform linux -- Python 3.12.4, pytest-8.2.2, pluggy-1.5.0
34s rootdir: /tmp/autopkgtest-lxc.nv60b66n/downtmp/build.MGu/src
34s configfile: pytest.ini
34s collected 37 items
34s
35s tests/test_call_hooks.py ..............F...
[ 48%]
36s tests/test_hook_fallbacks.py ........
[ 70%]
36s tests/test_inplace_hooks.py ...........
[100%]
36s
36s =================================== FAILURES
===================================
36s ________________________________ test_setup_py
_________________________________
36s
36s def test_setup_py():
36s hooks = get_hooks("setup-py")
36s with modified_env({"PYTHONPATH": BUILDSYS_PKGS}):
36s res = hooks.get_requires_for_build_wheel({})
36s # Some versions of setuptools list setuptools itself here
36s res = [x for x in res if x != "setuptools"]
36s > assert res == ["wheel"]
36s E AssertionError: assert [] == ['wheel']
36s E
36s E Right contains one more item: 'wheel'
36s E Use -v to get more diff
36s
36s tests/test_call_hooks.py:215: AssertionError
36s ----------------------------- Captured stdout call
-----------------------------