-
Notifications
You must be signed in to change notification settings - Fork 287
Description
A contributor to my project recently enabled a test that attempts to download a resource using HTTPS. It seems that running these tests on Azure fails for the OSX environments we have with errors like:
(<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:841)>)
Which leads to issues on github like scikit-learn/scikit-learn#10201 (comment). It seems the "proper" solution is to properly install the SSL certificates that come with the python installation: https://bugs.python.org/issue29480 which can apparently be fixed with:
sudo /Applications/Python\ 3.6/Install\ Certificates.command
I'm not really familiar with how cibuildwheel is using the base image from the build environment, but is this something I should be able to control in my Azure environments? Is this something that can and should be fixed in cibuildwheel? Thanks for any help.
I see there are issues already related to SSL stuff, but they all seem a little different than this or say that this should already be fixed. I must be missing something.