Skip to content

Bundle: Workflow wheel location not interpolated anymore in v0.212.4 #1207

@JCZuurmond

Description

@JCZuurmond

Describe the issue

When creating containing a reference to a wheel in the libraries:

libraries:
- whl: /dist/*.whl

The wheel location in the resulting job is not interpolated anymore:

Before:

- whl: /Workspace/Users/<user name>/.bundle/<project>/<target>/artifacts/.internal/<wheel name>.whl

Current:

- whl: /dist/*.whl

The later results in the following error when running the job:

Python wheels must be stored in UC Volumes, dbfs, s3, adls, gs or as a workspace file/local file. Make sure the URI begins with 'dbfs:', 'file:', 's3:', 'abfss:', 'gs:', 'wasbs:', '/Volumes', or '/Workspace'but the URI is '/dist/*.whl').

Steps to reproduce the behavior

  1. Follow the Databricks guide on deploying a workflow with a Python wheel
  2. Run the created job AND/OR looking at the YAML job definition from the Databricks workflow UI

Expected Behavior

A Databricks workflow with a library location as follows should be created:

- whl: /Workspace/Users/<user name>/.bundle/<project>/<target>/artifacts/.internal/<wheel name>.whl

Actual Behavior

A Databricks workflow with a library location as follows is created:

- whl: /dist/*.whl

This causes the job to fail as this wheel location does not exists.

OS and CLI version

Error occurs in: v0.212.4
Error does not occur in: v0.212.3

Is this a regression?

Yes, it worked in: v0.212.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    CLICLI related issues

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions