We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5fdc1ac commit 6e637efCopy full SHA for 6e637ef
1 file changed
.azuredevops/deploy-azure-function.yaml
@@ -49,9 +49,18 @@ jobs:
49
SecretsFilter: "*"
50
RunAsPreJob: false
51
52
- - script: |
+ - bash: |
53
python -m pip install --upgrade pip && \
54
- pip install --target="$(functionAppPath)/.python_packages/lib/site-packages" -r requirements.txt
+ python -m pip install poetry~="1.8" poetry-plugin-export
55
+ displayName: "Install poetry"
56
+
57
58
+ python -m poetry export -f requirements.txt --without-hashes > requirements.txt
59
+ displayName: "Export dependencies"
60
61
62
+ python -m pip install -t "$(functionAppPath)/.python_packages/lib/site-packages" \
63
+ -r requirements.txt
64
displayName: "Install dependencies"
65
66
- task: ArchiveFiles@2
0 commit comments