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:
1717 - geopandas>=0.7.0
1818 - numba
1919 - zstd
20+ - packaging
Original file line number Diff line number Diff line change @@ -19,10 +19,10 @@ dependencies:
1919 - xarray
2020 - joblib
2121 - zstd
22+ - packaging
2223 # for docs build action (this env only)
2324 - nbsphinx
2425 - numpydoc
2526 - sphinx>=1.4.3
2627 - sphinxcontrib-bibtex<2.0.0
2728 - sphinx_bootstrap_theme
28-
Original file line number Diff line number Diff line change @@ -19,10 +19,10 @@ dependencies:
1919 - xarray
2020 - joblib
2121 - zstd
22+ - packaging
2223 # for docs build action (this env only)
2324 - nbsphinx
2425 - numpydoc
2526 - sphinx>=1.4.3
2627 - sphinxcontrib-bibtex<2.0.0
2728 - sphinx_bootstrap_theme
28-
Original file line number Diff line number Diff line change @@ -32,3 +32,4 @@ dependencies:
3232 - pytest-cov
3333 - descartes
3434 - mapclassify
35+ - packaging
Original file line number Diff line number Diff line change 1414from collections import defaultdict
1515from itertools import tee
1616from ..common import requires
17- from distutils .version import LooseVersion
17+ from packaging .version import Version
1818
1919try :
2020 import geopandas as gpd
2121
22- GPD_08 = str (gpd .__version__ ) >= LooseVersion ("0.8.0" )
22+ GPD_08 = Version (gpd .__version__ ) >= Version ("0.8.0" )
2323except ImportError :
2424 warn ("geopandas not available. Some functionality will be disabled." )
2525
Original file line number Diff line number Diff line change @@ -4,3 +4,4 @@ numpy>=1.3
44pandas
55requests
66scipy >= 0.11
7+ packaging
You can’t perform that action at this time.
0 commit comments