Stefano Rivera <stefa...@debian.org> writes: > Control: tag -1 + moreinfo > > Hi Arto (2023.08.17_11:33:51_+0200) >> Pybuild uses tox to run the upstream test suite of the package, but >> fails to clean up the created .tox directory during debian/rules clean. > > It has code to do this, can you point to an example of it not happening? > > https://salsa.debian.org/python-team/tools/dh-python/-/blob/a5068b6de912dee00415e3ed8af13b75ef29994c/dhpython/build/base.py#L164-172
Bug #1045322 was filed against pytrainer, and I read the log there as "tox directory not cleaned up". The bug is marked blocked by this bug. Pytrainer has an essentially empty debian/rules so my immediate thought was that the tools used (dh_python3 + pybuild) are the source of the problem. -- Arto Jantunen