-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Cannot install it with googleapis-common-protos and other related libs in python #695
Comments
Hey! First of all, thanks for developing Tink! I am having the same issue:
|
It would be good if we followed https://packaging.python.org/en/latest/discussions/install-requires-vs-requirements/#install-requires : "It is not considered best practice to use install_requires to pin dependencies to specific versions, or to specify sub-dependencies (i.e. dependencies of your dependencies). This is overly-restrictive, and prevents the user from gaining the benefit of dependency upgrades." |
- Use less restrictive constraints for tink-py deps (tink-crypto/tink#695) and examples - Remove `constraints.in` - Upgrade dependencies in `requirements.txt` and `examples/requirements.txt` - Use `--require-hashes` when installing `examples/requirements.txt` PiperOrigin-RevId: 538165507 Change-Id: I89a312de5db96f8694b151d53beec2461528c90e
- Use less restrictive constraints for tink-py deps (#695) and examples - Remove `constraints.in` - Upgrade dependencies in `requirements.txt` and `examples/requirements.txt` - Use `--require-hashes` when installing `examples/requirements.txt` PiperOrigin-RevId: 538165507
I was running into the same issue and was happy that this seems to be fixed already. But after building Tink with the new sources from Git it's only solving the dependency issue during the pip installation. But when using Tink it's raising an error and requesting to downgrade:
|
@dega2 thanks for testing this. Could you please provide some more details on your setup? E.g., which version of |
@morambro thank you for your reply. |
…ersions See GHSA-8gq9-2x98-w8hf tink-crypto/tink#695 PiperOrigin-RevId: 558051203 Change-Id: I86399716b62f254f5a756f6f6cb83d0a262a0927
…ersions See GHSA-8gq9-2x98-w8hf #695 PiperOrigin-RevId: 558051203
When trying to install it with googleapis-common-protos the following issue seems to be present.
Tink requires protobuf version 3.20.1 but it is not supported by the googleapis-common-protos and hence dependency resolving fails.
I am using poetry to manage deps
The text was updated successfully, but these errors were encountered: