You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would be really nice if pip "extras" were used in the tink python package so that we could select those as optional dependencies only if we needed them, ie to install them all it'd be something like:
pip install tink tink[gcpkms] tink[awskms]
Have you considered any alternative solutions?
I considered staying in 1.7.0 but a vulnerable protobuf lib is used so I prefer not to.
The text was updated successfully, but these errors were encountered:
Hi @darkvertex, the reason for these dependencies is that we have stopped depending on tink-cc-awskms and tink-cc-gcpkms for implementing KMS integrations, and instead use native Python implementations.
Would be really nice if pip "extras" were used in the tink python package so that we could select those as optional dependencies only if we needed them, ie to install them all it'd be something like:
This allows users that `pip install tink` to avoid taking extra KMS dependencies if they don't need them. KMS deps will need to be explicitly installed with `pip install tink[EXTENSION]`. When the extensions are not installed `import tink.integration.gcpkms` will raise an `ImportError` exception.
This change adds two extra requirements files and generates `requirements.txt` and `requirements_all.txt` from setup.py.
#14
PiperOrigin-RevId: 565596390
Change-Id: Ieff34f9a53f455f52425b56871d3e22acedb5eb9
This allows users that `pip install tink` to avoid taking extra KMS dependencies if they don't need them. KMS deps will need to be explicitly installed with `pip install tink[EXTENSION]`. When the extensions are not installed `import tink.integration.gcpkms` will raise an `ImportError` exception.
This change adds two extra requirements files and generates `requirements.txt` and `requirements_all.txt` from setup.py.
tink-crypto/tink-py#14
PiperOrigin-RevId: 565596390
What sort of feature would you like to see?
tink 1.7.0 was relatively lightweight to install:
https://github.com/google/tink/blob/1.7/python/requirements.txt
but 1.8.0 with its integrations with GCP and AWS KMS brings a lot of dependencies along with it:
https://github.com/tink-crypto/tink-py/blob/5934f47df29666ccadaa5ff4cc2ba626f82bcdf5/requirements.in
Would be really nice if pip "extras" were used in the tink python package so that we could select those as optional dependencies only if we needed them, ie to install them all it'd be something like:
pip install tink tink[gcpkms] tink[awskms]
Have you considered any alternative solutions?
I considered staying in 1.7.0 but a vulnerable protobuf lib is used so I prefer not to.
The text was updated successfully, but these errors were encountered: