File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed
Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,29 @@ ${PIP} install pip-tools build invoke
3636$( cd ${BUILD_DIR} /workers/ && ${PIPCOMPILE} -o ${BUILD_DIR} /requirements.txt )
3737${PIP} install -r ${BUILD_DIR} /requirements.txt
3838
39+ # Patch proto generation script
40+ cd ${BUILD_DIR} /workers/tests && patch -p1 << EOF
41+ *** test_setup.py Mon Dec 29 13:33:06 2025
42+ --- test_setup.cp Mon Dec 29 13:32:57 2025
43+ ***************
44+ *** 37,43 ****
45+ WEBHOST_GITHUB_API = "https://api.github.com/repos/Azure/azure-functions-host"
46+ WEBHOST_GIT_REPO = "https://github.com/Azure/azure-functions-host/archive"
47+ WEBHOST_TAG_PREFIX = "v4."
48+ ! WORKER_DIR = "azure_functions_worker"
49+
50+
51+ def get_webhost_version() -> str:
52+ --- 37,43 ----
53+ WEBHOST_GITHUB_API = "https://api.github.com/repos/Azure/azure-functions-host"
54+ WEBHOST_GIT_REPO = "https://github.com/Azure/azure-functions-host/archive"
55+ WEBHOST_TAG_PREFIX = "v4."
56+ ! WORKER_DIR = "azure_functions_worker" if sys.version_info.minor < 13 else "proxy_worker"
57+
58+
59+ def get_webhost_version() -> str:
60+ EOF
61+
3962# Build proto files into pb2 files (invoke handles fixing include paths for the protos)
4063cd ${BUILD_DIR} /workers/tests && ${INVOKE} -c test_setup build-protos
4164
You can’t perform that action at this time.
0 commit comments