Mypy was failing for me locally on Fedora 39 with Python 3.12 due to missing distutils module.
I modified the deprecated get_strict_version function so that we raise explicitly for python 3.12 and above. This also fixed the mypy error.
Other drive-by changes:
Bump mypy version to 1.10.0 (needed to add a bunch of new type: ignore statements)
Mypy was failing for me locally on Fedora 39 with Python 3.12 due to missing
distutils
module. I modified the deprecatedget_strict_version
function so that we raise explicitly for python 3.12 and above. This also fixed the mypy error.Other drive-by changes: