Skip to content

Commit

Permalink
ci/azure-build-and-test.yml: fix builds as Python 3.9 rolls out
Browse files Browse the repository at this point in the history
Azure's conda has updated to Python 3.9, but astropy isn't yet available
for it, so we need to explicitly specify an older version to get it for
the docs and coverage builds.
  • Loading branch information
pkgw committed Oct 12, 2020
1 parent 73c69b6 commit 8fb101f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ci/azure-build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ jobs:
set -euo pipefail
source activate-conda.sh
set -x
\conda create -y -n build setuptools pip
\conda create -y -n build setuptools pip python=3.8
conda activate build
pip install $BASH_WORKSPACE/sdist/*.tar.gz
displayName: Install from sdist
Expand Down Expand Up @@ -124,7 +124,7 @@ jobs:
set -euo pipefail
source activate-conda.sh
set -x
\conda create -y -n build setuptools pip
\conda create -y -n build setuptools pip python=3.8
conda activate build
pip install $BASH_WORKSPACE/sdist/*.tar.gz
displayName: Install from sdist
Expand Down

0 comments on commit 8fb101f

Please sign in to comment.