Skip to content
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

Remove warnings created by version checks #261

Merged

Conversation

LilianBoulard
Copy link
Member

@LilianBoulard LilianBoulard commented Jun 7, 2022

Fixes #260 by replacing distutils.version.LooseVersion by packaging.version.Version.
Therefore, it also adds packaging to the requirements.

@GaelVaroquaux
Copy link
Member

I'm not very happy about adding a requirement, I must say. Every requirement is an additional liability and amount of work for a user.

@LilianBoulard
Copy link
Member Author

Following the previous point, I've added a little replacement class that works pretty much like the two other packages.
I believe it should be enough for our needs !

@GaelVaroquaux
Copy link
Member

I like the idea, but we have a lot of failing tests right now :)

@LilianBoulard
Copy link
Member Author

Should be good now !

@GaelVaroquaux
Copy link
Member

That's great! Thanks a lot. Merging!

@GaelVaroquaux GaelVaroquaux merged commit 5f75750 into skrub-data:master Jul 4, 2022
@LilianBoulard LilianBoulard deleted the fix_distutil_deprecation branch July 4, 2022 18:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
2 participants