<?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: Databricks job with a type &amp;quot;Python wheel&amp;quot; does not work if &amp;quot;Package name&amp;quot; co in Administration &amp; Architecture</title>
    <link>https://community.databricks.com/t5/administration-architecture/databricks-job-with-a-type-quot-python-wheel-quot-does-not-work/m-p/61174#M896</link>
    <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.png" style="width: 462px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/6321iE5E548554934A528/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="1.png" alt="1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;job&amp;nbsp;use package name as module name, it is&amp;nbsp;not allowed in python&amp;nbsp;code&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 20 Feb 2024 01:43:40 GMT</pubDate>
    <dc:creator>feiyun0112</dc:creator>
    <dc:date>2024-02-20T01:43:40Z</dc:date>
    <item>
      <title>Databricks job with a type "Python wheel" does not work if "Package name" contains dash</title>
      <link>https://community.databricks.com/t5/administration-architecture/databricks-job-with-a-type-quot-python-wheel-quot-does-not-work/m-p/61008#M889</link>
      <description>&lt;P&gt;Hello&lt;BR /&gt;I created a databricks job with a type "Python wheel". In the "Package name" field I assigned a python package which contains a dash in its name (see attach). The run of the job failed saying that could not import python package due to dash in the name of the python package.&lt;BR /&gt;How is it possible to create a job with a type "Python wheel" and a python package which contains dash in its name?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="test_job.PNG" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/6305i145C5116B86FC18C/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="test_job.PNG" alt="test_job.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Sun, 18 Feb 2024 10:54:54 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/databricks-job-with-a-type-quot-python-wheel-quot-does-not-work/m-p/61008#M889</guid>
      <dc:creator>Sikalokym</dc:creator>
      <dc:date>2024-02-18T10:54:54Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks job with a type "Python wheel" does not work if "Package name" co</title>
      <link>https://community.databricks.com/t5/administration-architecture/databricks-job-with-a-type-quot-python-wheel-quot-does-not-work/m-p/61011#M890</link>
      <description>&lt;P&gt;Yes it is expected and documented behavior. Module names as&lt;BR /&gt;mentioned in import statements must be valid Python identifiers.&lt;BR /&gt;Hyphens are not allowed in identifiers.&lt;/P&gt;&lt;P&gt;Try renaming to &lt;STRONG&gt;test_package&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;A href="https://bugs.python.org/issue909226" target="_self"&gt;https://bugs.python.org/issue909226&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Feb 2024 13:47:32 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/databricks-job-with-a-type-quot-python-wheel-quot-does-not-work/m-p/61011#M890</guid>
      <dc:creator>feiyun0112</dc:creator>
      <dc:date>2024-02-18T13:47:32Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks job with a type "Python wheel" does not work if "Package name" co</title>
      <link>https://community.databricks.com/t5/administration-architecture/databricks-job-with-a-type-quot-python-wheel-quot-does-not-work/m-p/61030#M892</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Yes, it is known that hyphens are not allowed in python identifiers, while&amp;nbsp;hyphens are allowed in python package names. There are a lot of python packages which contains&amp;nbsp;hyphens in their name. In the configuration of a databricks job it is said that "Package name" should be a name as declared in package metadata (setup.py).&lt;BR /&gt;But, package name in metadata and a name of this package which we use for "Import" can be different, and this is normal behavior. So, it looks controversially - in general&amp;nbsp;hyphens are allowed in package names, but in databricks job configuration&amp;nbsp;hyphens are not allowed in package names. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Feb 2024 22:31:55 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/databricks-job-with-a-type-quot-python-wheel-quot-does-not-work/m-p/61030#M892</guid>
      <dc:creator>Sikalokym</dc:creator>
      <dc:date>2024-02-18T22:31:55Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks job with a type "Python wheel" does not work if "Package name" co</title>
      <link>https://community.databricks.com/t5/administration-architecture/databricks-job-with-a-type-quot-python-wheel-quot-does-not-work/m-p/61174#M896</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.png" style="width: 462px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/6321iE5E548554934A528/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="1.png" alt="1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;job&amp;nbsp;use package name as module name, it is&amp;nbsp;not allowed in python&amp;nbsp;code&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2024 01:43:40 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/databricks-job-with-a-type-quot-python-wheel-quot-does-not-work/m-p/61174#M896</guid>
      <dc:creator>feiyun0112</dc:creator>
      <dc:date>2024-02-20T01:43:40Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks job with a type "Python wheel" does not work if "Package name" co</title>
      <link>https://community.databricks.com/t5/administration-architecture/databricks-job-with-a-type-quot-python-wheel-quot-does-not-work/m-p/62762#M952</link>
      <description>&lt;P&gt;There you can see a complete template project with a python wheel task and modules. Please, follow the instructions for deployment.&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/andre-salvati/databricks-template" rel="nofollow noreferrer" target="_blank"&gt;https://github.com/andre-salvati/databricks-template&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2024 16:48:51 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/databricks-job-with-a-type-quot-python-wheel-quot-does-not-work/m-p/62762#M952</guid>
      <dc:creator>AndréSalvati</dc:creator>
      <dc:date>2024-03-06T16:48:51Z</dc:date>
    </item>
  </channel>
</rss>

