11#! /usr/bin/env bash
22
33if which micromamba > /dev/null; then
4- conda=micromamba
4+ conda=micromamba
55elif which mamba > /dev/null; then
6- conda=mamba
6+ conda=mamba
77else
8- conda=conda
8+ conda=conda
99fi
1010
1111# temporarily (?) remove numbagg and numba
@@ -14,53 +14,53 @@ $conda remove -y numba numbagg sparse
1414$conda remove -y numexpr
1515# forcibly remove packages to avoid artifacts
1616$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
2828
2929# to limit the runtime of Upstream CI
3030python -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
3939# for some reason pandas depends on pyarrow already.
4040# Remove once a `pyarrow` version compiled with `numpy>=2.0` is on `conda-forge`
4141python -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
4848# manually install `pint`, `donfig`, and `crc32c` to pull in new dependencies
4949python -m pip install --upgrade pint donfig crc32c
5050python -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