Skip to content

BUG Fixes version checks #579

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

Merged
merged 3 commits into from
Feb 8, 2020

Conversation

thomasjpfan
Copy link
Member

Fixes #577 by using:

from distutils.version import LooseVersion

@BenjaminBossan
Copy link
Collaborator

I wonder, is it better than adding the pretty standard packaging as a dependency?

@thomasjpfan
Copy link
Member Author

I am +0.5 on using the distutils since it is a part of python and it is fairly simple to use.

@BenjaminBossan
Copy link
Collaborator

According to the answers to this question, LooseVersion is not compliant with the most recent PEP regarding versioning. Probably it makes no difference for us though.

I have personally no strong opinion overall. So I guess +0.5 from me as well :)

@BenjaminBossan
Copy link
Collaborator

@ottonemo Any opinions here? Otherwise, I think we can proceed.

@BenjaminBossan
Copy link
Collaborator

@thomasjpfan I think it's good to go.

@thomasjpfan
Copy link
Member Author

I agree. (I normally do not merge my own PRs lol)

@BenjaminBossan BenjaminBossan merged commit f2e6f84 into skorch-dev:master Feb 8, 2020
@BenjaminBossan
Copy link
Collaborator

Thx, Thomas

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.

ModuleNotFoundError: No module named 'packaging' after installing skorch
2 participants