On 14.02.2018 18:37, Simon McVittie wrote: > Control: tags -1 + patch > > On Tue, 02 Jan 2018 at 15:07:52 +0000, Simon McVittie wrote: >> Expected result: all installed files are cleaned up by the time the >> Python packages have been purged >> >> Actual result: >> /usr/lib/python3.6/distutils/ owned by: python3-distutils > > Please consider applying the attached patch. I assumed you're deliberately > not using dh_python3 (to avoid a circular dependency or some reason like > that?) and NIH'd it, but if switching to dh_python3 would be acceptable > and straightforward, that would probably also be a good solution.
no, the core packages should not rely on dh_python3. > (It would also be great if you could mention in d/README.source why this > package isn't using dh_python3, so that future contributors don't have > to guess.) > > Thanks, > smcv > I don't like the patch because it looks up things for removal which are outside the package. I'll update it to only remove what is shipped in the package.