Skip to content

"sam build" feedback: Don't fail if dependency manifest (requirements.txt) is not found #784

@sanathkr

Description

@sanathkr

Description:
sam build always looks for the presence of a dependency manifest like requirements.txt. If it is not present, the command fails. Customers without any dependencies might not have a manifest.

One recommendation was to resolve dependencies if a manifest is present, if not skip. This will create false-positives where customers can sam build and it didn't resolve dependencies because it was looking for manifest in the wrong location. We can print a warning if we did not find any dependency manifest so customers will know what is happening.

As a workaround, customers can always create an empty manifest - requirements.txt so SAM CLI continues to work.

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