Pip defaults to python implementation when installing protobuf
Bug #2009130 reported by
David Fernandez Gonzalez
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-pip (Ubuntu) |
Fix Released
|
Undecided
|
David Fernandez Gonzalez | ||
Bionic |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When installing protobuf with pip in Bionic, pip seems to install the python implementation instead of the cpp implementation. This was not happening before.
$ pip install protobuf==3.17.3 --no-cache-dir
$ python -c "from google.
it will show: default implement: python, acl implement: python
and it should show: default implement: cpp, acl implement: cpp
To post a comment you must log in.
The issue was due to backporting the wheel regex instead of the upstream pip regex for wheels parsing. The backport from upstream pip regex seems to fix the issue.
A new update has been released:
https:/ /ubuntu. com/security/ notices/ USN-5821- 4 3~ubuntu1. 18.04.8
python-pip - 9.0.1-2.