post_release.py: replace deprecated StrictVersion() from distutils with parse_version() setuptools
./post_release.py:5: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
Let's do exactly what they recommend and use parse_version()
from
pkg_resources
(part of setuptools
).