python3 package on 20.04 is missing important sysconfig patch from debian
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python3.8 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
please update the python 3 package and add https:/
without it sysconfig gives incorrect paths for python paths, forcing people to use distutils instead, however distutils has been deprecated in 3.10 and removed from python 3.12 making it difficult to support both python 3.12 and ubuntu 20.04 at the same time.
> lsb_release -rd
Description: Ubuntu 20.04.6 LTS
Release: 20.04
> apt-cache policy python3
python3:
Installed: 3.8.2-0ubuntu2
Candidate: 3.8.2-0ubuntu2
Version table:
*** 3.8.2-0ubuntu2 500
500 http://
100 /var/lib/
expected:
> /usr/bin/python3 -c "from sysconfig import get_path; print(get_
/usr/local/
> DEB_PYTHON_
/usr/lib/
what happened instead:
> /usr/bin/python3 -c "from sysconfig import get_path; print(get_
/usr/lib/
> DEB_PYTHON_
/usr/lib/
Status changed to 'Confirmed' because the bug affects multiple users.