You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trac #34211: Fix bug due to a call to SSLContext() in src/sage/graphs/isgci.py
{{{
sage: graph_classes._download_db()
------------------------------------------------------------------------
---
NameError Traceback (most recent call
last)
<ipython-input-1-3914f28ce325> in <module>
----> 1 graph_classes._download_db()
/home/dcoudert/sage/local/var/lib/sage/venv-python3.10/lib64/python3.10
/site-packages/sage/graphs/isgci.py in _download_db(self)
829 import tempfile
830 u = urlopen('https://www.graphclasses.org/data.zip',
--> 831 context=SSLContext())
832 with tempfile.NamedTemporaryFile(suffix=".zip") as f:
833 f.write(u.read())
NameError: name 'SSLContext' is not defined
}}}
This bug was fixed in #33771, replacing the call to `SSLContext()` in
`src/sage/graphs/isgci.py` with a call to `default_context()`, but this
changes has been reverted in #33829.
----
Dependency on #34079 since it modifies this file.
URL: https://trac.sagemath.org/34211
Reported by: dcoudert
Ticket author(s): David Coudert
Reviewer(s): Dima Pasechnik
0 commit comments