<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Serverless base env setup in Databricks Asset Bundle (DAB) in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/serverless-base-env-setup-in-databricks-asset-bundle-dab/m-p/130068#M48682</link>
    <description>&lt;P&gt;I am trying to set a base environment for my task (notebook) which is running on serverless, following is the dab yaml i am using when i did&amp;nbsp;bundle deploy -t users, its not throwing any error but its not installing the libraries from the base env, can you please help me how to use&amp;nbsp;base_environment in dabs&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;resources:
  jobs:
    SERVERLESS_JOB:
      name: ${var.env}_SERVERLESS_JOB_DAB
      parameters:
        - name: conf_catalog
          default: ${var.conf_catalog}
        - name: mode
          default: "full"
      tasks:
        - task_key: SERVERLESS_TASK
          notebook_task:
            notebook_path: ${var.src_file_path}/stack/test/serverless_task.py
          base_environment_path: "dbfs:/FileStore/Shared/scripts/serverless_base_env.yml"
          compute: "serverless"
      tags:
        project: "test"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Kranthi&lt;/P&gt;</description>
    <pubDate>Thu, 28 Aug 2025 16:25:32 GMT</pubDate>
    <dc:creator>kranthit</dc:creator>
    <dc:date>2025-08-28T16:25:32Z</dc:date>
    <item>
      <title>Serverless base env setup in Databricks Asset Bundle (DAB)</title>
      <link>https://community.databricks.com/t5/data-engineering/serverless-base-env-setup-in-databricks-asset-bundle-dab/m-p/130068#M48682</link>
      <description>&lt;P&gt;I am trying to set a base environment for my task (notebook) which is running on serverless, following is the dab yaml i am using when i did&amp;nbsp;bundle deploy -t users, its not throwing any error but its not installing the libraries from the base env, can you please help me how to use&amp;nbsp;base_environment in dabs&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;resources:
  jobs:
    SERVERLESS_JOB:
      name: ${var.env}_SERVERLESS_JOB_DAB
      parameters:
        - name: conf_catalog
          default: ${var.conf_catalog}
        - name: mode
          default: "full"
      tasks:
        - task_key: SERVERLESS_TASK
          notebook_task:
            notebook_path: ${var.src_file_path}/stack/test/serverless_task.py
          base_environment_path: "dbfs:/FileStore/Shared/scripts/serverless_base_env.yml"
          compute: "serverless"
      tags:
        project: "test"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Kranthi&lt;/P&gt;</description>
      <pubDate>Thu, 28 Aug 2025 16:25:32 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/serverless-base-env-setup-in-databricks-asset-bundle-dab/m-p/130068#M48682</guid>
      <dc:creator>kranthit</dc:creator>
      <dc:date>2025-08-28T16:25:32Z</dc:date>
    </item>
    <item>
      <title>Re: Serverless base env setup in Databricks Asset Bundle (DAB)</title>
      <link>https://community.databricks.com/t5/data-engineering/serverless-base-env-setup-in-databricks-asset-bundle-dab/m-p/130112#M48702</link>
      <description>&lt;P&gt;Your YAML is valid, but the reason the libraries are not being installed is because base_environment_path is not supported for serverless compute. Serverless jobs use a fully managed environment and you can’t override it with a custom base environment.&lt;/P&gt;&lt;P&gt;If you need specific libraries, you have two options:&lt;/P&gt;&lt;P&gt;Use a non-serverless cluster and point base_environment_path to your YAML.&lt;/P&gt;&lt;P&gt;For serverless, install the required packages either by defining them under libraries in the job spec or by using %pip install inside the notebook.&lt;/P&gt;&lt;P&gt;In short, base_environment_path has no effect on serverless jobs.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Aug 2025 03:38:20 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/serverless-base-env-setup-in-databricks-asset-bundle-dab/m-p/130112#M48702</guid>
      <dc:creator>Yogesh_Verma_</dc:creator>
      <dc:date>2025-08-29T03:38:20Z</dc:date>
    </item>
    <item>
      <title>Re: Serverless base env setup in Databricks Asset Bundle (DAB)</title>
      <link>https://community.databricks.com/t5/data-engineering/serverless-base-env-setup-in-databricks-asset-bundle-dab/m-p/132572#M49555</link>
      <description>&lt;P&gt;with the latest private preview we can provide base environment libraries from DAB yaml as follows, i am exploring if there is any way we can directly provide&amp;nbsp;&lt;SPAN&gt;base_environment_path instad:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;    &lt;SPAN&gt;environment_key&lt;/SPAN&gt;: default&lt;BR /&gt;&lt;SPAN&gt;environments&lt;/SPAN&gt;:&lt;BR /&gt;  - &lt;SPAN&gt;environment_key&lt;/SPAN&gt;: default&lt;BR /&gt;    &lt;SPAN&gt;spec&lt;/SPAN&gt;:&lt;BR /&gt;      &lt;SPAN&gt;environment_version&lt;/SPAN&gt;: &lt;SPAN&gt;'3'&lt;BR /&gt;&lt;/SPAN&gt;      &lt;SPAN&gt;dependencies&lt;/SPAN&gt;:&lt;BR /&gt;        - --index-url https://pypi.org/simple&lt;BR /&gt;        - pgpy&lt;BR /&gt;        - paramiko&lt;BR /&gt;        - xxxx.whl&lt;/PRE&gt;</description>
      <pubDate>Fri, 19 Sep 2025 15:00:56 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/serverless-base-env-setup-in-databricks-asset-bundle-dab/m-p/132572#M49555</guid>
      <dc:creator>kranthit</dc:creator>
      <dc:date>2025-09-19T15:00:56Z</dc:date>
    </item>
  </channel>
</rss>

