home-assistant-libs/pychromecast

Python 3.10 Depreciation Warning ssl.SSLContext()

NickWaterton opened this issue · 0 comments

Using PyChromecast with Python 3.10, I get the following warnings:

/usr/local/lib/python3.10/dist-packages/pychromecast/dial.py:102: DeprecationWarning:ssl.SSLContext() without protocol argument is deprecated.
/usr/local/lib/python3.10/dist-packages/pychromecast/dial.py:102: DeprecationWarning:ssl.PROTOCOL_TLS is deprecated

dial.py Needs updating.