The current requirement for xarray is as follows: https://github.com/openscm/scmdata/blob/edf9b62141c715b1b9a4394b4a7003702e6f3563/pyproject.toml#L42-L45 for python versions 3.10 and later the requirement should be `xarray >= 2025.03`