We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent adcde0f commit 7d0ba25Copy full SHA for 7d0ba25
cf_xarray/tests/__init__.py
@@ -4,6 +4,7 @@
4
5
import dask
6
import pytest
7
+from packaging import version
8
9
10
@contextmanager
@@ -59,7 +60,7 @@ def LooseVersion(vstring):
59
60
# Our development version is something like '0.10.9+aac7bfc'
61
# This function just ignored the git commit id.
62
vstring = vstring.split("+")[0]
- return version.LooseVersion(vstring)
63
+ return version.parse(vstring)
64
65
66
has_cftime, requires_cftime = _importorskip("cftime")
0 commit comments