From ea2a6b08e4f332920555dbd45a0b13593b99e550 Mon Sep 17 00:00:00 2001 From: Lucy Zhang Date: Thu, 9 Feb 2023 17:20:22 -0800 Subject: [PATCH 1/3] remove pinned package ver --- samples/samples-python/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/samples-python/requirements.txt b/samples/samples-python/requirements.txt index db0cf11fb..6bb1e59d0 100644 --- a/samples/samples-python/requirements.txt +++ b/samples/samples-python/requirements.txt @@ -1,3 +1,3 @@ # Do not include azure-functions-worker as it may conflict with the Azure Functions platform -azure-functions==1.11.3b1 \ No newline at end of file +azure-functions \ No newline at end of file From 73364990e04115a560e46d4a66c1bc1ab5c72a85 Mon Sep 17 00:00:00 2001 From: Lucy Zhang Date: Fri, 10 Feb 2023 09:31:17 -0800 Subject: [PATCH 2/3] update pipeline and setup guide --- builds/azure-pipelines/template-steps-build-test.yml | 5 ----- docs/GeneralSetup.md | 6 ------ 2 files changed, 11 deletions(-) diff --git a/builds/azure-pipelines/template-steps-build-test.yml b/builds/azure-pipelines/template-steps-build-test.yml index dc1ec6cf5..45be96093 100644 --- a/builds/azure-pipelines/template-steps-build-test.yml +++ b/builds/azure-pipelines/template-steps-build-test.yml @@ -128,11 +128,6 @@ steps: workingDirectory: $(Build.SourcesDirectory)/samples/samples-python displayName: Lint samples-python -- script: | - pip3 install -r requirements.txt - workingDirectory: $(Build.SourcesDirectory)/samples/samples-python - displayName: Install azure-functions-1.11.3b1 - - task: Maven@3 displayName: Build Java Samples inputs: diff --git a/docs/GeneralSetup.md b/docs/GeneralSetup.md index 43d070abe..d6eaa833a 100644 --- a/docs/GeneralSetup.md +++ b/docs/GeneralSetup.md @@ -130,12 +130,6 @@ These steps can be done in the Terminal/CLI or with PowerShell. } ``` - Add a preview version of the Python functions library to `requirements.txt`. - - ```txt - azure-functions==1.11.3b1 - ``` - Add a setting in `local.settings.json` to isolate the worker dependencies. ```json From 63bec4d7865f64b4543706c8205e2a1d1d1c6c32 Mon Sep 17 00:00:00 2001 From: Lucy Zhang Date: Fri, 10 Feb 2023 10:24:24 -0800 Subject: [PATCH 3/3] add back install azure-functions step --- builds/azure-pipelines/template-steps-build-test.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/builds/azure-pipelines/template-steps-build-test.yml b/builds/azure-pipelines/template-steps-build-test.yml index 45be96093..c89291426 100644 --- a/builds/azure-pipelines/template-steps-build-test.yml +++ b/builds/azure-pipelines/template-steps-build-test.yml @@ -128,6 +128,11 @@ steps: workingDirectory: $(Build.SourcesDirectory)/samples/samples-python displayName: Lint samples-python +- script: | + pip3 install -r requirements.txt + workingDirectory: $(Build.SourcesDirectory)/samples/samples-python + displayName: Install samples-python dependencies + - task: Maven@3 displayName: Build Java Samples inputs: