-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
install.yml
67 lines (61 loc) · 1.79 KB
/
install.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
parameters:
env_file: ci/requirements/$CONDA_ENV.yml
steps:
- template: add-conda-to-path.yml
- bash: |
conda update -y conda
conda env create -n xarray-tests --file ${{ parameters.env_file }}
displayName: Install conda dependencies
# TODO: add sparse back in, once Numba works with the development version of
# NumPy again: https://github.com/pydata/xarray/issues/4146
- bash: |
source activate xarray-tests
conda uninstall -y --force \
numpy \
scipy \
pandas \
matplotlib \
dask \
distributed \
zarr \
cftime \
rasterio \
pint \
bottleneck \
sparse
python -m pip install \
-i https://pypi.anaconda.org/scipy-wheels-nightly/simple \
--no-deps \
--pre \
--upgrade \
numpy \
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 \
git+https://github.com/dask/dask \
git+https://github.com/dask/distributed \
git+https://github.com/zarr-developers/zarr \
git+https://github.com/Unidata/cftime \
git+https://github.com/mapbox/rasterio \
git+https://github.com/hgrecco/pint \
git+https://github.com/pydata/bottleneck
condition: eq(variables['UPSTREAM_DEV'], 'true')
displayName: Install upstream dev dependencies
- bash: |
source activate xarray-tests
python -m pip install --no-deps -e .
displayName: Install xarray
- bash: |
source activate xarray-tests
conda info -a
conda list
python xarray/util/print_versions.py
displayName: Version info