aws / aws/aws-sam-cli

Feature request: Support for Python requirements files with different names

Open
#7,180 4 comments 4 reactions 0 assignees View on GitHub
area/build contributors/welcome python type/feature
Dominant language
Python
Stars
6.7k
Forks
1.2k
Avg merge
1d 10h
Merged PRs (30d)
52

Description

### Describe your idea/feature/enhancement

I am using [rye](https://rye.astral.sh/) to manage my dependencies.
While the tool is pretty new, it basically generates a `requirements.txt` called `requirements.lock`.

I wish the AWS Lambda Builders would allow to specify the manifest file within the MetaData, so I could direct it to `requirements.lock` file instead of `requirements.txt`

### Proposal

Add details on how to add this to the product.

### Additional Details

Example configuration I could imagine.

```
BrokerFunction:
Type: AWS::Serverless::Function
Metadata:
Manifest: requirements.lock
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.