cloud-files icon indicating copy to clipboard operation
cloud-files copied to clipboard

optional dependency of GCS and AWS S3?

Open xiuliren opened this issue 2 years ago • 1 comments

I encountered some google cloud storage installation issues several times while I was not really using google cloud storage. How about making these dependency optional. Here is an example of how to make it work in python.

BTW, there is a new way to handle optional dependency in pypi now.

xiuliren avatar Sep 17 '22 01:09 xiuliren

Hi Jingpeng! This isn't an unreasonable idea. However, is it possible to do this without breaking existing installations that rely on the default behavior of having everything installed?

Ideally, you would be able to do pip install cloud-files and get the standard installation or do pip install cloud-files[s3] and only get boto.

william-silversmith avatar Sep 17 '22 03:09 william-silversmith

One possibility is to update CloudVolume with a limitation on the major version of CloudFiles, then later on release a breaking change to CloudFiles, and then update CloudVolume again over the period of a few months.

william-silversmith avatar Feb 19 '24 19:02 william-silversmith

Recently, I have installed it several times, and it works smoothly for me.

xiuliren avatar Feb 20 '24 15:02 xiuliren