-
Notifications
You must be signed in to change notification settings - Fork 990
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
Fix quimb version checking #3378
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the quick fix!
QUIMB_VERSION = tuple(int(x) for x in quimb.__version__.split('.')) | ||
|
||
# coverage: ignore | ||
def _get_quimb_version(): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we have a short docstring (specifically what it is returning)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added!
Thanks! |
Making quimb version check more robust.
In some systems the version might not be parseable as (int,int), e.g
0+unknown
.This PR fixes these scenarios.
Fixes #3263.