lap icon indicating copy to clipboard operation
lap copied to clipboard

Remove deprecated LooseVersion from distutils

Open gatagat opened this issue 3 years ago • 0 comments

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.

gatagat avatar Feb 13 '22 20:02 gatagat