Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

whl artifacts with local version identifiers are uploaded to volumes with different names #1908

Open
Tello-Wharton opened this issue Nov 18, 2024 · 1 comment
Labels
Bug Something isn't working DABs DABs related issues

Comments

@Tello-Wharton
Copy link

Tello-Wharton commented Nov 18, 2024

Describe the issue

If I define as an artifact a module called my_module, published as the version my_module-0.0.0+localversion.whl, it is uploaded to my specified volume as my_module-0.0.0 localversion.whl - not its actual built file name.

Configuration

databricks.yml

bundle:
  name: example

workspace: 
  host: https://<host-suffix>.cloud.databricks.com
  artifact_path: /Volumes/my_catalog/default/artifacts/

artifacts:
  example_artifact:
    type: whl
    path: .

setup.py


setup(
    name='my_module',
    version='0.0.0+localversion',
)

Steps to reproduce the behavior

Please list the steps required to reproduce the issue, for example:

  1. Create the my_catalog catalog in databricks
  2. Create the artifacts volume in my_catalog
  3. Grant permissions to the user expected to deploy this bundle
  4. databricks bundle deploy

Expected Behavior

A file called my_module-0.0.0+localversion.whl is found in the volume

Actual Behavior

A file called my_module-0.0.0 localversion.whl is found in the volume

OS and CLI version

Ubuntu
Databricks CLI v0.234.0

Is this a regression?

Unknown.

Debug Logs

N/A

@Tello-Wharton Tello-Wharton added the DABs DABs related issues label Nov 18, 2024
@pietern
Copy link
Contributor

pietern commented Nov 18, 2024

Thanks for reporting this issue.

I've relayed this to the team working on this API.

@pietern pietern added the Bug Something isn't working label Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working DABs DABs related issues
Projects
None yet
Development

No branches or pull requests

2 participants