Skip to content

Avoid unsafe use of pip #3726

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 29, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions ci/azure/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,22 @@ 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

- bash: |
source activate xarray-tests
pip install -f https://7933911d6844c6c53a7d-47bd50c35cd79bd838daf386af554a83.ssl.cf2.rackcdn.com \
python -m pip install \
-f https://7933911d6844c6c53a7d-47bd50c35cd79bd838daf386af554a83.ssl.cf2.rackcdn.com \
--no-deps \
--pre \
--upgrade \
matplotlib \
numpy \
pandas \
scipy
pip install \
python -m pip install \
--no-deps \
--upgrade \
git+https://github.com/dask/dask \
Expand All @@ -33,7 +35,7 @@ steps:

- bash: |
source activate xarray-tests
pip install --no-deps -e .
python -m pip install --no-deps -e .
displayName: Install xarray

- bash: |
Expand Down
1 change: 1 addition & 0 deletions ci/requirements/py36-bare-minimum.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ channels:
dependencies:
- python=3.6
- coveralls
- pip
- pytest
- pytest-cov
- pytest-env
Expand Down
1 change: 1 addition & 0 deletions ci/requirements/py36-min-nep18.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ dependencies:
- numpy=1.17
- pandas=0.25
- pint=0.9 # Actually not enough as it doesn't implement __array_function__yet!
- pip
- pytest
- pytest-cov
- pytest-env
Expand Down