Skip to content

knowledge_base: add artifacts_dynamic_version_uv example - #194

Open
andresgarciaf wants to merge 2 commits into
databricks:mainfrom
andresgarciaf:trio/kb-18-artifacts-dynamic-version-uv
Open

andresgarciaf wants to merge 2 commits into
databricks:mainfrom
andresgarciaf:trio/kb-18-artifacts-dynamic-version-uv

Conversation

@andresgarciaf

Copy link
Copy Markdown

Summary

  • Build a Python wheel with uv build and commit uv.lock.
  • Use presets.artifacts_dynamic_version so each deploy installs the new wheel without a version bump.
  • Run the wheel in a serverless python_wheel_task with environment_version: "6".

Testing

Command Result
databricks bundle validate OK
databricks bundle deploy Success
databricks bundle run Success
databricks bundle destroy Success

andresgarciaf and others added 2 commits October 22, 2026 14:42
Build a Python wheel with `uv build` and run it in a serverless
python_wheel_task (environment_version 6). presets.artifacts_dynamic_version
patches the wheel version on each deploy, so a redeploy without a version
bump installs the new wheel. Commit uv.lock.

Co-authored-by: Isaac <no-reply@databricks.com>
Co-authored-by: omnigent <noreply@omnigent.ai>
Co-authored-by: Isaac <no-reply@databricks.com>
Co-authored-by: omnigent <noreply@omnigent.ai>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant