Hi William (2022.02.07_23:58:40_+0000)
> While building ansible version 2.10.7+merged+base+2.10.8+dfsg-1 with python
> 3.10 I have noticed that /usr/lib/python3.10/dist-packages/ansible is not
> properly cleaned out. These builds are successfully cleaning out
> /usr/lib/python3.9/dist-packages/ansible/. This results in broken symbolic
> links and failing autopkgtests with python 3.10.

If there is anything left in /usr/lib/python3.*/dist-packages/, it's
presumably because it isn't the same across multiple Python versions.
This usually points at an issue in the package being built, rather than
dh_python3. pybuild isn't relevant at all, here.

I had a look at this specific case, and the issue is that there are
symbolic links in the module tree. That's unusual, and not something
dh_python3 will de-duplicate, right now. It probably could, I haven't
looked at how straightforward that would be, yet.

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  +1 415 683 3272

Reply via email to