File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,12 +16,12 @@ jobs:
1616 timeoutInMinutes : 120
1717 strategy :
1818 matrix :
19- Windows_Python36 :
19+ Windows_Python38 :
2020 imageName : ' windows-latest'
21- python.version : ' 3.6 '
22- Windows_Python37 :
21+ python.version : ' 3.8 '
22+ Windows_Python39 :
2323 imageName : ' windows-latest'
24- python.version : ' 3.7 '
24+ python.version : ' 3.9 '
2525 pool :
2626 vmImage : $(imageName)
2727
@@ -57,24 +57,24 @@ jobs:
5757 timeoutInMinutes : 120
5858 strategy :
5959 matrix :
60- Linux_Python36 :
60+ Linux_Python38 :
6161 imageName : ' ubuntu-latest'
62- python.version : ' 3.6 '
63- Linux_Python37 :
62+ python.version : ' 3.8 '
63+ Linux_Python39 :
6464 imageName : ' ubuntu-latest'
65- python.version : ' 3.7'
66- MacOS_10_14_Python36 :
67- imageName : ' macOS-10.14'
68- python.version : ' 3.6'
69- MacOS_10_14_Python37 :
70- imageName : ' macOS-10.14'
71- python.version : ' 3.7'
72- MacOS_10_15_Python36 :
65+ python.version : ' 3.9'
66+ MacOS_10_15_Python38 :
7367 imageName : ' macOS-10.15'
74- python.version : ' 3.6 '
75- MacOS_10_15_Python37 :
68+ python.version : ' 3.8 '
69+ MacOS_10_15_Python39 :
7670 imageName : ' macOS-10.15'
77- python.version : ' 3.7'
71+ python.version : ' 3.9'
72+ MacOS_11_Python38 :
73+ imageName : ' macOS-11'
74+ python.version : ' 3.8'
75+ MacOS_11_Python39 :
76+ imageName : ' macOS-11'
77+ python.version : ' 3.9'
7878 pool :
7979 vmImage : $(imageName)
8080
Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ conda remove -y -n $VENV --all
8282package_list=(
8383 " python>=3.6"
8484 " impactutils"
85- " fiona"
85+ " fiona>=1.8.20 "
8686 " ipython"
8787 " jupyter"
8888 " numpy"
@@ -98,9 +98,19 @@ package_list=(
9898 " xlsxwriter"
9999)
100100
101+ # check to see if mamba is installed in the base environment
102+ if ! command -v mamba & > /dev/null
103+ then
104+ echo " Installing mamba into base environment..."
105+ conda install mamba -n base -c conda-forge -y
106+ echo " Done installing mamba."
107+ else
108+ echo " Mamba already installed."
109+ fi
110+
101111# Create a conda virtual environment
102112echo " Creating the $VENV virtual environment:"
103- conda create -y -n $VENV -c conda-forge --channel-priority ${package_list[*]}
113+ mamba create -y -n $VENV -c conda-forge --channel-priority ${package_list[*]}
104114
105115# Bail out at this point if the conda create command fails.
106116# Clean up zip files we've downloaded
You can’t perform that action at this time.
0 commit comments