Skip to content

post_release.py: replace deprecated StrictVersion() from distutils with parse_version() setuptools

Eric Engestrom requested to merge eric/mesa3d.org:parse_version into main

./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).

Merge request reports

Loading