As I understand it, this is because pip expects the installation layouts
in sysconfig to be correct since Python 3.10. Previously it used the
layouts in distutils.sysconfig.

See:
* LP: #1940705
* LP: #1408092
* https://github.com/pypa/pip/pull/10358

The correct resolution here is to enable sysconfig-debian-schemes.diff
in Python 3.10. I'm not sure why this hasn't been enabled, yet.

** Also affects: python3.10 (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: python3.10 (Ubuntu)
       Status: New => Confirmed

-- 
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/python-pip/+bug/1960608/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to