-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
urllib3 version 2 incompatibility #636
Comments
It looks like this warning comes from the use of botocore: https://urllib3.readthedocs.io/en/stable/v2-migration-guide.html
botocore is required for the use of Amazon S3 or S3 emulating endpoints like the Cloudian Hyperstore ( botocore has the following pin on <2 to support Amazon Linux 2 and AWS Lambda. https://github.com/boto/botocore/blob/develop/setup.py#L25-L33 Does the latest CaveClient need urllib>=2? What kind of resolution would you like to see? There is significant use of S3 and S3 emulating endpoints by CloudVolume and CloudFiles users. |
Yup, that totally checks out. The most recent version of caveclient added some increased retry configuration that used on an import that does not work in urllib3 1.x.x. I'm honestly not sure what the right answer for us is — it feels pretty negligent of the botocore package to not support a well-telegraphed version change after well more than a year, but it's also critical functionality as you point out. |
Hmm have you considered using https://github.com/jd/tenacity for the retry function? That might get you out of the jam. |
We are starting to use some code in caveclient that requires urllib3 version 2, but with urllib3, e.g. version 2.2.3,
import cloudvolume
raises the error:cannot import name 'DEFAULT_CIPHERS' from 'urllib3.util.ssl_
This seems to be a breaking change in urllib3 between version 1.x.x and 2.x.x, but that version req is not enforced by requirements.txt from cloudvolume. It would be nice to be compatible with recent versions of urllib3.
The text was updated successfully, but these errors were encountered: