-
Notifications
You must be signed in to change notification settings - Fork 1k
fix: Use urllib instead of curl #302
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool
I'll have to revert this, it looks like urllib has no notion of certificate validity. @kumaraditya303 |
urllib does not know which certificates and good and which are bad.
@pavelfeldman As per the python urllib documentation from python2.7 onwards |
Yeah, it did not recognize cdn certificate for me when running locally on my Mac. Not sure why. |
@pavelfeldman What python version are you using? Did you built python from
source or installed binary ?
…On Sun, Nov 22, 2020, 21:42 Pavel Feldman ***@***.***> wrote:
@kumaraditya303 <https://github.com/kumaraditya303> plausible
explanation:
https://stackoverflow.com/questions/42098126/mac-osx-python-ssl-sslerror-ssl-certificate-verify-failed-certificate-verify
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#302 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOGYUZTP6ZG2XGDRGX2NLETSRE2ALANCNFSM4TYDRTPA>
.
|
I think it was 3.8 on my mac, don't remember how it was installed, definitely not from source. Are you saying this stack overflow response is not correct? It explains the behavior. |
There is a bug in python for mac where you have manually correct your ssl certificates in python, and I think that you are missing that step, use this command to fix it - |
Fixes #301
Use urllib instead of curl for downloading zip files.