New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Protobuf 3.20.1 wheel built for but does not support Python 3.6 #10070
Comments
This should be fixed in the 4.21.1 release. |
This partially reverts 2eba259, whose purpose was to ensure compatibility with Python 3.6 by setting max versions for protobuf and google-api-python-client. However according to their documentation both libraries still support Python 3.6. The incompatibility that we hit was likely due to a bug in protobuf [1], now fixed in version 4.21.1. [1] protocolbuffers/protobuf#10070
4.21.1 is available only for python>=3.7, how does then it fix the python3.6 issue @haberman |
@ramanathan831 -- it fixes the issue by not incorrectly announcing that it supports py36 it when it doesn't. |
im still experiencing this issue |
Wow, so what version does still support 3.6? mysql-connector needs it. |
Anyone find an answer for this? |
@jordaniversen The answer is that if you want py3.6 support from protobuf, you need to pin to the last version that actually supported it (i.e., |
|
Thank you @tjmehta , it also works for Python 3.11.4 |
What version of protobuf and what language are you using?
Version: 3.20.1
Language: Python 3.6
What operating system (Linux, Windows, ...) and version?
Linux
What did you do?
pip install -v protobuf==3.20.1
What did you expect to see
https://pypi.org/project/protobuf/3.20.1/#files shows that Python 3.6 wheels exist, e.g. https://files.pythonhosted.org/packages/ad/ec/aff2fe72ab434f20b139277df186516a3ab12545b1382839666c7425ecb5/protobuf-3.20.1-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.whl , so it should be installable.
What did you see instead?
While wheels with
-cp36-
in the name exist and are published, their metadata showsrequires-python: >=3.7
, meaning that pip will confusingly refuse to install (or even list) them:I understand Python 3.6 was dropped intentionally in #9480 , but it looks like the step to no longer build and release unsupported/unusable wheels for that version might have been missed.
The text was updated successfully, but these errors were encountered: