-
Notifications
You must be signed in to change notification settings - Fork 480
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
SNOW-926289: Why is urllib3 both vendored and marked as a dependency? #1743
Comments
@sfc-gh-mkeller : Are you aware of any reasons? It does feel like we could remove |
I'm looking into this. |
A thing to consider: https://nvd.nist.gov/vuln/detail/CVE-2023-43804 applies to the currently vendored version of urllib3 and snowflake-connector-python could be (is) blocked from use in some organizations. |
So the reason why we have a vendored Because of this we both depend on Now where does this dependency come from? I've copied this from our vendored |
I want to be transparent that we have always despised the current way we deal with That being said I'm happy to bump our vendored libraries in the meantime to work around the CVE, we take these very seriously! |
Yes, please do this. |
+1, I have other dependencies that require urllib>2.0 |
For folks reading this after there was a bunch of conversation over on #1793. |
Is there any update on this? It really would be ideal if you didn't have to vendor these libraries. |
What is the current behavior?
Installing snowflake-connector-python installs urllib3 1.26.
What is the desired behavior?
Since snowflake-connector-python vendors urllib3, I would expect to not also install it from pip.
How would this improve
snowflake-connector-python
?It would remove one dependency, while helping the ecosystem move to urllib3 2.0.
References and other background
Disclaimer: I'm an urllib3 maintainer.
The text was updated successfully, but these errors were encountered: