How to get rid of DeprecationWarnings?

asked 2022-10-01 19:10:34 +0100

Bujumbura gravatar image

How can I get rid of these warnings?

/ext/sage/9.6/local/var/lib/sage/venv-python3.10.3/lib/python3.10/site-packages/sage/databases/oeis.py:203: DeprecationWarning: ssl.SSLContext() without protocol argument is deprecated. DeprecationWarning: ssl.PROTOCOL_TLS is deprecated
f = urlopen(url, context=SSLContext())

edit retag flag offensive close merge delete