Skip to content

Commit 096ba8a

Browse files
committed
add support for py 3.11
1 parent 7730062 commit 096ba8a

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

azure-pipelines.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ jobs:
2929
Python310V4:
3030
pythonVersion: '3.10'
3131
workerPath: $(PROD_V4_WORKER_PY)
32+
Python311V4:
33+
pythonVersion: '3.11'
34+
workerPath: $(PROD_V4_WORKER_PY)
3235
steps:
3336
- template: pack/templates/win_env_gen.yml
3437
parameters:
@@ -55,6 +58,9 @@ jobs:
5558
Python310V4:
5659
pythonVersion: '3.10'
5760
workerPath: $(PROD_V4_WORKER_PY)
61+
Python311V4:
62+
pythonVersion: '3.11'
63+
workerPath: $(PROD_V4_WORKER_PY)
5864
steps:
5965
- template: pack/templates/win_env_gen.yml
6066
parameters:
@@ -81,6 +87,9 @@ jobs:
8187
Python310V4:
8288
pythonVersion: '3.10'
8389
workerPath: $(PROD_V4_WORKER_PY)
90+
Python311V4:
91+
pythonVersion: '3.11'
92+
workerPath: $(PROD_V4_WORKER_PY)
8493
steps:
8594
- template: pack/templates/nix_env_gen.yml
8695
parameters:
@@ -104,6 +113,9 @@ jobs:
104113
Python310V4:
105114
pythonVersion: '3.10'
106115
workerPath: $(PROD_V4_WORKER_PY)
116+
Python311V4:
117+
pythonVersion: '3.11'
118+
workerPath: $(PROD_V4_WORKER_PY)
107119
steps:
108120
- template: pack/templates/nix_env_gen.yml
109121
parameters:
@@ -140,7 +152,7 @@ jobs:
140152
LATEST_TAG=$(curl https://api.github.com/repos/Azure/azure-functions-python-worker/tags -s | jq '.[0].name' | sed 's/\"//g' | cut -d'.' -f-2)
141153
NUSPEC="pack\Microsoft.Azure.Functions.V4.PythonWorker.nuspec"
142154
# Only required for Integration Test. Version number contains date (e.g. 3.1.2.20211028-dev)
143-
WKVERSION="3.$LATEST_TAG-$(BUILD_BUILDID)-TEST"
155+
WKVERSION="4.$LATEST_TAG-$(BUILD_BUILDID)-TEST"
144156
echo "No Matching Release Tag For $BUILD_SOURCEBRANCH"
145157
fi
146158

pack/Microsoft.Azure.Functions.V4.PythonWorker.nuspec

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@
2626
<file src="..\3.10_WINDOWS_X86\**" target="tools\3.10\WINDOWS\X86" />
2727
<file src="..\3.10_LINUX_X64\**" target="tools\3.10\LINUX\X64" />
2828
<file src="..\3.10_OSX_X64\**" target="tools\3.10\OSX\X64" />
29+
<file src="..\3.11_WINDOWS_X64\**" target="tools\3.11\WINDOWS\X64" />
30+
<file src="..\3.11_WINDOWS_X86\**" target="tools\3.11\WINDOWS\X86" />
31+
<file src="..\3.11_LINUX_X64\**" target="tools\3.11\LINUX\X64" />
32+
<file src="..\3.11_OSX_X64\**" target="tools\3.11\OSX\X64" />
2933
<file src="..\python\prodV4\worker.config.json" target="tools" />
3034
<file src="Microsoft.Azure.Functions.PythonWorker.targets" target="build" />
3135
<file src="..\_manifest\manifest.json" target="SBOM\manifest.json" />

0 commit comments

Comments
 (0)