File tree 6 files changed +34
-22
lines changed
6 files changed +34
-22
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,6 @@ dependencies:
11
11
- pytest-env
12
12
- pytest-xdist
13
13
- pytest-timeout
14
- - numpy=1.23
14
+ - numpy=1.24
15
15
- packaging=23.1
16
- - pandas=2.0
16
+ - pandas=2.1
Original file line number Diff line number Diff line change @@ -9,37 +9,37 @@ dependencies:
9
9
# doc/user-guide/installing.rst, doc/user-guide/plotting.rst and setup.py.
10
10
- python=3.10
11
11
- array-api-strict=1.0 # dependency for testing the array api compat
12
- - boto3=1.26
12
+ - boto3=1.28
13
13
- bottleneck=1.3
14
- - cartopy=0.21
14
+ - cartopy=0.22
15
15
- cftime=1.6
16
16
- coveralls
17
- - dask-core=2023.4
18
- - distributed=2023.4
17
+ - dask-core=2023.9
18
+ - distributed=2023.9
19
19
# Flox > 0.8 has a bug with numbagg versions
20
20
# It will require numbagg > 0.6
21
21
# so we should just skip that series eventually
22
22
# or keep flox pinned for longer than necessary
23
23
- flox=0.7
24
- - h5netcdf=1.1
24
+ - h5netcdf=1.2
25
25
# h5py and hdf5 tend to cause conflicts
26
26
# for e.g. hdf5 1.12 conflicts with h5py=3.1
27
27
# prioritize bumping other packages instead
28
28
- h5py=3.8
29
29
- hdf5=1.12
30
30
- hypothesis
31
- - iris=3.4
31
+ - iris=3.7
32
32
- lxml=4.9 # Optional dep of pydap
33
33
- matplotlib-base=3.7
34
34
- nc-time-axis=1.4
35
35
# netcdf follows a 1.major.minor[.patch] convention
36
36
# (see https://github.com/Unidata/netcdf4-python/issues/1090)
37
37
- netcdf4=1.6.0
38
- - numba=0.56
38
+ - numba=0.57
39
39
- numbagg=0.2.1
40
- - numpy=1.23
40
+ - numpy=1.24
41
41
- packaging=23.1
42
- - pandas=2.0
42
+ - pandas=2.1
43
43
- pint=0.22
44
44
- pip
45
45
- pydap=3.4
@@ -49,9 +49,9 @@ dependencies:
49
49
- pytest-xdist
50
50
- pytest-timeout
51
51
- rasterio=1.3
52
- - scipy=1.10
52
+ - scipy=1.11
53
53
- seaborn=0.12
54
54
- sparse=0.14
55
55
- toolz=0.12
56
- - typing_extensions=4.5
57
- - zarr=2.14
56
+ - typing_extensions=4.7
57
+ - zarr=2.16
Original file line number Diff line number Diff line change @@ -35,6 +35,24 @@ New Features
35
35
Breaking changes
36
36
~~~~~~~~~~~~~~~~
37
37
- Support for ``python 3.9 `` has been dropped (:pull: `8937 `)
38
+ - The minimum versions of some dependencies were changed, in particular our minimum supported pandas version is now Pandas 2.
39
+
40
+ ===================== ========= =======
41
+ Package Old New
42
+ ===================== ========= =======
43
+ boto3 1.26 1.28
44
+ cartopy 0.21 0.22
45
+ dask-core 2023.4 2023.9
46
+ distributed 2023.4 2023.9
47
+ h5netcdf 1.1 1.2
48
+ iris 3.4 3.7
49
+ numba 0.56 0.57
50
+ numpy 1.23 1.24
51
+ pandas 2.0 2.1
52
+ scipy 1.10 1.11
53
+ typing_extensions 4.5 4.7
54
+ zarr 2.14 2.16
55
+ ===================== ========= =======
38
56
39
57
40
58
Deprecations
Original file line number Diff line number Diff line change @@ -22,9 +22,9 @@ readme = "README.md"
22
22
requires-python = " >=3.10"
23
23
24
24
dependencies = [
25
- " numpy>=1.23 " ,
25
+ " numpy>=1.24 " ,
26
26
" packaging>=23.1" ,
27
- " pandas>=2.0 " ,
27
+ " pandas>=2.1 " ,
28
28
]
29
29
30
30
[project .optional-dependencies ]
Original file line number Diff line number Diff line change @@ -134,7 +134,6 @@ def _importorskip(
134
134
has_pint , requires_pint = _importorskip ("pint" )
135
135
has_numexpr , requires_numexpr = _importorskip ("numexpr" )
136
136
has_flox , requires_flox = _importorskip ("flox" )
137
- has_pandas_ge_2_1 , __ = _importorskip ("pandas" , "2.1" )
138
137
has_pandas_ge_2_2 , __ = _importorskip ("pandas" , "2.2" )
139
138
has_pandas_3 , requires_pandas_3 = _importorskip ("pandas" , "3.0.0.dev0" )
140
139
Original file line number Diff line number Diff line change 29
29
create_test_data ,
30
30
has_cftime ,
31
31
has_flox ,
32
- has_pandas_ge_2_1 ,
33
32
requires_cftime ,
34
33
requires_dask ,
35
34
requires_flox ,
@@ -135,10 +134,6 @@ def test_multi_index_groupby_sum() -> None:
135
134
)
136
135
assert_equal (expected , ds )
137
136
138
- if not has_pandas_ge_2_1 :
139
- # the next line triggers a mysterious multiindex error on pandas 2.0
140
- return
141
-
142
137
actual = ds .stack (space = ["x" , "y" ]).groupby ("space" ).sum (...).unstack ("space" )
143
138
assert_equal (expected , actual )
144
139
You can’t perform that action at this time.
0 commit comments