cohere-python icon indicating copy to clipboard operation
cohere-python copied to clipboard

About making botocore an optional dependency

Open pushkarnimkar opened this issue 1 year ago • 1 comments

Describe the improvement

I am installing cohere-python in a docker image. I don't use any AWS service, nevertheless the library still installs the boto3 dependency that takes around 25 MB of space. Removing the dependency or making it optional can reduce size of the image.

Example of optional dependencies when using poetry.

Thank you!

pushkarnimkar avatar Aug 07 '24 00:08 pushkarnimkar

Hello! Just checking again to see if there's any interest :)

pushkarnimkar avatar Sep 18 '24 23:09 pushkarnimkar

Edit: Looks like this change was already made in 5.11.1 and I just missed it. Thanks!

jjfeore avatar Nov 07 '24 22:11 jjfeore