-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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] Do not depend on setuptools>=52 #1235
Conversation
See concerns here #1185 (comment) |
Codecov Report
@@ Coverage Diff @@
## master #1235 +/- ##
=======================================
Coverage 68.28% 68.28%
=======================================
Files 160 160
Lines 10603 10603
Branches 1937 1938 +1
=======================================
Hits 7240 7240
Misses 2979 2979
Partials 384 384
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
@zhouzaida CI passed |
@@ -32,6 +30,6 @@ def parse_version_info(version_str: str, length: int = 4) -> tuple: | |||
return tuple(release) | |||
|
|||
|
|||
version_info = parse_version_info(__version__) | |||
version_info = tuple(int(x) for x in __version__.split('.')[:3]) |
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.
Why do not use parse_version_info here though you wrote it?
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.
When you execute this line during setup, "packaging" may not exist.
No description provided.