1
1
#! /usr/bin/env bash
2
2
3
3
if which micromamba > /dev/null; then
4
- conda=micromamba
4
+ conda=micromamba
5
5
elif which mamba > /dev/null; then
6
- conda=mamba
6
+ conda=mamba
7
7
else
8
- conda=conda
8
+ conda=conda
9
9
fi
10
10
11
11
# temporarily (?) remove numbagg and numba
@@ -14,53 +14,53 @@ $conda remove -y numba numbagg sparse
14
14
$conda remove -y numexpr
15
15
# forcibly remove packages to avoid artifacts
16
16
$conda remove -y --force \
17
- numpy \
18
- scipy \
19
- pandas \
20
- distributed \
21
- fsspec \
22
- zarr \
23
- cftime \
24
- packaging \
25
- bottleneck \
26
- flox
27
- # pint
17
+ numpy \
18
+ scipy \
19
+ pandas \
20
+ distributed \
21
+ fsspec \
22
+ zarr \
23
+ cftime \
24
+ packaging \
25
+ bottleneck \
26
+ flox
27
+ # pint
28
28
29
29
# to limit the runtime of Upstream CI
30
30
python -m pip install \
31
- -i https://pypi.anaconda.org/scientific-python-nightly-wheels/simple \
32
- --no-deps \
33
- --pre \
34
- --upgrade \
35
- numpy \
36
- scipy \
37
- matplotlib \
38
- pandas
31
+ -i https://pypi.anaconda.org/scientific-python-nightly-wheels/simple \
32
+ --no-deps \
33
+ --pre \
34
+ --upgrade \
35
+ numpy \
36
+ scipy \
37
+ matplotlib \
38
+ pandas
39
39
# for some reason pandas depends on pyarrow already.
40
40
# Remove once a `pyarrow` version compiled with `numpy>=2.0` is on `conda-forge`
41
41
python -m pip install \
42
- -i https://pypi.fury.io/arrow-nightlies/ \
43
- --prefer-binary \
44
- --no-deps \
45
- --pre \
46
- --upgrade \
47
- pyarrow
42
+ -i https://pypi.fury.io/arrow-nightlies/ \
43
+ --prefer-binary \
44
+ --no-deps \
45
+ --pre \
46
+ --upgrade \
47
+ pyarrow
48
48
# manually install `pint`, `donfig`, and `crc32c` to pull in new dependencies
49
49
python -m pip install --upgrade pint donfig crc32c
50
50
python -m pip install \
51
- --no-deps \
52
- --upgrade \
53
- git+https://github.com/dask/dask \
54
- git+https://github.com/dask/dask-expr \
55
- git+https://github.com/dask/distributed \
56
- git+https://github.com/zarr-developers/zarr-python.git@main \
57
- git+https://github.com/Unidata/cftime \
58
- git+https://github.com/pypa/packaging \
59
- git+https://github.com/hgrecco/pint \
60
- git+https://github.com/pydata/bottleneck \
61
- git+https://github.com/intake/filesystem_spec \
62
- git+https://github.com/SciTools/nc-time-axis \
63
- git+https://github.com/xarray-contrib/flox \
64
- git+https://github.com/h5netcdf/h5netcdf \
65
- git+https://github.com/dgasmith/opt_einsum
66
- # git+https://github.com/pydata/sparse
51
+ --no-deps \
52
+ --upgrade \
53
+ git+https://github.com/dask/dask \
54
+ git+https://github.com/dask/dask-expr \
55
+ git+https://github.com/dask/distributed \
56
+ git+https://github.com/zarr-developers/zarr-python \
57
+ git+https://github.com/Unidata/cftime \
58
+ git+https://github.com/pypa/packaging \
59
+ git+https://github.com/hgrecco/pint \
60
+ git+https://github.com/pydata/bottleneck \
61
+ git+https://github.com/intake/filesystem_spec \
62
+ git+https://github.com/SciTools/nc-time-axis \
63
+ git+https://github.com/xarray-contrib/flox \
64
+ git+https://github.com/h5netcdf/h5netcdf \
65
+ git+https://github.com/dgasmith/opt_einsum
66
+ # git+https://github.com/pydata/sparse
0 commit comments