Skip to content
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

Update protobuf v5 #2708

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

edelanghe-ledger
Copy link

Hello !

The current version 3.6.1 is no longer supported by Google and so we should update to the active version.

The current active versions of protobuf goes from 5.26 to 5.29. grpcio will require at least 27.1 so let's require protobuf>=5.27.1,<6.
To specify this requirements I had to patch the setup.py to use .in files instead of the generated .txt

Refactoring `load_reqs` allow us more flexibility in the
format of requirements we want to define and make usage of .in possible
instead of the .txt.

For example we can now define `protobuf>=5.28.2,<6`
Using: pip-compile-multi

I tried to use the arg `--no-upgrade` but it failed to find correct
dependencies.
Using: tox -e genstubs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant