-
Notifications
You must be signed in to change notification settings - Fork 898
Improve version comparison in check_schema_version util function #2230
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
Conversation
sbadithe
commented
Aug 7, 2022
- Fixes Improve version comparison in check_schema_version util function #2154
|
||
from packaging.version import parse |
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.
packaging
needs to be added to setup.cfg in install_requires
. It's not a part of Python standard
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.
once setup.cfg
is updated, I'll approve
…turetools into check_schema_version
@@ -49,6 +49,7 @@ install_requires = | |||
holidays >= 0.13 | |||
numpy >= 1.21.0 | |||
pandas >= 1.3.0 | |||
packaging >= 20.0 |
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.
It looks like distributed
has packaging >= 20.0
as a req so I put this as the minimal version. It's also the release of packaging
that supports Python3.8
Codecov Report
@@ Coverage Diff @@
## main #2230 +/- ##
==========================================
- Coverage 99.29% 99.29% -0.01%
==========================================
Files 146 146
Lines 17583 17577 -6
==========================================
- Hits 17459 17453 -6
Misses 124 124
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |