File tree Expand file tree Collapse file tree 6 files changed +7
-4
lines changed Expand file tree Collapse file tree 6 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -17,3 +17,4 @@ dependencies:
17
17
- geopandas>=0.7.0
18
18
- numba
19
19
- zstd
20
+ - packaging
Original file line number Diff line number Diff line change @@ -19,10 +19,10 @@ dependencies:
19
19
- xarray
20
20
- joblib
21
21
- zstd
22
+ - packaging
22
23
# for docs build action (this env only)
23
24
- nbsphinx
24
25
- numpydoc
25
26
- sphinx>=1.4.3
26
27
- sphinxcontrib-bibtex<2.0.0
27
28
- sphinx_bootstrap_theme
28
-
Original file line number Diff line number Diff line change @@ -19,10 +19,10 @@ dependencies:
19
19
- xarray
20
20
- joblib
21
21
- zstd
22
+ - packaging
22
23
# for docs build action (this env only)
23
24
- nbsphinx
24
25
- numpydoc
25
26
- sphinx>=1.4.3
26
27
- sphinxcontrib-bibtex<2.0.0
27
28
- sphinx_bootstrap_theme
28
-
Original file line number Diff line number Diff line change @@ -32,3 +32,4 @@ dependencies:
32
32
- pytest-cov
33
33
- descartes
34
34
- mapclassify
35
+ - packaging
Original file line number Diff line number Diff line change 14
14
from collections import defaultdict
15
15
from itertools import tee
16
16
from ..common import requires
17
- from distutils .version import LooseVersion
17
+ from packaging .version import Version
18
18
19
19
try :
20
20
import geopandas as gpd
21
21
22
- GPD_08 = str (gpd .__version__ ) >= LooseVersion ("0.8.0" )
22
+ GPD_08 = Version (gpd .__version__ ) >= Version ("0.8.0" )
23
23
except ImportError :
24
24
warn ("geopandas not available. Some functionality will be disabled." )
25
25
Original file line number Diff line number Diff line change @@ -4,3 +4,4 @@ numpy>=1.3
4
4
pandas
5
5
requests
6
6
scipy >= 0.11
7
+ packaging
You can’t perform that action at this time.
0 commit comments