<?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 Re: Bundled Wheel Task with Serverless Compute in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/bundled-wheel-task-with-serverless-compute/m-p/146939#M52736</link>
    <description>&lt;P&gt;&lt;STRIKE&gt;Following up further, I went back to the "simple" case - but it still doesn't work. I can see in the logs that my library is found and loaded:&lt;/STRIKE&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Uninstalling nexusbricks-0.1.0:
Successfully uninstalled nexusbricks-0.1.0
Note: you may need to restart the kernel using %restart_python or dbutils.library.restartPython() to use updated packages.
Processing /Volumes/almdev/transient/staging/artifacts/mark.richmond@milliman.com/DBX/dev/4f8943f6460ba7cd2ad50c82e50f2bebf1cf02db/.internal/nexusbricks-0.1.0-py3-none-any.whl (from -r /tmp/tmp-6746852034be4303a9151e05775bf74d-environment-requirements.txt (line 1))
Requirement already satisfied: pyspark in /local_disk0/.ephemeral_nfs/envs/pythonEnv-35cd5d82-6a03-448d-b711-7f1f603acfb9/lib/python3.11/site-packages (from nexusbricks==0.1.0-&amp;gt;-r /tmp/tmp-6746852034be4303a9151e05775bf74d-environment-requirements.txt (line 1)) (4.1.1)
Requirement already satisfied: py4j&amp;lt;0.10.9.10,&amp;gt;=0.10.9.7 in /databricks/python3/lib/python3.11/site-packages (from pyspark-&amp;gt;nexusbricks==0.1.0-&amp;gt;-r /tmp/tmp-6746852034be4303a9151e05775bf74d-environment-requirements.txt (line 1)) (0.10.9.7)
Installing collected packages: nexusbricks
Successfully installed nexusbricks-0.1.0&lt;/LI-CODE&gt;&lt;P&gt;&lt;STRIKE&gt;However the wheel task still fails:&lt;/STRIKE&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Run failed with error message
 Python wheel with name nexusbricks could not be found. Please check the driver logs for more details
Python wheel with name nexusbricks could not be found. Please check the driver logs for more details&lt;/LI-CODE&gt;&lt;P&gt;&lt;STRIKE&gt;After a bunch of chatting with the databricks agent bot - it seems to imply that wheel tasks simply *don't* work on Serverless as it suggests that you must use libraries, which requires a cluster as we previously established.&lt;/STRIKE&gt;&lt;/P&gt;&lt;P&gt;&lt;STRIKE&gt;I've gone through dozens of permutations at this point and am unable to get a wheel task to run on serverless at all.&lt;/STRIKE&gt;&lt;/P&gt;&lt;P&gt;The issue above here is because environment_version: "2" apparently does not support loading the wheel correctly. Changing to environment_version: "4" resolved this issue. When you have time, I'd still appreciate answers re: artifact_path and best practices for dev/prod.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Thu, 05 Feb 2026 21:27:01 GMT</pubDate>
    <dc:creator>mlrichmond-mill</dc:creator>
    <dc:date>2026-02-05T21:27:01Z</dc:date>
    <item>
      <title>Bundled Wheel Task with Serverless Compute</title>
      <link>https://community.databricks.com/t5/data-engineering/bundled-wheel-task-with-serverless-compute/m-p/146928#M52733</link>
      <description>&lt;P&gt;I am trying to run a wheel task as part of a bundle on serverless compute. My databricks.yml includes an artifact being constructed:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;artifacts:
  nexusbricks:
    type: whl
    build: python -m build
    path: .&lt;/LI-CODE&gt;&lt;P&gt;I then am trying to set up a job to consume it:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;resources:
  jobs:         
    ingest_file:
      name: "Ingest File Data"

      parameters:
        - name: scriptName        
          default: ""

      tasks:
        - task_key: ingest_file
          environment_key: serverless_env
          python_wheel_task:
            package_name: "nexusbricks"
            entry_point: "ingestRouter"            
            parameters:
              - "--scriptName"
              - "{{job.parameters.scriptName}}"   # sys.argv[1]

      environments:
        - environment_key: serverless_env
          spec:
            environment_version: "2" 
            dependencies:
            - "${workspace.root_path}/artifacts/.internal/nexusbricks-0.1.0-py3-none-any.whl"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Eventually, I would like to be able to upload the wheel to a dynamic location based on its git_commit and then use any past version of the wheel in my job - but for right now I am just trying to get this simple example to work.&lt;/P&gt;&lt;P&gt;I know I can make this work using the libraries tag when using a traditional job cluster - but how do I get this to work for serverless?&lt;/P&gt;&lt;P&gt;I haven't found an example of this workflow on the forums so far - the closest I saw was someone using notebooks but notebook tasks that consume a wheel aren't the same thing as a wheel task.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Feb 2026 17:57:44 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/bundled-wheel-task-with-serverless-compute/m-p/146928#M52733</guid>
      <dc:creator>mlrichmond-mill</dc:creator>
      <dc:date>2026-02-05T17:57:44Z</dc:date>
    </item>
    <item>
      <title>Re: Bundled Wheel Task with Serverless Compute</title>
      <link>https://community.databricks.com/t5/data-engineering/bundled-wheel-task-with-serverless-compute/m-p/146931#M52734</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/214717"&gt;@mlrichmond-mill&lt;/a&gt;&amp;nbsp;, for &lt;SPAN class="s2"&gt;&lt;STRONG&gt;serverless&lt;/STRONG&gt;&lt;/SPAN&gt;, you install your wheel via the job’s &lt;SPAN class="s2"&gt;&lt;STRONG&gt;serverless environment dependencies&lt;/STRONG&gt;&lt;/SPAN&gt; — not the &lt;SPAN class="s3"&gt;libraries&lt;/SPAN&gt; stanza. Point the dependency at an &lt;SPAN class="s2"&gt;&lt;STRONG&gt;absolute&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN class="s3"&gt;/Workspace&lt;/SPAN&gt; or &lt;SPAN class="s3"&gt;/Volumes&lt;/SPAN&gt; path where the bundle uploaded the wheel, then run it using &lt;SPAN class="s3"&gt;package_name&lt;/SPAN&gt; + &lt;SPAN class="s3"&gt;entry_point&lt;/SPAN&gt; exactly as you’re doing now.&lt;/P&gt;
&lt;P class="p1"&gt;One gotcha: serverless &lt;SPAN class="s2"&gt;&lt;STRONG&gt;caches environments&lt;/STRONG&gt;&lt;/SPAN&gt;, so if you keep the same wheel version or overwrite the wheel at the same path, your changes may not be picked up. Bump the version or change the path on every build.&lt;/P&gt;
&lt;H3&gt;&lt;STRONG&gt;Why your current setup isn’t running yet&lt;/STRONG&gt;&lt;/H3&gt;
&lt;UL&gt;
&lt;LI&gt;
&lt;P class="p1"&gt;Serverless tasks (Python wheel, Python script, dbt) &lt;SPAN class="s1"&gt;&lt;STRONG&gt;require an &lt;/STRONG&gt;&lt;STRONG&gt;environment_key&lt;/STRONG&gt;&lt;/SPAN&gt; and resolve dependencies from that environment’s spec.&lt;/P&gt;
&lt;P class="p1"&gt;The &lt;SPAN class="s2"&gt;libraries&lt;/SPAN&gt; field you’d use with a cluster is ignored by serverless.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P class="p1"&gt;After &lt;SPAN class="s1"&gt;bundle deploy&lt;/SPAN&gt;, the wheel is uploaded into your workspace at:&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;/Workspace/Users/&amp;lt;you&amp;gt;/.bundle/&amp;lt;bundle&amp;gt;/&amp;lt;target&amp;gt;/artifacts/.internal/&amp;lt;wheel&amp;gt;.whl&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P class="p1"&gt;You must reference that &lt;SPAN class="s1"&gt;&lt;STRONG&gt;absolute path&lt;/STRONG&gt;&lt;/SPAN&gt; in the environment dependencies.&lt;/P&gt;
&lt;H3&gt;&lt;STRONG&gt;Minimal working example (serverless + wheel)&lt;/STRONG&gt;&lt;/H3&gt;
&lt;P class="p3"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;The key idea: reference the wheel from the &lt;SPAN class="s1"&gt;&lt;STRONG&gt;environment&lt;/STRONG&gt;&lt;/SPAN&gt;, using its absolute &lt;SPAN class="s3"&gt;/Workspace&lt;/SPAN&gt; path.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;# databricks.yml
bundle:
  name: nexusbricks-bundle

artifacts:
  nexusbricks:
    type: whl
    build: python -m build
    path: .
    # Optional, see caching notes below
    # dynamic_version: true

resources:
  jobs:
    ingest_file:
      name: "Ingest File Data"
      parameters:
        - name: scriptName
          default: ""

      tasks:
        - task_key: ingest_file
          environment_key: serverless_env   # required for serverless
          python_wheel_task:
            package_name: "nexusbricks"
            entry_point: "ingestRouter"
            parameters:
              - "--scriptName"
              - "{{job.parameters.scriptName}}"

      environments:
        - environment_key: serverless_env
          spec:
            environment_version: "2"
            dependencies:
              # Absolute workspace path to the deployed wheel
              # ${workspace.root_path} typically resolves to:
              # /Workspace/Users/&amp;lt;you&amp;gt;/.bundle/&amp;lt;bundle&amp;gt;/&amp;lt;target&amp;gt;
              - "/Workspace${workspace.root_path}/artifacts/.internal/nexusbricks-0.1.0-py3-none-any.whl"&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P class="p1"&gt;Key points:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;environment_key&lt;/SPAN&gt; is mandatory for serverless tasks.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P class="p1"&gt;Dependencies accept pip-style specs, including absolute paths starting with &lt;SPAN class="s1"&gt;/Workspace&lt;/SPAN&gt; or &lt;SPAN class="s1"&gt;/Volumes&lt;/SPAN&gt;.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P class="p1"&gt;Bundle deploys place wheels under&lt;/P&gt;
&lt;P class="p2"&gt;…/.bundle/&amp;lt;bundle&amp;gt;/&amp;lt;target&amp;gt;/artifacts/.internal/&lt;SPAN class="s1"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P class="p1"&gt;Run flow:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;databricks bundle validate
databricks bundle deploy -t &amp;lt;target&amp;gt;
databricks bundle run -t &amp;lt;target&amp;gt; ingest_file&lt;/CODE&gt;&lt;/PRE&gt;
&lt;H3&gt;&lt;STRONG&gt;Caching and versioning (this matters)&lt;/STRONG&gt;&lt;/H3&gt;
&lt;P class="p3"&gt;Serverless &lt;SPAN class="s2"&gt;&lt;STRONG&gt;caches environment dependencies&lt;/STRONG&gt;&lt;/SPAN&gt;. If you reuse the same wheel version or path, you may still be running yesterday’s code.&lt;/P&gt;
&lt;P class="p3"&gt;Best practices:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;
&lt;P class="p1"&gt;&lt;STRONG&gt;Bump the wheel version on every build&lt;/STRONG&gt;&lt;SPAN class="s1"&gt; (timestamp or git SHA), or&lt;/SPAN&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;STRONG&gt;Change the artifact path&lt;/STRONG&gt;&lt;/SPAN&gt; on each deploy so serverless sees a “new” dependency.&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P class="p3"&gt;You can automate this in bundles by:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;
&lt;P class="p1"&gt;Using &lt;SPAN class="s1"&gt;dynamic_version&lt;/SPAN&gt; on the artifact, or&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P class="p1"&gt;Embedding the git commit into the artifact path and version.&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;H3&gt;&lt;STRONG&gt;Long-term pattern: versioned wheels in a stable location&lt;/STRONG&gt;&lt;/H3&gt;
&lt;P class="p3"&gt;If you want reproducibility and easy rollbacks, store wheels in a &lt;SPAN class="s2"&gt;&lt;STRONG&gt;Unity Catalog Volume&lt;/STRONG&gt;&lt;/SPAN&gt;, versioned by commit or semver.&lt;/P&gt;
&lt;P class="p3"&gt;Example pattern:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;
&lt;P class="p1"&gt;Artifact path includes &lt;SPAN class="s1"&gt;${bundle.git.commit}&lt;/SPAN&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P class="p1"&gt;Wheel version includes commit or semver&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P class="p1"&gt;Jobs pin to an exact wheel&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;workspace:
  artifact_path: /Volumes/main/shared/artifacts/${bundle.name}/${bundle.target}/${bundle.git.commit}

artifacts:
  nexusbricks:
    type: whl
    build: |
      python -c "import re, pathlib;
from pathlib import Path
py=Path('pyproject.toml')
s=py.read_text()
s=re.sub(r'version\\s*=\\s*\"([^\"]+)\"',
         lambda m: f'version = \"{m.group(1)}+${bundle.git.commit}\"', s)
py.write_text(s)"
      python -m build
    path: .

resources:
  jobs:
    ingest_file:
      environments:
        - environment_key: serverless_env
          spec:
            environment_version: "2"
            dependencies:
              - "/Volumes/main/shared/artifacts/${bundle.name}/${bundle.target}/${bundle.git.commit}/nexusbricks-0.1.0+${bundle.git.commit}-py3-none-any.whl"&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P class="p1"&gt;This avoids cache surprises and gives you deterministic rollbacks.&lt;/P&gt;
&lt;H3&gt;&lt;STRONG&gt;Alternative: install the project directory&lt;/STRONG&gt;&lt;/H3&gt;
&lt;P class="p1"&gt;Serverless environments can also &lt;SPAN class="s2"&gt;pip install&lt;/SPAN&gt; directly from a project directory (with &lt;SPAN class="s2"&gt;pyproject.toml&lt;/SPAN&gt; or &lt;SPAN class="s2"&gt;setup.py&lt;/SPAN&gt;) stored in Workspace files or a Volume. This is fine for fast iteration, but &lt;SPAN class="s3"&gt;&lt;STRONG&gt;versioned wheels&lt;/STRONG&gt;&lt;/SPAN&gt; are the better long-term pattern for jobs.&lt;/P&gt;
&lt;H3&gt;&lt;STRONG&gt;Quick checklist&lt;/STRONG&gt;&lt;/H3&gt;
&lt;UL&gt;
&lt;LI&gt;
&lt;P class="p1"&gt;Dependency path is absolute and starts with &lt;SPAN class="s1"&gt;/Workspace&lt;/SPAN&gt; or &lt;SPAN class="s1"&gt;/Volumes&lt;/SPAN&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;environment_key&lt;/SPAN&gt; is set and used by the task&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;package_name&lt;/SPAN&gt; and &lt;SPAN class="s1"&gt;entry_point&lt;/SPAN&gt; match your package metadata&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P class="p1"&gt;Wheel version or path changes on every deploy&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P class="p1"&gt;Don’t rely on &lt;SPAN class="s1"&gt;libraries&lt;/SPAN&gt; for serverless wheel installs&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;Hope this helps put you in the right direction.&lt;/P&gt;
&lt;P class="p1"&gt;Cheers, Louis.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Feb 2026 19:25:07 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/bundled-wheel-task-with-serverless-compute/m-p/146931#M52734</guid>
      <dc:creator>Louis_Frolio</dc:creator>
      <dc:date>2026-02-05T19:25:07Z</dc:date>
    </item>
    <item>
      <title>Re: Bundled Wheel Task with Serverless Compute</title>
      <link>https://community.databricks.com/t5/data-engineering/bundled-wheel-task-with-serverless-compute/m-p/146933#M52735</link>
      <description>&lt;P&gt;Based on your example, I think my code was the same as what you suggested as the "minimum working sample" - however, I think I have a stale wheel cached in the serverless setup and that may be the source of my problem there. I agree the long-term goal is the git-commit based version - but when I attempt to use what you supplied, the deploy fails for the artifact path (Error: target with 'mode: production' must set 'workspace.root_path' to make sure only one copy is deployed) because I'm still working in dev at the moment.&lt;BR /&gt;&lt;BR /&gt;What is the best practice to facilitate this kind of pattern whilst getting prod and dev to peacefully coexist?&lt;BR /&gt;Ideally I'd like to be able to deploy to dev and have it automatically pick up my current "version" via timestamp or whatever else is necessary, and for prod use a wheel based on a git commit.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Feb 2026 19:45:52 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/bundled-wheel-task-with-serverless-compute/m-p/146933#M52735</guid>
      <dc:creator>mlrichmond-mill</dc:creator>
      <dc:date>2026-02-05T19:45:52Z</dc:date>
    </item>
    <item>
      <title>Re: Bundled Wheel Task with Serverless Compute</title>
      <link>https://community.databricks.com/t5/data-engineering/bundled-wheel-task-with-serverless-compute/m-p/146939#M52736</link>
      <description>&lt;P&gt;&lt;STRIKE&gt;Following up further, I went back to the "simple" case - but it still doesn't work. I can see in the logs that my library is found and loaded:&lt;/STRIKE&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Uninstalling nexusbricks-0.1.0:
Successfully uninstalled nexusbricks-0.1.0
Note: you may need to restart the kernel using %restart_python or dbutils.library.restartPython() to use updated packages.
Processing /Volumes/almdev/transient/staging/artifacts/mark.richmond@milliman.com/DBX/dev/4f8943f6460ba7cd2ad50c82e50f2bebf1cf02db/.internal/nexusbricks-0.1.0-py3-none-any.whl (from -r /tmp/tmp-6746852034be4303a9151e05775bf74d-environment-requirements.txt (line 1))
Requirement already satisfied: pyspark in /local_disk0/.ephemeral_nfs/envs/pythonEnv-35cd5d82-6a03-448d-b711-7f1f603acfb9/lib/python3.11/site-packages (from nexusbricks==0.1.0-&amp;gt;-r /tmp/tmp-6746852034be4303a9151e05775bf74d-environment-requirements.txt (line 1)) (4.1.1)
Requirement already satisfied: py4j&amp;lt;0.10.9.10,&amp;gt;=0.10.9.7 in /databricks/python3/lib/python3.11/site-packages (from pyspark-&amp;gt;nexusbricks==0.1.0-&amp;gt;-r /tmp/tmp-6746852034be4303a9151e05775bf74d-environment-requirements.txt (line 1)) (0.10.9.7)
Installing collected packages: nexusbricks
Successfully installed nexusbricks-0.1.0&lt;/LI-CODE&gt;&lt;P&gt;&lt;STRIKE&gt;However the wheel task still fails:&lt;/STRIKE&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Run failed with error message
 Python wheel with name nexusbricks could not be found. Please check the driver logs for more details
Python wheel with name nexusbricks could not be found. Please check the driver logs for more details&lt;/LI-CODE&gt;&lt;P&gt;&lt;STRIKE&gt;After a bunch of chatting with the databricks agent bot - it seems to imply that wheel tasks simply *don't* work on Serverless as it suggests that you must use libraries, which requires a cluster as we previously established.&lt;/STRIKE&gt;&lt;/P&gt;&lt;P&gt;&lt;STRIKE&gt;I've gone through dozens of permutations at this point and am unable to get a wheel task to run on serverless at all.&lt;/STRIKE&gt;&lt;/P&gt;&lt;P&gt;The issue above here is because environment_version: "2" apparently does not support loading the wheel correctly. Changing to environment_version: "4" resolved this issue. When you have time, I'd still appreciate answers re: artifact_path and best practices for dev/prod.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Feb 2026 21:27:01 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/bundled-wheel-task-with-serverless-compute/m-p/146939#M52736</guid>
      <dc:creator>mlrichmond-mill</dc:creator>
      <dc:date>2026-02-05T21:27:01Z</dc:date>
    </item>
    <item>
      <title>Re: Bundled Wheel Task with Serverless Compute</title>
      <link>https://community.databricks.com/t5/data-engineering/bundled-wheel-task-with-serverless-compute/m-p/146979#M52743</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/214717"&gt;@mlrichmond-mill&lt;/a&gt;&amp;nbsp;This is how we do it.&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;environments&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - &lt;/SPAN&gt;&lt;SPAN&gt;environment_key&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;serverless_env_v4&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;spec&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;environment_version&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;'4'&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;dependencies&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;dist/*.whl&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;becasue your bundle whl gets placed into&amp;nbsp; dist/*.whl.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;The bundle uploader syncs&amp;nbsp;dist/*.whl&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;into &lt;/SPAN&gt;&lt;STRONG&gt;workspace files&lt;/STRONG&gt;&lt;SPAN&gt; behind the scenes&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Note: Serverless cache the last used version so it will not use latest/current all time. its better to use pinned version for serverless.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Br&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Feb 2026 10:38:45 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/bundled-wheel-task-with-serverless-compute/m-p/146979#M52743</guid>
      <dc:creator>saurabh18cs</dc:creator>
      <dc:date>2026-02-06T10:38:45Z</dc:date>
    </item>
  </channel>
</rss>

