Skip to content

Individual requirements should allow pipenv/poetry for functions #576

Open
@michael-c-hoffman

Description

@michael-c-hoffman

When using package individually, the requirements are not pulled from a Pipfile/peotry file if present, only requirements.txt
(this is a completely different behaviour than when not using package individually as at the root of the project on can use Pipfile/poetry)

If there is a Pipfile/poetry file at the root when using package individually the root level requirements are only packaged not the root+function or just function requirements.

I would like to continue to use Pipfile at the root level as this contains development packages for pytest and other frameworks. I would then like to include a Pipfile in each function that needs to be package with that function's requirements. Currently if serverless-python-requirements detects a Pipfile at the root all other function requirements are ignored.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions