Skip to content

Commit 27490e5

Browse files
log dependency changes, fix mean_squared_error signature change
1 parent ffa84c9 commit 27490e5

File tree

2 files changed

+26
-8
lines changed

2 files changed

+26
-8
lines changed

CHANGELOG.md

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,30 @@ Code freeze date: YYYY-MM-DD
1212

1313
Added:
1414

15+
- `bayesian-optimization` >=1.5,<2.0
16+
- `deprecation` >=2.1
1517
- `fiona` >=1.10
18+
- `peewee` >=3.17
19+
- `pyarrow` >=20.0
1620

1721
Updated:
1822

19-
- `geopandas` >=0.14,<1.0 → >=0.14
20-
- `pandas` >=2.1,<2.2 → >=2.1
23+
- `bayesian-optimization` =1.5 &rarr; nan
24+
- `bottleneck` >=1.4 &rarr; >=1.5
25+
- `dask` >=2025.2 &rarr; >=2025.5
26+
- `deprecation` =2.1 &rarr; nan
27+
- `eccodes` >=2.40 &rarr; >=2.41
28+
- `geopandas` >=0.14,<1.0 &rarr; >=0.14
29+
- `h5py` >=3.12 &rarr; >=3.13
30+
- `openpyxl` >=3.1 &rarr; >=3.0
31+
- `pandas` >=2.1,<2.2 &rarr; >=2.1
32+
- `peewee` =3.17 &rarr; nan
33+
- `pillow` =11.1 &rarr; =11.3
34+
- `rtree` >=1.3,<1.4 &rarr; >=1.3
35+
- `scikit-learn` >=1.6 &rarr; >=1.7
36+
- `scipy` >=1.14,<1.15 &rarr; >=1.14
37+
- `sparse` >=0.15 &rarr; >=0.17
38+
- `xarray` >=2025.1 &rarr; >=2025.6
2139

2240
Removed:
2341

climada/test/test_util_calibrate.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -161,12 +161,12 @@ def setUp(self) -> None:
161161
]
162162
)
163163
self.input = Input(
164-
self.hazard,
165-
self.exposure,
166-
self.data,
167-
self.impact_func_creator,
168-
self.impact_to_dataframe,
169-
mean_squared_error,
164+
hazard=self.hazard,
165+
exposure=self.exposure,
166+
data=self.data,
167+
impact_func_creator=self.impact_func_creator,
168+
impact_to_dataframe=self.impact_to_dataframe,
169+
cost_func=lambda x, y, w: mean_squared_error(x, y, sample_weight=w),
170170
)
171171

172172
def test_single(self):

0 commit comments

Comments
 (0)