aws-lambda-python-alpha: Support uv
Describe the feature
Just as poetry is supported, uv will also be supported.
Use Case
Manage python modules by uv, and deploy it to AWS Lambda.
Proposed Solution
The uv can generate requirements.txt by running uv pip compile.
Other Information
No response
Acknowledgements
- [X] I may be able to implement this feature request
- [ ] This feature might incur a breaking change
CDK version used
2.154.0
Environment details (OS name and version, etc.)
macOS Sonoma 14.5
Hi @sachaos
We appreciate that. Feel free to submit your PR. Thank you!
If your implementation is going to use uv to generate a requirements.txt then you'll end up using pip to install, meaning the solution will be missing out on uv being so fast in installing the dependencies
I would suggest to think about how to capitalize on uv's speed to speed up CDK builds
For anyone in need of a temporary solution, I came across this uv-python-lambda construct.
Sounds like a terrific idea. I can't wait to see that happen!
This issue has received a significant amount of attention so we are automatically upgrading its priority. A member of the community will see the re-prioritization and provide an update on the issue.
Comments on closed issues and PRs are hard for our team to see. If you need help, please open a new issue that references this one.