yokawasa / azure-functions-python-samples

Azure Functions Python Sample Codes. NOTE: The project, hosted in a repository, is no longer actively maintained by its creators or contributors. There won't be any further updates, bug fixes, or support from the original developers in the project.
MIT License
392 stars 181 forks source link

Question: Is it safe/okay to pip freeze > requirements.txt pinning the azure-functions version? #37

Closed FilBot3 closed 4 years ago

FilBot3 commented 4 years ago

Is it okay to:

python -m pip freeze > requirements.txt

the Python packages installed during development and pinning the azure-functions version? I'm not clear if Azure Functions will read that file and install the dependencies listed in that file.

yokawasa commented 4 years ago

@predatorian3
Yes, you can. Dependencies are obtained remotely based on the contents of the requirements.txt file. Please read this for more detail:

My recommendation is to include only minimum packages in requirements.txt.

yokawasa commented 4 years ago

@predatorian3 I'm closing this but please feel free to open issue if you need further discussion