Skip to content

Commit 2ba7ebc

Browse files
committed
build: removing conda task and making use of Use Python version task
1 parent bc1d432 commit 2ba7ebc

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

azure-pipelines.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,10 @@ pool:
66
#Your build pipeline references a secret variable named ‘subscription_id’. Create or edit the build pipeline for this YAML file, define the variable on the Variables tab, and then select the option to make it secret. See https://go.microsoft.com/fwlink/?linkid=865972
77

88
steps:
9-
- task: CondaEnvironment@1
10-
displayName: 'Create Conda Environment '
9+
- task: UsePythonVersion@0
1110
inputs:
12-
createCustomEnvironment: true
13-
environmentName: azuremlsdk
14-
packageSpecs: 'python=3.6'
15-
updateConda: false
16-
createOptions: 'cython numpy'
11+
versionSpec: '3.6'
12+
architecture: 'x64'
1713

1814
- task: Bash@3
1915
displayName: 'Install Requirements'

environment_setup/install_requirements.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,5 @@
2727

2828
python --version
2929
pip install azure-cli==2.0.46
30-
pip install --upgrade azureml-sdk[notebooks,automl]
30+
pip install --upgrade azureml-sdk[cli]
3131
pip install -r requirements.txt

0 commit comments

Comments
 (0)