Skip to content

Commit dc900e6

Browse files
committed
o change like NCAR/geocat-comp#782
1 parent adff7af commit dc900e6

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

ci/install-upstream.sh

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/usr/bin/env bash
22
# adapted from https://github.com/pydata/xarray/blob/main/ci/install-upstream-wheels.sh
3+
34
# forcibly remove packages to avoid artifacts
45
conda remove -y --force \
56
cartopy \
@@ -13,37 +14,37 @@ conda remove -y --force \
1314
scipy \
1415
shapely \
1516
xarray
17+
1618
pip uninstall -y \
1719
antimeridian \
1820
spatialpandas
21+
1922
# conda list
2023
conda list
24+
2125
# if available install from scientific-python nightly wheels
2226
python -m pip install \
2327
-i https://pypi.anaconda.org/scientific-python-nightly-wheels/simple \
2428
--no-deps \
2529
--pre \
2630
--upgrade \
2731
numpy \
32+
pandas \
2833
scikit-learn \
2934
scipy \
3035
xarray
31-
# install dask and distributed first with --no-deps to avoid version conflicts
32-
python -m pip install \
33-
--no-deps \
34-
git+https://github.com/dask/dask.git \
35-
git+https://github.com/dask/distributed.git
3636

37-
# install geopandas from stable release (compatible with pandas nightly)
38-
python -m pip install \
39-
'pandas>=2.0.0' \
40-
'geopandas>=1.0.0'
41-
42-
# install rest from source
37+
# install all remaining packages with --no-deps to avoid dependency conflicts
38+
# (dask/distributed versions may drift, geopandas incompatible with pandas nightly internals)
4339
python -m pip install \
40+
--no-deps \
41+
--upgrade \
4442
git+https://github.com/gadomski/antimeridian.git \
4543
git+https://github.com/SciTools/cartopy.git \
4644
git+https://github.com/holoviz/datashader.git \
45+
git+https://github.com/dask/dask.git \
46+
git+https://github.com/dask/distributed.git \
4747
git+https://github.com/holoviz/holoviews.git \
4848
git+https://github.com/shapely/shapely.git \
49-
git+https://github.com/holoviz/spatialpandas.git
49+
git+https://github.com/holoviz/spatialpandas.git \
50+
'geopandas>=1.0.0'

0 commit comments

Comments
 (0)