From b0d7be330d0b6cb8f2596e4a48a523a354f99905 Mon Sep 17 00:00:00 2001 From: "Oriol (ProDesk)" Date: Fri, 5 Apr 2024 20:07:31 +0200 Subject: [PATCH] if nightlies, install them first --- .azure-pipelines/azure-pipelines-base.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.azure-pipelines/azure-pipelines-base.yml b/.azure-pipelines/azure-pipelines-base.yml index 08fd096ad5..9edf225585 100644 --- a/.azure-pipelines/azure-pipelines-base.yml +++ b/.azure-pipelines/azure-pipelines-base.yml @@ -56,6 +56,14 @@ jobs: - script: | python -m pip install --upgrade pip + displayName: 'Upgrade pip' + + - script: | + python -m pip install --no-cache-dir --pre -i https://pypi.anaconda.org/scientific-python-nightly-wheels/simple contourpy h5py matplotlib numpy pandas scipy xarray + condition: and(succeeded(), eq(variables.Nightlies, true)) + displayName: 'Install nightlies for scientific python packages' + + - script: | python -m pip install wheel python -m pip install --no-cache-dir -r requirements.txt python -m pip install --no-cache-dir -r requirements-dev.txt @@ -69,9 +77,8 @@ jobs: - script: | python -m pip install --no-cache-dir --upgrade --pre -r requirements.txt - python -m pip install --no-cache-dir --upgrade --pre -i https://pypi.anaconda.org/scientific-python-nightly-wheels/simple contourpy h5py matplotlib numpy pandas scipy xarray condition: and(succeeded(), eq(variables.Nightlies, true)) - displayName: 'Update with nightlies' + displayName: 'Update with pre-releases (if any)' - script: | python -m pip install .