Skip to content
This repository was archived by the owner on Jul 27, 2023. It is now read-only.
This repository was archived by the owner on Jul 27, 2023. It is now read-only.

python-flask Pipfile not populated with required dependencies after appsody init #748

@campnic

Description

@campnic

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:

  1. mkdir my-app
  2. cd my-app
  3. appsody init python-flask
  4. 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):

  • OS: macOSX

If applicable please specify:

  • CLI version: appsody 0.6.0
  • Stack you are using (including the version): python-flask

Metadata

Metadata

Assignees

No one assigned

    Labels

    stack/python-flaskIssues related to python-flask stack

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions