Skip to content

Commit 9cf4d03

Browse files
authored
Update v4 Python Worker Version to 4.0.0 (#8156)
* Update v4 Python Worker Version to 4.0.0 * Fixing Initialize_WithRuntimeAndWorkerVersion test to remove Py3.6 * Added theories for Python V4 testing
1 parent 772a65d commit 9cf4d03

File tree

5 files changed

+11
-6
lines changed

5 files changed

+11
-6
lines changed

CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88

99
# Adding codeowner for Python specific files such that GitHub automatically adds python folks as a reviewer.
10-
build/python.props @vrdmr @Hazhzeng
10+
build/python.props @vrdmr @gavin-aguiar @YunchuWang
1111

1212
# Deps.json validation file
1313
test/WebJobs.Script.Tests/Microsoft.Azure.WebJobs.Script.WebHost.deps.json @fabiocav @brettsam @mathewc

build/python.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<Project>
22
<ItemGroup>
3-
<PackageReference Include="Microsoft.Azure.Functions.PythonWorker" Version="3.1.2.6" />
3+
<PackageReference Include="Microsoft.Azure.Functions.PythonWorker" Version="4.0.0" />
44
</ItemGroup>
55
</Project>

release_notes.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
<!-- Please add your release notes in the following format:
33
- My change description (#PR)
44
-->
5+
- Update Python Worker Version to [4.0.0](https://github.com/Azure/azure-functions-python-worker/releases/tag/4.0.0)
56
- Fixing race during language worker start (#7979)
67
- Updated Java Worker Version to [2.2.1-SNAPSHOT](https://github.com/Azure/azure-functions-java-worker/releases/tag/2.2.1-SNAPSHOT)
78
- Updated Node.js Worker Version to [3.1.0](https://github.com/Azure/azure-functions-nodejs-worker/releases/tag/v3.1.0)
@@ -10,4 +11,4 @@
1011
[ [bugs](https://github.com/Azure/azure-functions-host/issues?q=is%3Aissue+milestone%3A%22Functions+Sprint+113%22+label%3Abug+is%3Aclosed) | [features](https://github.com/Azure/azure-functions-host/issues?q=is%3Aissue+milestone%3A%22Functions+Sprint+113%22+label%3Afeature+is%3Aclosed) ]
1112
- Update PowerShell Worker 7.0 to 4.0.1570 [Release Note](https://github.com/Azure/azure-functions-powershell-worker/releases/tag/v4.0.1570)
1213
- Update PowerShell Worker 7.2 to 4.0.1567 [Release Note](https://github.com/Azure/azure-functions-powershell-worker/releases/tag/v4.0.1567)
13-
- Update App Service Authentication/Authorization on Linux Consumption from 1.4.10 to 1.4.13 [Release Note](https://github.com/Azure/app-service-announcements/issues/354)
14+
- Update App Service Authentication/Authorization on Linux Consumption from 1.4.10 to 1.4.13 [Release Note](https://github.com/Azure/app-service-announcements/issues/354)

test/WebJobs.Script.Tests/ScriptHostTests.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,8 +440,12 @@ public async Task Initialize_WithLatestSiteExtensionVersion_LogsWarning()
440440
[InlineData("dotnet", "", "", "dotnet")]
441441
[InlineData("dotnet", "", "~2", "dotnet-~2")]
442442
[InlineData("python", "~2", "", "python")]
443-
[InlineData("python", "~2", "3.6", "python-3.6")]
444443
[InlineData("python", "~3", "3.7", "python-3.7")]
444+
[InlineData("python", "~3", "3.8", "python-3.8")]
445+
[InlineData("python", "~3", "3.9", "python-3.9")]
446+
[InlineData("python", "~4", "3.7", "python-3.7")]
447+
[InlineData("python", "~4", "3.8", "python-3.8")]
448+
[InlineData("python", "~4", "3.9", "python-3.9")]
445449
[InlineData("node", "~3", "~8", "node-~8")]
446450
[InlineData("node", "~2", "~8", "node-~8")]
447451
[InlineData("powershell", "~2", "", "powershell")]

test/WebJobs.Script.Tests/WebJobs.Script.Tests.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22
<Import Project="..\..\build\common.props" />
33
<PropertyGroup>
44
<TargetFramework>net6.0</TargetFramework>
@@ -57,7 +57,7 @@
5757
<PackageReference Include="appinsights.testlogger" Version="1.0.0" />
5858
<PackageReference Include="FluentAssertions" Version="5.9.0" />
5959
<PackageReference Include="Microsoft.AspNetCore.TestHost" Version="6.0.0" />
60-
<PackageReference Include="Microsoft.Azure.Functions.PythonWorker" Version="3.1.2.6" />
60+
<PackageReference Include="Microsoft.Azure.Functions.PythonWorker" Version="4.0.0" />
6161
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.9.4" />
6262
<PackageReference Include="Moq" Version="4.9.0" />
6363
<PackageReference Include="StyleCop.Analyzers" Version="1.1.0-beta004" />

0 commit comments

Comments
 (0)