Skip to content

Commit ccbab2c

Browse files
authored
Merge pull request #1413 from UXARRAY/rajeeja/upstream_ci_fix
CI Failure Fix: install-upstream.sh
2 parents 88bbc52 + 0f96935 commit ccbab2c

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

ci/install-upstream.sh

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,25 +23,33 @@ pip uninstall -y \
2323
conda list
2424

2525
# if available install from scientific-python nightly wheels
26+
# constrain numpy to <=2.3 until numba supports newer versions
27+
# use stable pandas (not nightly) due to geopandas incompatibility with pandas nightly internals
28+
# (see: https://github.com/UXARRAY/uxarray/issues/1414)
29+
python -m pip install \
30+
'numpy<=2.3' \
31+
'pandas>=2.0.0'
32+
2633
python -m pip install \
2734
-i https://pypi.anaconda.org/scientific-python-nightly-wheels/simple \
2835
--no-deps \
2936
--pre \
3037
--upgrade \
31-
numpy \
32-
pandas \
3338
scikit-learn \
3439
scipy \
35-
geopandas \
3640
xarray
3741

38-
# install rest from source
42+
# install all remaining packages with --no-deps to avoid dependency conflicts
43+
# (dask/distributed versions may drift, geopandas uses stable release for pandas nightly compatibility)
3944
python -m pip install \
45+
--no-deps \
46+
--upgrade \
4047
git+https://github.com/gadomski/antimeridian.git \
4148
git+https://github.com/SciTools/cartopy.git \
4249
git+https://github.com/holoviz/datashader.git \
4350
git+https://github.com/dask/dask.git \
4451
git+https://github.com/dask/distributed.git \
4552
git+https://github.com/holoviz/holoviews.git \
4653
git+https://github.com/shapely/shapely.git \
47-
git+https://github.com/holoviz/spatialpandas.git
54+
git+https://github.com/holoviz/spatialpandas.git \
55+
'geopandas>=1.0.0'

0 commit comments

Comments
 (0)