Re: Andrius Merkys > The patch proposed in #1042610 does not fix test failure. Interestingly, the > failure seems to be nondeterministic: after patching #1042610 some builds > succeed. However, I did not manage to find the root cause.
The difference between a working and a failing run is this diff: dh_auto_test -O--buildsystem=pybuild -I: pybuild base:305: cd /home/myon/debian/nmu/behave/behave/.pybuild/cpython3_3.12_behave/build; python3.12 -m pytest test +I: pybuild base:305: cd /home/myon/debian/nmu/behave/behave/.pybuild/cpython3_3.12_behave/build; python3.12 -m pytest tests I.e. pybuild invokes either "python3.12 -m pytest test" (good) or "python3.12 -m pytest tests" (bad) I tried to drill down where this decision is made but couldn't spot it. As a workaround, we can move the "tests" directory aside. Then it will reliably run the "test" target. (Not pretty, but I want to get the package unstuck.) Christoph