-
-
Notifications
You must be signed in to change notification settings - Fork 491
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
Showing
3 changed files
with
20 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
tarball=configure-VERSION.tar.gz | ||
sha1=901e5c9e8a79b5c68df39b889e8b4698fd230faa | ||
md5=91edef000fa263a8614786c634487b02 | ||
cksum=208681990 | ||
sha1=5e524f1afff2888475c49f1652efc292b3a4c7b6 | ||
md5=c3859fac3716ac64800f176c54389089 | ||
cksum=3271526260 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
461a23c8a43375d7902f3723c313729b2effd62d | ||
02cbc86624701318edfee6cd1c2f59c226f4a588 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters