OK, that seems to be caused by the default scheme changing from posix_prefix to posix_local, dh-python was making silly assumptions, there.
Your updated sysconfig patch looks good. ** Also affects: dh-python (Ubuntu) Importance: Undecided Status: New ** Changed in: dh-python (Ubuntu) Status: New => In Progress ** Changed in: dh-python (Ubuntu) Assignee: (unassigned) => Stefano Rivera (stefanor) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1960608 Title: python-pip >= 21.3.1+dfsg-3 fails pip3-root.sh autopkgtest with python3.10 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dh-python/+bug/1960608/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs