-
Notifications
You must be signed in to change notification settings - Fork 339
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
Remove usage of distutils
#1306
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1306 +/- ##
=======================================
Coverage 97.09% 97.09%
=======================================
Files 73 73
Lines 7169 7169
=======================================
Hits 6961 6961
Misses 208 208
Continue to review full report at Codecov.
|
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.
Add packaging
to the dependencies. My take on dependencies is that if it's imported by one of our modules then we should add it as a dependency.
setup.cfg
Outdated
@@ -50,6 +50,7 @@ install_requires = | |||
setuptools >= 41.2 | |||
tqdm >= 4.41.0 | |||
xarray >= 0.14.0 | |||
packaging |
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.
I'm surprised black
and/or pre-commit
are not complaining that this is not alphabetized.
distutils
has just been deprecated, so this PR is to remove usage of distutils in one file. In particular, I replaceddistutils.version.StrictVersion
withpackaging.version.Version
. I don't know yet if I need to addpackaging
as a dependency.Closes #1293.