Skip to content

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

Merged
merged 8 commits into from
Aug 8, 2022

Conversation

sbadithe
Copy link
Contributor

@sbadithe sbadithe commented Aug 7, 2022


from packaging.version import parse
Copy link
Contributor

@gsheni gsheni Aug 8, 2022

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

Copy link
Contributor

@gsheni gsheni left a 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

@@ -49,6 +49,7 @@ install_requires =
holidays >= 0.13
numpy >= 1.21.0
pandas >= 1.3.0
packaging >= 20.0
Copy link
Contributor Author

@sbadithe sbadithe Aug 8, 2022

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

@sbadithe sbadithe marked this pull request as ready for review August 8, 2022 19:19
@codecov
Copy link

codecov bot commented Aug 8, 2022

Codecov Report

Merging #2230 (f6fe36f) into main (7f25720) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

@@            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              
Impacted Files Coverage Δ
featuretools/utils/gen_utils.py 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@sbadithe sbadithe merged commit f179300 into main Aug 8, 2022
@sbadithe sbadithe deleted the check_schema_version branch August 8, 2022 19:41
@ozzieD ozzieD mentioned this pull request Aug 18, 2022
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.

Improve version comparison in check_schema_version util function
2 participants