diff --git a/ci/requirements.txt b/ci/requirements.txt index bebafe2300..55a03e22fd 100644 --- a/ci/requirements.txt +++ b/ci/requirements.txt @@ -1,5 +1,5 @@ matplotlib==3.10.9 -numpy==2.4.6 +numpy==2.5.0 pandas==3.0.3 pooch==1.9.0 pint==0.25.3 diff --git a/pyproject.toml b/pyproject.toml index 7ad5b26abc..179d3a4ebe 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -123,6 +123,13 @@ filterwarnings = [ 'ignore:\nPyarrow will become a required dependency of pandas:DeprecationWarning', # Not yet fixed in xarray "ignore:__array__ implementation doesn't accept a copy keyword:DeprecationWarning", + # Needs an xarray newer than 2026.4.0 + "ignore:The 'generic' unit for NumPy timedelta is deprecated:DeprecationWarning:xarray.core.dtypes:98", + "ignore:Setting the dtype on a NumPy array has been deprecated in NumPy 2.5:DeprecationWarning:xarray.core.variable:241", + # Needs Cartopy newer than 0.25.0 + "ignore:Setting the shape on a NumPy array has been deprecated in NumPy 2.5:DeprecationWarning:cartopy.img_transform:301", + # Need matplotlib >3.10.9 + "ignore:The 'generic' unit for NumPy timedelta is deprecated:DeprecationWarning:matplotlib.dates:328", # Needs matplotlib >=3.10.7 for fixes "ignore:'\\S+' deprecated - use '\\S+':DeprecationWarning:matplotlib._fontconfig_pattern", "ignore:'\\S+' deprecated - use '\\S+':DeprecationWarning:matplotlib._mathtext"