Skip to content

Commit 4071125

Browse files
authored
Fix the upstream-dev pandas build failure (#4138)
* use the scipy-wheels-nightly repository for numpy, scipy and pandas * update the repository url * avoid installing over the conda packages * use the repository as a package index * run the uninstall with -y * use the correct url for the scipy-wheels-nightly repository
1 parent 2a288f6 commit 4071125

File tree

1 file changed

+22
-5
lines changed

1 file changed

+22
-5
lines changed

ci/azure/install.yml

Lines changed: 22 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,32 @@ steps:
1212

1313
- bash: |
1414
source activate xarray-tests
15+
conda uninstall -y --force \
16+
numpy \
17+
scipy \
18+
pandas \
19+
matplotlib \
20+
dask \
21+
distributed \
22+
zarr \
23+
cftime \
24+
rasterio \
25+
pint \
26+
bottleneck
1527
python -m pip install \
16-
-f https://7933911d6844c6c53a7d-47bd50c35cd79bd838daf386af554a83.ssl.cf2.rackcdn.com \
28+
-i https://pypi.anaconda.org/scipy-wheels-nightly/simple \
1729
--no-deps \
1830
--pre \
1931
--upgrade \
20-
matplotlib \
2132
numpy \
22-
scipy
33+
scipy \
34+
pandas
35+
python -m pip install \
36+
-f https://7933911d6844c6c53a7d-47bd50c35cd79bd838daf386af554a83.ssl.cf2.rackcdn.com \
37+
--no-deps \
38+
--pre \
39+
--upgrade \
40+
matplotlib
2341
python -m pip install \
2442
--no-deps \
2543
--upgrade \
@@ -29,8 +47,7 @@ steps:
2947
git+https://github.com/Unidata/cftime \
3048
git+https://github.com/mapbox/rasterio \
3149
git+https://github.com/hgrecco/pint \
32-
git+https://github.com/pydata/bottleneck \
33-
git+https://github.com/pandas-dev/pandas
50+
git+https://github.com/pydata/bottleneck
3451
condition: eq(variables['UPSTREAM_DEV'], 'true')
3552
displayName: Install upstream dev dependencies
3653

0 commit comments

Comments
 (0)