Skip to content

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