aws / aws/aws-cdk

Python PDM support for lambda functions

Open
#28,421 1 comment 7 reactions 0 assignees View on GitHub
@aws-cdk/aws-lambda effort/medium feature-request p2
Dominant language
TypeScript
Stars
12.9k
Forks
4.6k
Avg merge
1d 19h
Merged PRs (30d)
71

Description

### Describe the feature

Similar to allowing support for `requirements.txt`, `pipenv`, and `poetry`, also allow support for the `pdm` packaging utility as referenced here:
https://pdm-project.org/latest/

### Use Case

To support projects that utilize the `pdm` packaging/ virtual environment management tool.

### Proposed Solution

_No response_

### Other Information

_No response_

### Acknowledgements

- [ ] I may be able to implement this feature request
- [ ] This feature might incur a breaking change

### CDK version used

2.115.0

### Environment details (OS name and version, etc.)

Mac OS Sonoma, 14.2

Contributor guide

Open the contributing guide

Research direction

Start by locating the existing AWS CDK Lambda support for requirements.txt, pipenv, and poetry, then trace how each packaging utility is detected and built. Add equivalent PDM handling for Python Lambda projects and verify deployment behavior with the repository's relevant tests; done means a PDM-managed project is packaged successfully without breaking the existing formats.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, python, typescript
Domain
build-system, cloud
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.