lap
lap copied to clipboard
Remove deprecated LooseVersion from distutils
This particular usage of distutils concerns the install (setup.py):
setup.py:87: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
if LooseVersion(cython_version) < LooseVersion('0.21'):
Either bundle some solution a la scipy._lib._pep440 or switch to the packaging package using packaging.version.Version
.