Describe the bug
In order to run resolve the applications dependencies within the development environment, we need the Pipfile in the workspace to be populated with the necessary dependencies after appsody init however, these dependencies are present only within the image.
To Reproduce
Steps to reproduce the behavior:
mkdir my-app
cd my-app
appsody init python-flask
pipenv install
Expected behavior
A python virtual environment to be created with the necessary dependencies
Actual behaviour
A python virtual environment is created, but none of the necessary dependecies are installed. They are not present in the Pipfile. If you deploy to the container, however, you will see:
Could you confirm which version of the python stack you are found this problem in? It may be that this is a consequence of https://github.com/appsody/stacks/issues/833, which has now been fixed in python stack 0.2.4.
Describe the bug In order to run resolve the applications dependencies within the development environment, we need the Pipfile in the workspace to be populated with the necessary dependencies after
appsody init
however, these dependencies are present only within the image.To Reproduce Steps to reproduce the behavior:
mkdir my-app
cd my-app
appsody init python-flask
pipenv install
Expected behavior A python virtual environment to be created with the necessary dependencies
Actual behaviour A python virtual environment is created, but none of the necessary dependecies are installed. They are not present in the Pipfile. If you deploy to the container, however, you will see:
python -m pip install -r requirements.txt -t /project/deps
The necessary requirements for pip to install the environment are included w/in the image in: https://github.com/appsody/stacks/blob/master/incubator/python-flask/image/project/Pipfile
Environment Details (please complete the following information):
If applicable please specify: