Bug 1767212
Summary: | Updating to pip 19.3.x via pip breaks dnf installed pip | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | A Guin <a.guin003> | ||||||||||||||
Component: | python-pip | Assignee: | Miro Hrončok <mhroncok> | ||||||||||||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||||||
Severity: | high | Docs Contact: | |||||||||||||||
Priority: | unspecified | ||||||||||||||||
Version: | 31 | CC: | mdavid030, metherid, mhroncok, ncoghlan, pviktori, slavek.kabrda, tflink, TicoTimo, torsava | ||||||||||||||
Target Milestone: | --- | ||||||||||||||||
Target Release: | --- | ||||||||||||||||
Hardware: | x86_64 | ||||||||||||||||
OS: | Unspecified | ||||||||||||||||
URL: | https://retrace.fedoraproject.org/faf/reports/bthash/c7f39f1053da5f9ff4ce7faed59ec4a6c3b6b501 | ||||||||||||||||
Whiteboard: | abrt_hash:6526d4ee319fba2f4d5fab713ffc2457dbedfb8a;VARIANT_ID=workstation; | ||||||||||||||||
Fixed In Version: | python-pip-19.0.3-4.fc30 python-pip-19.1.1-5.fc31 python-pip-18.1-2.fc29 | Doc Type: | If docs needed, set a value | ||||||||||||||
Doc Text: | Story Points: | --- | |||||||||||||||
Clone Of: | Environment: | ||||||||||||||||
Last Closed: | 2019-11-19 01:15:07 UTC | Type: | --- | ||||||||||||||
Regression: | --- | Mount Type: | --- | ||||||||||||||
Documentation: | --- | CRM: | |||||||||||||||
Verified Versions: | Category: | --- | |||||||||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||||||||
Embargoed: | |||||||||||||||||
Attachments: |
|
Description
A Guin
2019-10-30 22:18:16 UTC
Created attachment 1630825 [details]
File: backtrace
Created attachment 1630826 [details]
File: cpuinfo
Created attachment 1630827 [details]
File: environ
Created attachment 1630828 [details]
File: mountinfo
Created attachment 1630829 [details]
File: namespaces
Created attachment 1630830 [details]
File: open_fds
The new pip (19.3) has this: from pip._internal.main import main ... sys.exit(main()) Our pip has: try: from pip._internal import main except ImportError: # user has most probably downgraded pip in their home # so let them run it anyway until ~/.local/bin makes it in front of the PATH from pip import main ... sys.exit(main()) So we need to add another level of hack \o/ Amber, as a workaround, please use "python3 -m pip". Rawhide fix proposed at: https://src.fedoraproject.org/rpms/python-pip/pull-request/42 This affects all Fedoras, but the stable ones are on older versions and will require backports once the rawhide one is reviewed. We also plan to update rawhide to 19.3+, but I'd rather have this fixed first and only then rework the patch to work the other way around. *** Bug 1770527 has been marked as a duplicate of this bug. *** Another user reported this on Fedora 30. I'll work on backporting this first thing on Monday. https://src.fedoraproject.org/rpms/python-pip/pull-request/43 https://src.fedoraproject.org/rpms/python-pip/pull-request/44 https://src.fedoraproject.org/rpms/python-pip/pull-request/45 Should we replace /usr/bin/pip with a script that calls `python -m pip $ARGS` in a subprocess? FEDORA-2019-1d18566497 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-1d18566497 python-pip-19.0.3-4.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-1d18566497 python-pip-19.1.1-5.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-6d2a2381f2 python-pip-18.1-2.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-8d7fa47fd5 python-pip-19.0.3-4.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report. python-pip-19.1.1-5.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report. python-pip-18.1-2.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report. |