Page MenuHomePhabricator

Blubber must not use easy_install to install pip, but python3-pip
Closed, ResolvedPublic

Description

https://gerrit.wikimedia.org/r/c/mediawiki/tools/scap/+/773809/1/ fails to build:

python3 "-m" "easy_install" "pip" && python3 "-m" "pip" "install" "-U" "setuptools!=60.9.0" "wheel" "tox" "pip"
---> Running in afa961f7ec63
Searching for pip
Reading https://pypi.python.org/simple/pip/
Couldn't find index page for 'pip' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading https://pypi.python.org/simple/
No local packages or working download links found for pip
error: Could not find suitable distribution for Requirement.parse('pip')

https://bugzilla.redhat.com/show_bug.cgi?id=1981333 says pypi.org now requires SSL with the SNI extension which easy_install does not support. That effectively means easy_install is no more usable and one can use python3-pip package to bootstrap pip.

Blubber should stop using easy_install and install the python3-pip package to provide the pip command.

Event Timeline

dduvall triaged this task as High priority.
dduvall added a project: User-dduvall.
dduvall moved this task from Backlog to In progress on the User-dduvall board.

Change 774576 had a related patch set uploaded (by Dduvall; author: Dduvall):

[blubber@master] python: Stop using easy_install to bootstrap pip

https://gerrit.wikimedia.org/r/774576

Change 774576 merged by jenkins-bot:

[blubber@master] python: Stop using easy_install to bootstrap pip

https://gerrit.wikimedia.org/r/774576

Change 774770 had a related patch set uploaded (by Hashar; author: Hashar):

[mediawiki/services/wikispeech/mishkal@master] Replace setuptools by pip

https://gerrit.wikimedia.org/r/774770

Change 775398 had a related patch set uploaded (by BryanDavis; author: Bryan Davis):

[wikimedia/toolhub@main] dev: Install python3-pip deb package

https://gerrit.wikimedia.org/r/775398

Change 775398 merged by jenkins-bot:

[wikimedia/toolhub@main] dev: Install python3-pip deb package

https://gerrit.wikimedia.org/r/775398

Change 775402 had a related patch set uploaded (by BryanDavis; author: Bryan Davis):

[wikimedia/developer-portal@main] dev: Install python3-pip deb package

https://gerrit.wikimedia.org/r/775402

Change 775402 merged by jenkins-bot:

[wikimedia/developer-portal@main] dev: Install python3-pip deb package

https://gerrit.wikimedia.org/r/775402

Change 776859 had a related patch set uploaded (by Hashar; author: Hashar):

[blubber@master] python: install setuptools first when bootstrapping

https://gerrit.wikimedia.org/r/776859

thcipriani changed the task status from Open to Stalled.Apr 6 2022, 4:55 PM
thcipriani subscribed.

Awaiting @dduvall 's return in May 2022

Change 786342 had a related patch set uploaded (by BryanDavis; author: Bryan Davis):

[operations/deployment-charts@master] toolhub: Bump container version to 2022-04-21-215651-production

https://gerrit.wikimedia.org/r/786342

Change 786342 merged by jenkins-bot:

[operations/deployment-charts@master] toolhub: Bump container version to 2022-04-21-215651-production

https://gerrit.wikimedia.org/r/786342

Change 776859 merged by jenkins-bot:

[blubber@master] python: install setuptools first when bootstrapping

https://gerrit.wikimedia.org/r/776859

Reopening since https://gerrit.wikimedia.org/r/c/mediawiki/services/wikispeech/mishkal/+/774770 still has to be reviewed and merged. I have reached by email @Sebastian_Berlin-WMSE and @kalle from Wikimedia Sweden.

Change 774770 merged by jenkins-bot:

[mediawiki/services/wikispeech/mishkal@master] Add python-pip package in the Pipeline

https://gerrit.wikimedia.org/r/774770