Skip to content

Move from LooseVersion to packaging.version.Version where sensible #3465

Open
@effigies

Description

@effigies

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions