File tree Expand file tree Collapse file tree 1 file changed +23
-6
lines changed Expand file tree Collapse file tree 1 file changed +23
-6
lines changed Original file line number Diff line number Diff line change 40
40
DEPS = [
41
41
# Direct dependencies.
42
42
43
- #Dependency('xarray', install='0.10.0', min=None),
44
43
Dependency ('f90nml' , install = '1.0.2' , min = None ),
45
44
46
45
# Indirect dependencies.
52
51
# bugs where the latest version is binary incompatible with older versions of numpy.
53
52
# And since we can't update numpy ourselves, we need to use older versions of those indirect
54
53
# dependencies which are built against older versions of numpy.
55
-
56
- # https://github.com/pandas-dev/pandas/issues/18967
57
- #Dependency('pandas', install='0.20.3', min=None) # for xarray
58
54
]
59
55
# For some packages we need to use different versions depending on the Python version used.
60
56
if PY_MAJORMINOR == ('3' , '6' ):
63
59
Dependency ('netCDF4' ,
64
60
install = '1.2.9' ,
65
61
min = 'None' ),
62
+ # dependency of netCDF4
63
+ Dependency ('cftime' ,
64
+ install = '1.5.1' ,
65
+ min = 'None' ),
66
66
]
67
- # QGIS 3.16
68
67
elif PY_MAJORMINOR == ('3' , '7' ):
69
68
DEPS += [
70
69
Dependency ('netCDF4' ,
71
70
install = '1.4.2' ,
72
71
min = 'None' ),
72
+ # dependency of netCDF4
73
+ Dependency ('cftime' ,
74
+ install = '1.5.1' ,
75
+ min = 'None' ),
73
76
]
74
- # QGIS 3.18+
75
77
elif PY_MAJORMINOR == ('3' , '9' ):
76
78
DEPS += [
77
79
Dependency ('netCDF4' ,
78
80
install = '1.5.7' ,
79
81
min = 'None' ),
82
+ # dependency of netCDF4
83
+ Dependency ('cftime' ,
84
+ install = '1.5.1' ,
85
+ min = 'None' ),
86
+ ]
87
+ # best effort
88
+ else :
89
+ DEPS += [
90
+ Dependency ('netCDF4' ,
91
+ install = '1.*' ,
92
+ min = 'None' ),
93
+ # dependency of netCDF4
94
+ Dependency ('cftime' ,
95
+ install = '1.*' ,
96
+ min = 'None' ),
80
97
]
81
98
82
99
# Use a custom folder for the packages to avoid polluting the per-user site-packages.
You can’t perform that action at this time.
0 commit comments