| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
There was a problem hiding this comment.
Ideally we wouldn't have this dependency, I just missed it during reviews. It is fairly basic parsing and I will look into replacing the package with just an inlined function, unless you would like to first of course!
Sorry, something went wrong.
|
@csmarchbanks removed packaging in favor of simple tuples, i think that should be enough. |
Sorry, something went wrong.
| if not version_str: | ||
| return (0, 0, 0) | ||
| try: | ||
| return tuple(int(x) for x in version_str.split('.')) |
There was a problem hiding this comment.
I'm not sure if we have to expect some odd version here or if they are all normal and will convert to int.
Sorry, something went wrong.
Signed-off-by: Ruslan Kuprieiev <kupruser@gmail.com>
There was a problem hiding this comment.
Thanks! A couple things I think we should support just to be on the safe side:
A test for a few different permutations of versions would be great as well
Sorry, something went wrong.
|
Just a friendly bump on my previous comments. I can also do the modifications myself if you do not have the time! |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Fixes #1135