Issue: I don't believe python 3.7 + openssl 3 is supported upstream, conda-forge python 3.7 + openssl 3 fails on windows.
$ python -c "import urllib.request; urllib.request.urlopen('https://google.com')"
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\akrherz\Miniconda3\envs\py37\lib\urllib\request.py", line 222, in urlopen
return opener.open(url, data, timeout)
File "C:\Users\akrherz\Miniconda3\envs\py37\lib\urllib\request.py", line 525, in open
response = self._open(req, data)
File "C:\Users\akrherz\Miniconda3\envs\py37\lib\urllib\request.py", line 543, in _open
'_open', req)
File "C:\Users\akrherz\Miniconda3\envs\py37\lib\urllib\request.py", line 503, in _call_chain
result = func(*args)
File "C:\Users\akrherz\Miniconda3\envs\py37\lib\urllib\request.py", line 1393, in https_open
context=self._context, check_hostname=self._check_hostname)
File "C:\Users\akrherz\Miniconda3\envs\py37\lib\urllib\request.py", line 1318, in do_open
h = http_class(host, timeout=req.timeout, **http_conn_args)
File "C:\Users\akrherz\Miniconda3\envs\py37\lib\http\client.py", line 1416, in __init__
context = ssl._create_default_https_context()
File "C:\Users\akrherz\Miniconda3\envs\py37\lib\ssl.py", line 589, in create_default_context
context.load_default_certs(purpose)
File "C:\Users\akrherz\Miniconda3\envs\py37\lib\ssl.py", line 490, in load_default_certs
self._load_windows_store_certs(storename, purpose)
File "C:\Users\akrherz\Miniconda3\envs\py37\lib\ssl.py", line 482, in _load_windows_store_certs
self.load_verify_locations(cadata=certs)
ssl.SSLError: unknown error (_ssl.c:4034)
Issue: I don't believe python 3.7 + openssl 3 is supported upstream, conda-forge python 3.7 + openssl 3 fails on windows.
Environment (
conda list):Details
Details about
condaand system (conda info):Details
Simple reproducer:
Impact
See failures with conda-forge/cartopy-feedstock#125 for example
Looking upstream at the python git repo, we find Openssl 3 patches on the 3.8 branch, but not the 3.7 branch