-
Notifications
You must be signed in to change notification settings - Fork 15.6k
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
PyPi repository for 4.21.0 doesn't specify required Python version #10053
Comments
The metadata on the 4.21 wheels are missing
This is not expected given that it appears in the Line 357 in 7062d0a
By contrast, this is the contents of wheel for 3.19.4:
|
Fixed in protocolbuffers/upb@ef78b6a |
Is this fixed? I still see the dependency issue (python >= 3.7) |
Not quite -- the fix is submitted to the upb repo and PR #10058 will update 21.x release branch to point to the updated upb repo commit. This will probably end up in a 21.1 patch release. |
Thanks @zhangskz |
Planning for tomorrow EOD. |
Issue persists. Presumably due to a requirement in protobuff for a specific python version. |
Can you elaborate on what you mean by issue persists? Is this against 4.21.1 or are you still looking at 4.20.0 (which was un-yanked but not updated with fix). |
Issue is fixed :) Thx (y) |
Because the 4.21.0 release of protobuf on PyPi (https://pypi.org/project/protobuf/4.21.0) doesn't specify the required Python version, this leads to the installation of the library via
pip install protobuf
to fail when using Python versions smaller than 3.7 (leading toprotobuf requires Python '>=3.7' but the running Python is 3.6.9
for example). This also leads to other libraries such asortools
to fail installation.How to replicate (the commands were ran from an Ubuntu 18.04.5 LTS machine):
python3.6 -m venv venv
. venv/bin/activate
pip install protobuf
The text was updated successfully, but these errors were encountered: