Just tried out the latest Sage Docker image and, unlike all previous versions, I can no longer use pip to fetch packages off PyPI:
docker run -it sagemath/sagemath:8.2 /bin/bash
sage@6bf664a266cd:~/sage$ sage -pip install FXrays
pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Collecting FXrays
Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.",)': /simple/fxrays/
[...]
Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.",)': /simple/fxrays/
Could not fetch URL
https://pypi.python.org/simple/fxrays/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='
pypi.python.org', port=443): Max retries exceeded with url: /simple/fxrays/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.",)) - skipping
Could not find a version that satisfies the requirement FXrays (from versions: )
No matching distribution found for FXrays
in the container then pip starts working again. So it looks like Python was compiled with SSL support but somehow the openssl module itself gets removed somewhere in the process.