Closed cottsay closed 2 years ago
The distutils package is deprecated. It seems that the 'packaging' package provides is a widely-adopted and viable alternative to LooseVersion.
https://packaging.pypa.io/en/latest/version.html#packaging.version.parse
Alas, most of the versions we're parsing here end up as a LegacyVersion instance, which is also deprecated. So this does not improve the situation.
LegacyVersion
The distutils package is deprecated. It seems that the 'packaging' package provides is a widely-adopted and viable alternative to LooseVersion.
https://packaging.pypa.io/en/latest/version.html#packaging.version.parse