_get_latest_release_url() doesn't work in Python 3.9 because json.loads uses removed in Python 3.9 argument encoding.
From Python 3.9 changelog:
The encoding parameter of json.loads() has been removed. As of Python 3.1, it was deprecated and ignored; using it has emitted a DeprecationWarning since Python 3.8.
_get_latest_release_url()
doesn't work in Python 3.9 becausejson.loads
uses removed in Python 3.9 argumentencoding
.From Python 3.9 changelog: