You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-functions/functions-how-to-azure-devops.md
+4-65Lines changed: 4 additions & 65 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -149,16 +149,14 @@ steps:
149
149
150
150
Use one of the following samples to create a YAML file to build an app for a specific Python version. Python is only supported for function apps running on Linux.
151
151
152
-
**Version 3.7**
153
-
154
152
```yaml
155
153
pool:
156
154
vmImage: ubuntu-latest
157
155
steps:
158
156
- task: UsePythonVersion@0
159
-
displayName: "Setting Python version to 3.7 as required by functions"
157
+
displayName: "Set Python version to 3.9"
160
158
inputs:
161
-
versionSpec: '3.7'
159
+
versionSpec: '3.9'
162
160
architecture: 'x64'
163
161
- bash: |
164
162
if [ -f extensions.csproj ]
@@ -178,35 +176,6 @@ steps:
178
176
artifactName: 'drop'
179
177
```
180
178
181
-
**Version 3.6**
182
-
183
-
```yaml
184
-
pool:
185
-
vmImage: ubuntu-latest
186
-
steps:
187
-
- task: UsePythonVersion@0
188
-
displayName: "Setting Python version to 3.6 as required by functions"
You can use the following sample to create a YAML file to package a PowerShell app. PowerShell is supported only for Windows Azure Functions.
@@ -471,16 +440,15 @@ steps:
471
440
472
441
Use one of the following samples to create a YAML file to build an app for a specific Python version. Python is only supported for function apps running on Linux.
473
442
474
-
**Version 3.7**
475
443
476
444
```yaml
477
445
pool:
478
446
vmImage: ubuntu-latest
479
447
steps:
480
448
- task: UsePythonVersion@0
481
-
displayName: "Setting Python version to 3.7 as required by functions"
449
+
displayName: "Set Python version to 3.9"
482
450
inputs:
483
-
versionSpec: '3.7'
451
+
versionSpec: '3.9'
484
452
architecture: 'x64'
485
453
- bash: |
486
454
if [ -f extensions.csproj ]
@@ -500,35 +468,6 @@ steps:
500
468
artifactName: 'drop'
501
469
```
502
470
503
-
**Version 3.6**
504
-
505
-
```yaml
506
-
pool:
507
-
vmImage: ubuntu-latest
508
-
steps:
509
-
- task: UsePythonVersion@0
510
-
displayName: "Setting Python version to 3.6 as required by functions"
0 commit comments