flatpak-external-data-checker icon indicating copy to clipboard operation
flatpak-external-data-checker copied to clipboard

Stop using deprecated `distutils` module

Open gasinvein opened this issue 1 year ago • 1 comments

Module distutils is deprecated and removed in Python 3.12. We should stop using it for version parsing/comparison, and either implement our custom parser similar to distutils.version.LooseVersion, or extract and bundle it.

gasinvein avatar Mar 05 '23 18:03 gasinvein

Possible alternative: https://packaging.pypa.io/en/stable/version.html#packaging.version.Version.release

Cf. https://github.com/statsmodels/statsmodels/pull/7946/files

Alexander-Wilms avatar Mar 09 '23 20:03 Alexander-Wilms