Skip to content

Commit 89889e0

Browse files
committed
o Trying to see if separating the dask/distributed installation with --no-deps before installing the other packages fixes the CI issue
1 parent 88bbc52 commit 89889e0

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

ci/install-upstream.sh

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#!/usr/bin/env bash
22
# adapted from https://github.com/pydata/xarray/blob/main/ci/install-upstream-wheels.sh
3-
43
# forcibly remove packages to avoid artifacts
54
conda remove -y --force \
65
cartopy \
@@ -14,14 +13,11 @@ conda remove -y --force \
1413
scipy \
1514
shapely \
1615
xarray
17-
1816
pip uninstall -y \
1917
antimeridian \
2018
spatialpandas
21-
2219
# conda list
2320
conda list
24-
2521
# if available install from scientific-python nightly wheels
2622
python -m pip install \
2723
-i https://pypi.anaconda.org/scientific-python-nightly-wheels/simple \
@@ -34,14 +30,17 @@ python -m pip install \
3430
scipy \
3531
geopandas \
3632
xarray
33+
# install dask and distributed first with --no-deps to avoid version conflicts
34+
python -m pip install \
35+
--no-deps \
36+
git+https://github.com/dask/dask.git \
37+
git+https://github.com/dask/distributed.git
3738

3839
# install rest from source
3940
python -m pip install \
4041
git+https://github.com/gadomski/antimeridian.git \
4142
git+https://github.com/SciTools/cartopy.git \
4243
git+https://github.com/holoviz/datashader.git \
43-
git+https://github.com/dask/dask.git \
44-
git+https://github.com/dask/distributed.git \
4544
git+https://github.com/holoviz/holoviews.git \
4645
git+https://github.com/shapely/shapely.git \
4746
git+https://github.com/holoviz/spatialpandas.git

0 commit comments

Comments
 (0)