cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Community Platform 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.

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