cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

databricks asset bundles - error demo project

DavMes
New Contributor

Hi,

I am using the v0.205.0 version of the CLI. I wanted to test the demo project (databricks bundle init) of the Databricks Asset Bundles, however I am getting an error after databricks bundle deploy (validate is ok).

 

 

artifacts.whl.AutoDetect: Detecting Python wheel project...
artifacts.whl.AutoDetect: Found Python wheel project at c:\projects\my_project
Error: INFO: Could not find files for the given pattern(s).

 

 

I found out that without the 'python_wheel_task` in the `my_project_job.yml`, it works without any problem. I built the wheel from the setup.py too. Can you please help me? 

Thank you

2 REPLIES 2

FadyYass_34581
New Contributor II

Hi @DavMes, the default python template that Databricks provides has the job.yml file that you mentioned, which has a python_wheel_task that looks for "whl" libraries in this location "../dist/*.whl" which doesn't exist. When I removed this line pattern error disappeared.

AndrรฉSalvati
New Contributor III

There you can see a complete template project with Databricks Asset Bundles and a python wheel task. Please, follow the instructions for deployment.

https://github.com/andre-salvati/databricks-template

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโ€™t want to miss the chance to attend and share knowledge.

If there isnโ€™t a group near you, start one and help create a community that brings people together.

Request a New Group