Skip to content

aws-lambda-python-alpha: Support uv lockfile for PythonFunction bundling #32413

@garysassano

Description

@garysassano

Describe the feature

Today, PythonFunction supports lockfiles from the following ecosystems:

  • PIP
  • Poetry

uv is gaining in popularity and has its own lockfile, uv.lock. It would be great if PythonFunction supported using this lockfile.

Use Case

Allow the usage of Python modern dev tools.

Proposed Solution

Update the bundling logic in the Dockerfile.

The Dockerfile is still using Python 3.7 as the default, despite even Python 3.8 being deprecated.

Other Information

Issue inspired by #31753
Issue related to #31238

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

CDK version used

2.172.0

Environment details (OS name and version, etc.)

Ubuntu 24.04

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