Skip to content

Request: Add python_wheel_uv example #75

@philiporlando

Description

@philiporlando

I'd like to request the addition of a python_wheel_uv bundle example to the knowledge base.

Many Python developers prefer using uv over Poetry or the default Databricks dependency management tools, but currently there is no official examples or guidance on how to configure this setup correctly within a Databricks bundle.

I've been following along with this community post, but I'm running into the following error when calling databricks bundle run my_project:

AttributeError: module 'my_project' has no attribute 'main'

It's currently unclear how the pyproject.toml should be configured to ensure that Databricks correctly detects the entry point into the main module during deployment.

Having an officially supported uv bundle example would be incredibly helpful and much appreciated by the community.

Thanks for considering!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions