Skip to content

Commit 1d8ef90

Browse files
keewisandersy005
authored andcommitted
pin nightly zarr to v2 (#9050)
* explicitly install new zarr dependencies * fall back to `mamba` / `conda` if `micromamba` is not installed * install from `zarr`'s `main` instead
1 parent 4d075e9 commit 1d8ef90

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

ci/install-upstream-wheels.sh

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,21 @@
11
#!/usr/bin/env bash
22

3+
if which micromamba >/dev/null; then
4+
conda=micromamba
5+
elif which mamba >/dev/null; then
6+
conda=mamba
7+
else
8+
conda=conda
9+
fi
10+
311
# temporarily (?) remove numbagg and numba
4-
micromamba remove -y numba numbagg sparse
12+
$conda remove -y numba numbagg sparse
513
# temporarily remove numexpr
6-
micromamba remove -y numexpr
14+
$conda remove -y numexpr
715
# temporarily remove backends
8-
micromamba remove -y cf_units hdf5 h5py netcdf4 pydap
16+
$conda remove -y cf_units hdf5 h5py netcdf4 pydap
917
# forcibly remove packages to avoid artifacts
10-
micromamba remove -y --force \
18+
$conda remove -y --force \
1119
numpy \
1220
scipy \
1321
pandas \
@@ -19,6 +27,7 @@ micromamba remove -y --force \
1927
bottleneck \
2028
flox
2129
# pint
30+
2231
# to limit the runtime of Upstream CI
2332
python -m pip install \
2433
-i https://pypi.anaconda.org/scientific-python-nightly-wheels/simple \
@@ -45,7 +54,7 @@ python -m pip install \
4554
git+https://github.com/dask/dask \
4655
git+https://github.com/dask/dask-expr \
4756
git+https://github.com/dask/distributed \
48-
git+https://github.com/zarr-developers/zarr \
57+
git+https://github.com/zarr-developers/zarr.git@main \
4958
git+https://github.com/Unidata/cftime \
5059
git+https://github.com/pypa/packaging \
5160
git+https://github.com/hgrecco/pint \

0 commit comments

Comments
 (0)