nipype icon indicating copy to clipboard operation
nipype copied to clipboard

Move from LooseVersion to packaging.version.Version where sensible

Open effigies opened this issue 3 years ago • 0 comments

Summary

distutils is deprecated. I'm vendoring LooseVersion in #3458. However there are many places we use it where packaging.version.Version would be more appropriate.

We need LooseVersion to handle non-Python tools, which don't follow PEP-440, and in some places the same tooling needs to handle Python and non-Python tools alike. In all other places, we should switch version handling of Python packages to Version.

effigies avatar May 10 '22 17:05 effigies