Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
effigies opened this issue May 10, 2022 · 0 comments
Open

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

effigies opened this issue May 10, 2022 · 0 comments

Comments

@effigies
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant