Skip to content

Commit

Permalink
Fix the upstream-dev pandas build failure (#4138)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
keewis authored Jun 11, 2020
1 parent 2a288f6 commit 4071125
Showing 1 changed file with 22 additions and 5 deletions.
27 changes: 22 additions & 5 deletions ci/azure/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,32 @@ steps:

- bash: |
source activate xarray-tests
conda uninstall -y --force \
numpy \
scipy \
pandas \
matplotlib \
dask \
distributed \
zarr \
cftime \
rasterio \
pint \
bottleneck
python -m pip install \
-f https://7933911d6844c6c53a7d-47bd50c35cd79bd838daf386af554a83.ssl.cf2.rackcdn.com \
-i https://pypi.anaconda.org/scipy-wheels-nightly/simple \
--no-deps \
--pre \
--upgrade \
matplotlib \
numpy \
scipy
scipy \
pandas
python -m pip install \
-f https://7933911d6844c6c53a7d-47bd50c35cd79bd838daf386af554a83.ssl.cf2.rackcdn.com \
--no-deps \
--pre \
--upgrade \
matplotlib
python -m pip install \
--no-deps \
--upgrade \
Expand All @@ -29,8 +47,7 @@ steps:
git+https://github.com/Unidata/cftime \
git+https://github.com/mapbox/rasterio \
git+https://github.com/hgrecco/pint \
git+https://github.com/pydata/bottleneck \
git+https://github.com/pandas-dev/pandas
git+https://github.com/pydata/bottleneck
condition: eq(variables['UPSTREAM_DEV'], 'true')
displayName: Install upstream dev dependencies

Expand Down

0 comments on commit 4071125

Please sign in to comment.