On Sat, Aug 12, 2023 at 09:07:44PM +0200, Alexandre Detiste wrote: > Le sam. 12 août 2023 à 20:16, Paul Gevers <elb...@debian.org> a écrit : > > > > Call me innocent, but I'm not even seeing cache files on my system for > > the recent python. When are these files created? > > > > Paul > > I think I just ran autopkgtest once, as root, on this day at 2am... > I think I should sleep more. > > So they are created anytime a user with write access to > /usr/share/autopkgtest/lib > run autopkgtest, which means root. > > dh_python3 would add the calls to py3compile/py3clean, > but might have other side effects for your package that have to be > backportable to oldstable(?not sure) so you might consider calling > py3{compile/clean} directly.
I think the correct fix for this is to turn autopkgtest into a "proper" Python package, so that we can just use dh-python instead of the custom build system, and all of this will be taken care of. I have thought a few times about starting this, but I haven't had the spoons to actually do it yet.
signature.asc
Description: PGP signature