<?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 Databricks Asset Bundle deploy a job: Python wheel could not be found in Administration &amp; Architecture</title>
    <link>https://community.databricks.com/t5/administration-architecture/databricks-asset-bundle-deploy-a-job-python-wheel-could-not-be/m-p/90729#M1820</link>
    <description>&lt;P&gt;I created a repository for testing DAB, and I'm getting this error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;run failed with error message
 Python wheel with name dab_test_repo could not be found. Please check the driver logs for more details&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is my databricks.yml:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;bundle:
  name: dab_test_repo

# Declare to Databricks Assets Bundles that this is a Python project
artifacts:
  default:
    type: whl
    build: poetry build
    path: .

resources:
  jobs:
    dab_test_repo:
      name: dab_test_repo
      tasks:
        - task_key: solve
          job_cluster_key: ${bundle.target}-${bundle.name}-job-cluster
          python_wheel_task:
             package_name: dab_test_repo
             entry_point: solver
         #  libraries:
         #    - whl: ./dist/*.whl
        - task_key: forecast
          depends_on:
            - task_key: solve
          job_cluster_key: ${bundle.target}-${bundle.name}-job-cluster
          python_wheel_task:
             package_name: dab_test_repo
             entry_point: forecast
          # libraries:
          #   - whl: ./dist/*.whl
        - task_key: regularize
          depends_on:
            - task_key: solve
          job_cluster_key: ${bundle.target}-${bundle.name}-job-cluster
          python_wheel_task:
             package_name: dab_test_repo
             entry_point: regularize
          # libraries:
          #   - whl: ./dist/*.whl
        - task_key: persist_data
          depends_on:
            - task_key: forecast
            - task_key: regularize
          job_cluster_key: ${bundle.target}-${bundle.name}-job-cluster
          python_wheel_task:
             package_name: dab_test_repo
             entry_point: save_in_database
          # libraries:
          #   - whl: ./dist/*.whl

targets:
  dev:
    mode: development
    default: true
    run_as:
      user_name: my_mail@generic_mail.com
    resources:
      jobs:
        dab_test_repo:
          job_clusters:
            - job_cluster_key: ${bundle.target}-${bundle.name}-job-cluster
              new_cluster:
                num_workers: 2
                spark_version: "13.3.x-cpu-ml-scala2.12"  # Specify the Spark version
                node_type_id: Standard_DS3_v2 # Specify the node type&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 17 Sep 2024 13:55:27 GMT</pubDate>
    <dc:creator>PabloCSD</dc:creator>
    <dc:date>2024-09-17T13:55:27Z</dc:date>
    <item>
      <title>Databricks Asset Bundle deploy a job: Python wheel could not be found</title>
      <link>https://community.databricks.com/t5/administration-architecture/databricks-asset-bundle-deploy-a-job-python-wheel-could-not-be/m-p/90729#M1820</link>
      <description>&lt;P&gt;I created a repository for testing DAB, and I'm getting this error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;run failed with error message
 Python wheel with name dab_test_repo could not be found. Please check the driver logs for more details&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is my databricks.yml:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;bundle:
  name: dab_test_repo

# Declare to Databricks Assets Bundles that this is a Python project
artifacts:
  default:
    type: whl
    build: poetry build
    path: .

resources:
  jobs:
    dab_test_repo:
      name: dab_test_repo
      tasks:
        - task_key: solve
          job_cluster_key: ${bundle.target}-${bundle.name}-job-cluster
          python_wheel_task:
             package_name: dab_test_repo
             entry_point: solver
         #  libraries:
         #    - whl: ./dist/*.whl
        - task_key: forecast
          depends_on:
            - task_key: solve
          job_cluster_key: ${bundle.target}-${bundle.name}-job-cluster
          python_wheel_task:
             package_name: dab_test_repo
             entry_point: forecast
          # libraries:
          #   - whl: ./dist/*.whl
        - task_key: regularize
          depends_on:
            - task_key: solve
          job_cluster_key: ${bundle.target}-${bundle.name}-job-cluster
          python_wheel_task:
             package_name: dab_test_repo
             entry_point: regularize
          # libraries:
          #   - whl: ./dist/*.whl
        - task_key: persist_data
          depends_on:
            - task_key: forecast
            - task_key: regularize
          job_cluster_key: ${bundle.target}-${bundle.name}-job-cluster
          python_wheel_task:
             package_name: dab_test_repo
             entry_point: save_in_database
          # libraries:
          #   - whl: ./dist/*.whl

targets:
  dev:
    mode: development
    default: true
    run_as:
      user_name: my_mail@generic_mail.com
    resources:
      jobs:
        dab_test_repo:
          job_clusters:
            - job_cluster_key: ${bundle.target}-${bundle.name}-job-cluster
              new_cluster:
                num_workers: 2
                spark_version: "13.3.x-cpu-ml-scala2.12"  # Specify the Spark version
                node_type_id: Standard_DS3_v2 # Specify the node type&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2024 13:55:27 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/databricks-asset-bundle-deploy-a-job-python-wheel-could-not-be/m-p/90729#M1820</guid>
      <dc:creator>PabloCSD</dc:creator>
      <dc:date>2024-09-17T13:55:27Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks Asset Bundle deploy a job: Python wheel could not be found</title>
      <link>https://community.databricks.com/t5/administration-architecture/databricks-asset-bundle-deploy-a-job-python-wheel-could-not-be/m-p/90732#M1822</link>
      <description>&lt;P&gt;Fixed it:&lt;/P&gt;&lt;P&gt;Uncommenting out:&lt;/P&gt;&lt;PRE&gt;          # libraries:
          #   - whl: ./dist/*.whl&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2024 14:39:52 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/databricks-asset-bundle-deploy-a-job-python-wheel-could-not-be/m-p/90732#M1822</guid>
      <dc:creator>PabloCSD</dc:creator>
      <dc:date>2024-09-17T14:39:52Z</dc:date>
    </item>
  </channel>
</rss>

