cancel
Showing results for 
Search instead for 
Did you mean: 
Community Discussions
Connect with fellow community members to discuss general topics related to the Databricks platform, industry trends, and best practices. Share experiences, ask questions, and foster collaboration within the community.
cancel
Showing results for 
Search instead for 
Did you mean: 

Databricks asset bundles dependencies

pdemeulenaer
New Contributor

Is anyone aware of a way to include a requirements.txt within the job definition of a databricks asset bundle? Documentation mentions how to have dependencies in workspace files, or Unity Catalog volumes, but I wanted to ask if it is possible to declare the dependencies directly from a requirements.txt file within the bundle definition. Thanks!

1 REPLY 1

Kaniz_Fatma
Community Manager
Community Manager

Hi @pdemeulenaerWhen working with Databricks Asset Bundles, you can specify library dependencies for local development in the requirements*.txt file at the root of the bundle project. However, job task library dependencies are declared in your bundle configuration files. These dependencies are often necessary as part of the job task type specification1. If you’re using Python libraries, you can also add Python wheel files directly to your job tasks in the bundle configuration.

Join 100K+ Data Experts: Register Now & Grow with Us!

Excited to expand your horizons with us? Click here to Register and begin your journey to success!

Already a member? Login and join your local regional user group! If there isn’t one near you, fill out this form and we’ll create one for you to join!