pip install fails for unspecified distros
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
diskimage-builder |
New
|
Undecided
|
Unassigned |
Bug Description
Pip released version 21.0 and dropped support on python2.7, and python older than 3.6.
This caused 04-install-pip script to fail for some linux distributions (like ubuntu).
Responsible for that is hardcoded execution of:
...
python2 /tmp/get-pip.py $pip_args
...
At the end of file
diskimage-
Traceback:
2021-01-25 16:09:47.830 | + python2 /tmp/get-pip.py -U --force-reinstall
2021-01-25 16:09:48.474 | Traceback (most recent call last):
2021-01-25 16:09:48.474 | File "/tmp/get-pip.py", line 24226, in <module>
2021-01-25 16:09:48.479 | main()
2021-01-25 16:09:48.479 | File "/tmp/get-pip.py", line 199, in main
2021-01-25 16:09:48.479 | bootstrap(
2021-01-25 16:09:48.479 | File "/tmp/get-pip.py", line 82, in bootstrap
2021-01-25 16:09:48.479 | from pip._internal.
2021-01-25 16:09:48.479 | File "/tmp/tmpRC1lba
2021-01-25 16:09:48.479 | sys.stderr.
Just passing by, you need the equivalent of this pip==20.3.4 [1] to solve this.
[1] seen there https:/ /review. opendev. org/c/openstack /tripleo- quickstart- extras/ +/772591