Skip to content

Commit 378b4ac

Browse files
authored
Add yet an other CI for numpy 2.1 (#9540)
1 parent e239389 commit 378b4ac

File tree

2 files changed

+57
-0
lines changed

2 files changed

+57
-0
lines changed

.github/workflows/ci.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@ jobs:
5858
python-version: "3.10"
5959
os: ubuntu-latest
6060
# Latest python version:
61+
- env: "all-but-numba"
62+
python-version: "3.12"
63+
os: ubuntu-latest
6164
- env: "all-but-dask"
6265
# Not 3.12 because of pint
6366
python-version: "3.11"

ci/requirements/all-but-numba.yml

+54
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
name: xarray-tests
2+
channels:
3+
- conda-forge
4+
- nodefaults
5+
dependencies:
6+
# Pin a "very new numpy" (updated Sept 24, 2024)
7+
- numpy>=2.1.1
8+
- aiobotocore
9+
- array-api-strict
10+
- boto3
11+
- bottleneck
12+
- cartopy
13+
- cftime
14+
- dask-core
15+
- dask-expr # dask raises a deprecation warning without this, breaking doctests
16+
- distributed
17+
- flox
18+
- fsspec
19+
- h5netcdf
20+
- h5py
21+
- hdf5
22+
- hypothesis
23+
- iris
24+
- lxml # Optional dep of pydap
25+
- matplotlib-base
26+
- nc-time-axis
27+
- netcdf4
28+
# numba, sparse, numbagg, numexpr often conflicts with newer versions of numpy.
29+
# This environment helps us test xarray with the latest versions
30+
# of numpy
31+
# - numba
32+
# - numbagg
33+
# - numexpr
34+
# - sparse
35+
- opt_einsum
36+
- packaging
37+
- pandas
38+
# - pint>=0.22
39+
- pip
40+
- pooch
41+
- pre-commit
42+
- pyarrow # pandas raises a deprecation warning without this, breaking doctests
43+
- pydap
44+
- pytest
45+
- pytest-cov
46+
- pytest-env
47+
- pytest-xdist
48+
- pytest-timeout
49+
- rasterio
50+
- scipy
51+
- seaborn
52+
- toolz
53+
- typing_extensions
54+
- zarr

0 commit comments

Comments
 (0)