In python, it is common practice to write all the application dependencies that are installed via pip into a separate text file called requirements.txt.
It’s good practice to fully specify package versions in your requirements file. And in our case, everything will be there — both direct dependencies of our application and dependency dependencies, etc.