<?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 Python environment DAB in Machine Learning</title>
    <link>https://community.databricks.com/t5/machine-learning/python-environment-dab/m-p/148889#M4548</link>
    <description>&lt;P&gt;Hello,&lt;BR /&gt;I am building a pipeline using DAB.&lt;BR /&gt;&lt;BR /&gt;The first step of the dab is to deploy my library as a wheel.&lt;/P&gt;&lt;P&gt;The pipeline is run on a shared databricks cluster.&lt;BR /&gt;When I run the job I see that the job is not using exactly the requirements I specified but it used the versions that were already in the cluster.&lt;BR /&gt;&lt;BR /&gt;Is there a way to have a specific environment for my job using this shared cluster ?&lt;/P&gt;</description>
    <pubDate>Fri, 20 Feb 2026 12:46:28 GMT</pubDate>
    <dc:creator>Dali1</dc:creator>
    <dc:date>2026-02-20T12:46:28Z</dc:date>
    <item>
      <title>Python environment DAB</title>
      <link>https://community.databricks.com/t5/machine-learning/python-environment-dab/m-p/148889#M4548</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;I am building a pipeline using DAB.&lt;BR /&gt;&lt;BR /&gt;The first step of the dab is to deploy my library as a wheel.&lt;/P&gt;&lt;P&gt;The pipeline is run on a shared databricks cluster.&lt;BR /&gt;When I run the job I see that the job is not using exactly the requirements I specified but it used the versions that were already in the cluster.&lt;BR /&gt;&lt;BR /&gt;Is there a way to have a specific environment for my job using this shared cluster ?&lt;/P&gt;</description>
      <pubDate>Fri, 20 Feb 2026 12:46:28 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/python-environment-dab/m-p/148889#M4548</guid>
      <dc:creator>Dali1</dc:creator>
      <dc:date>2026-02-20T12:46:28Z</dc:date>
    </item>
    <item>
      <title>Re: Python environment DAB</title>
      <link>https://community.databricks.com/t5/machine-learning/python-environment-dab/m-p/148998#M4549</link>
      <description>&lt;P&gt;This is the nature of shared clusters . You can install libraries for a task but isolation is not guaranteed . if a library is already installed on the cluster it will take priority over what defined for the task.&lt;/P&gt;&lt;P&gt;Any reason you cant use job clusters . They are cheap and provide the isolation needed in your case . Another options is using Serverless jobs with environment specs .&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 22 Feb 2026 22:35:34 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/python-environment-dab/m-p/148998#M4549</guid>
      <dc:creator>pradeep_singh</dc:creator>
      <dc:date>2026-02-22T22:35:34Z</dc:date>
    </item>
    <item>
      <title>Re: Python environment DAB</title>
      <link>https://community.databricks.com/t5/machine-learning/python-environment-dab/m-p/149009#M4550</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/216600"&gt;@Dali1&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;+1 to&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/202980"&gt;@pradeep_singh&lt;/a&gt;,&amp;nbsp;on shared clusters, tasks inherit cluster-installed libraries, so you won’t get a clean, versioned environment. Use a job cluster (new_cluster) or switch to serverless jobs with an environment per task for isolation. With serverless, define job.environments and set environment_key on your wheel/script task. List your wheel/requirements in dependencies to pin exact version.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Feb 2026 02:40:56 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/python-environment-dab/m-p/149009#M4550</guid>
      <dc:creator>stbjelcevic</dc:creator>
      <dc:date>2026-02-23T02:40:56Z</dc:date>
    </item>
  </channel>
</rss>

