<?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 Workflow entry point not working on runtime 16.4-LTS in Get Started Discussions</title>
    <link>https://community.databricks.com/t5/get-started-discussions/workflow-entry-point-not-working-on-runtime-16-4-lts/m-p/122070#M10191</link>
    <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;I'm developing a python code that it is packaged as a wheel and installed inside a docker image. However, since this program requires numpy &amp;gt;= 2.0 I'm forced to use the runtime 16.4-LTS.&lt;/P&gt;&lt;P&gt;When I try to run it as a workflow on databricks I'm encountering the following issue:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2025-06-18 at 07.53.09.png" style="width: 999px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/17597iC8ECE2E82E3F9F4A/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2025-06-18 at 07.53.09.png" alt="Screenshot 2025-06-18 at 07.53.09.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;DIV class=""&gt;Now, what it is odd, is that this exactly workflow is working on a runtime 15.4-LTS (but I have to remove my numpy code).&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;Do you know if something has changed on the way we have to configure the workflows on runtime 16.4-LTS ?&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;PS: just for information the issue with numpy &amp;gt;= 2.0 on runtime 15.4-LTS is this:&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2025-06-18 at 07.54.24.png" style="width: 999px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/17598iCFF67E8A4767BBA3/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2025-06-18 at 07.54.24.png" alt="Screenshot 2025-06-18 at 07.54.24.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;</description>
    <pubDate>Wed, 18 Jun 2025 05:54:55 GMT</pubDate>
    <dc:creator>mexcram</dc:creator>
    <dc:date>2025-06-18T05:54:55Z</dc:date>
    <item>
      <title>Workflow entry point not working on runtime 16.4-LTS</title>
      <link>https://community.databricks.com/t5/get-started-discussions/workflow-entry-point-not-working-on-runtime-16-4-lts/m-p/122070#M10191</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;I'm developing a python code that it is packaged as a wheel and installed inside a docker image. However, since this program requires numpy &amp;gt;= 2.0 I'm forced to use the runtime 16.4-LTS.&lt;/P&gt;&lt;P&gt;When I try to run it as a workflow on databricks I'm encountering the following issue:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2025-06-18 at 07.53.09.png" style="width: 999px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/17597iC8ECE2E82E3F9F4A/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2025-06-18 at 07.53.09.png" alt="Screenshot 2025-06-18 at 07.53.09.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;DIV class=""&gt;Now, what it is odd, is that this exactly workflow is working on a runtime 15.4-LTS (but I have to remove my numpy code).&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;Do you know if something has changed on the way we have to configure the workflows on runtime 16.4-LTS ?&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;PS: just for information the issue with numpy &amp;gt;= 2.0 on runtime 15.4-LTS is this:&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2025-06-18 at 07.54.24.png" style="width: 999px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/17598iCFF67E8A4767BBA3/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2025-06-18 at 07.54.24.png" alt="Screenshot 2025-06-18 at 07.54.24.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 18 Jun 2025 05:54:55 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/workflow-entry-point-not-working-on-runtime-16-4-lts/m-p/122070#M10191</guid>
      <dc:creator>mexcram</dc:creator>
      <dc:date>2025-06-18T05:54:55Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow entry point not working on runtime 16.4-LTS</title>
      <link>https://community.databricks.com/t5/get-started-discussions/workflow-entry-point-not-working-on-runtime-16-4-lts/m-p/129538#M10584</link>
      <description>&lt;P&gt;Facing same issue .&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Aug 2025 05:50:24 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/workflow-entry-point-not-working-on-runtime-16-4-lts/m-p/129538#M10584</guid>
      <dc:creator>Nishant1994</dc:creator>
      <dc:date>2025-08-25T05:50:24Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow entry point not working on runtime 16.4-LTS</title>
      <link>https://community.databricks.com/t5/get-started-discussions/workflow-entry-point-not-working-on-runtime-16-4-lts/m-p/138484#M10987</link>
      <description>&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;Databricks Runtime 16.4-LTS introduced some changes that affect workflow configuration, environment management, and, notably, support for Python third-party libraries like NumPy. The main issue you’re encountering with NumPy &amp;gt;= 2.0 in Databricks workflows stems from compatibility and environment management changes in this latest LTS release.&lt;/P&gt;
&lt;H2 id="whats-different-in-164-lts-workflows" class="mb-2 mt-4 font-display font-semimedium text-base first:mt-0 md:text-lg [hr+&amp;amp;]:mt-4"&gt;What's Different in 16.4-LTS Workflows&lt;/H2&gt;
&lt;UL class="marker:text-quiet list-disc"&gt;
&lt;LI class="py-0 my-0 prose-p:pt-0 prose-p:mb-2 prose-p:my-0 [&amp;amp;&amp;gt;p]:pt-0 [&amp;amp;&amp;gt;p]:mb-2 [&amp;amp;&amp;gt;p]:my-0"&gt;
&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;Databricks Runtime 16.4-LTS ships with NumPy 1.26.4 by default. If your workflow (or a third-party wheel) requires NumPy 2.x and tries to upgrade it, you can end up with a version mismatch between NumPy and other libraries like pandas or PySpark, which do not yet support NumPy 2.x fully in Databricks clusters.​&lt;/P&gt;
&lt;/LI&gt;
&lt;LI class="py-0 my-0 prose-p:pt-0 prose-p:mb-2 prose-p:my-0 [&amp;amp;&amp;gt;p]:pt-0 [&amp;amp;&amp;gt;p]:mb-2 [&amp;amp;&amp;gt;p]:my-0"&gt;
&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;Databricks clusters (including custom Docker images) may not automatically reconcile these dependency conflicts, especially when the workflow installs packages that force NumPy to 2.x, breaking compatibility with Databricks-native library expectations.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI class="py-0 my-0 prose-p:pt-0 prose-p:mb-2 prose-p:my-0 [&amp;amp;&amp;gt;p]:pt-0 [&amp;amp;&amp;gt;p]:mb-2 [&amp;amp;&amp;gt;p]:my-0"&gt;
&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;Databricks Connect and certain libraries explicitly restrict NumPy versions, usually supporting only NumPy &amp;lt; 2.0 due to upstream compatibility issues in PySpark.​&lt;/P&gt;
&lt;/LI&gt;
&lt;LI class="py-0 my-0 prose-p:pt-0 prose-p:mb-2 prose-p:my-0 [&amp;amp;&amp;gt;p]:pt-0 [&amp;amp;&amp;gt;p]:mb-2 [&amp;amp;&amp;gt;p]:my-0"&gt;
&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;Python package management in 16.4-LTS (and especially Machine Learning runtimes) is done with virtualenv, which isolates installations but can still end up with incompatible versions if dependencies are upgraded within a workflow or notebook.​&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;H2 id="known-numpy-20-issues" class="mb-2 mt-4 font-display font-semimedium text-base first:mt-0 md:text-lg [hr+&amp;amp;]:mt-4"&gt;Known numpy 2.0 Issues&lt;/H2&gt;
&lt;UL class="marker:text-quiet list-disc"&gt;
&lt;LI class="py-0 my-0 prose-p:pt-0 prose-p:mb-2 prose-p:my-0 [&amp;amp;&amp;gt;p]:pt-0 [&amp;amp;&amp;gt;p]:mb-2 [&amp;amp;&amp;gt;p]:my-0"&gt;
&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;NumPy 2.0 includes breaking changes for both Python and C APIs. Packages not rebuilt against NumPy 2.0 may throw errors like “module 'numpy._core' has no attribute 'multiarray'” or binary incompatibility warnings.​&lt;/P&gt;
&lt;/LI&gt;
&lt;LI class="py-0 my-0 prose-p:pt-0 prose-p:mb-2 prose-p:my-0 [&amp;amp;&amp;gt;p]:pt-0 [&amp;amp;&amp;gt;p]:mb-2 [&amp;amp;&amp;gt;p]:my-0"&gt;
&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;Some Databricks tools—including Databricks Connect and possibly workflow orchestrators—still require NumPy &amp;lt; 2.0 for reliable operation and explicitly block or downgrade the package.​&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;H2 id="recommendations" class="mb-2 mt-4 font-display font-semimedium text-base first:mt-0 md:text-lg [hr+&amp;amp;]:mt-4"&gt;Recommendations&lt;/H2&gt;
&lt;UL class="marker:text-quiet list-disc"&gt;
&lt;LI class="py-0 my-0 prose-p:pt-0 prose-p:mb-2 prose-p:my-0 [&amp;amp;&amp;gt;p]:pt-0 [&amp;amp;&amp;gt;p]:mb-2 [&amp;amp;&amp;gt;p]:my-0"&gt;
&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;On Databricks Runtime 16.4-LTS, pin NumPy to the version provided by the runtime, unless absolutely necessary. That means in most cases you should stick to numpy==1.26.4.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI class="py-0 my-0 prose-p:pt-0 prose-p:mb-2 prose-p:my-0 [&amp;amp;&amp;gt;p]:pt-0 [&amp;amp;&amp;gt;p]:mb-2 [&amp;amp;&amp;gt;p]:my-0"&gt;
&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;If you must use NumPy 2.x, ensure all dependencies, including pandas (version &amp;gt;=2.2.2), fully support it, and test workflows in isolated environments.​&lt;/P&gt;
&lt;/LI&gt;
&lt;LI class="py-0 my-0 prose-p:pt-0 prose-p:mb-2 prose-p:my-0 [&amp;amp;&amp;gt;p]:pt-0 [&amp;amp;&amp;gt;p]:mb-2 [&amp;amp;&amp;gt;p]:my-0"&gt;
&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;When building wheels for deployment on Databricks, specify compatible versions in your requirements. Adding explicit constraints (e.g., numpy==1.26.4) avoids most runtime errors on 16.4-LTS.​&lt;/P&gt;
&lt;/LI&gt;
&lt;LI class="py-0 my-0 prose-p:pt-0 prose-p:mb-2 prose-p:my-0 [&amp;amp;&amp;gt;p]:pt-0 [&amp;amp;&amp;gt;p]:mb-2 [&amp;amp;&amp;gt;p]:my-0"&gt;
&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;When using custom Docker images, ensure the pre-installed libraries do not conflict with Databricks-managed base libraries. If you force a newer numpy, check all downstream package versions and compatibility carefully.&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;H2 id="key-table-databricks-runtime-numpy-support-and-wor" class="mb-2 mt-4 font-display font-semimedium text-base first:mt-0 md:text-lg [hr+&amp;amp;]:mt-4"&gt;Key Table: Databricks Runtime, NumPy Support, and Workflow Guidance&lt;/H2&gt;
&lt;DIV class="group relative"&gt;
&lt;DIV class="w-full overflow-x-auto md:max-w-[90vw] border-subtlest ring-subtlest divide-subtlest bg-transparent"&gt;
&lt;TABLE class="border-subtler my-[1em] w-full table-auto border-separate border-spacing-0 border-l border-t"&gt;
&lt;THEAD class="bg-subtler"&gt;
&lt;TR&gt;
&lt;TH class="border-subtler p-sm break-normal border-b border-r text-left align-top"&gt;Runtime Version&lt;/TH&gt;
&lt;TH class="border-subtler p-sm break-normal border-b border-r text-left align-top"&gt;Default NumPy&lt;/TH&gt;
&lt;TH class="border-subtler p-sm break-normal border-b border-r text-left align-top"&gt;Supports NumPy 2.x?&lt;/TH&gt;
&lt;TH class="border-subtler p-sm break-normal border-b border-r text-left align-top"&gt;Guidance&lt;/TH&gt;
&lt;/TR&gt;
&lt;/THEAD&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD class="px-sm border-subtler min-w-[48px] break-normal border-b border-r"&gt;15.4-LTS&lt;/TD&gt;
&lt;TD class="px-sm border-subtler min-w-[48px] break-normal border-b border-r"&gt;1.26.x&lt;/TD&gt;
&lt;TD class="px-sm border-subtler min-w-[48px] break-normal border-b border-r"&gt;No&lt;/TD&gt;
&lt;TD class="px-sm border-subtler min-w-[48px] break-normal border-b border-r"&gt;Remove NumPy 2.x code; stay &amp;lt;2.0&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD class="px-sm border-subtler min-w-[48px] break-normal border-b border-r"&gt;16.4-LTS&lt;/TD&gt;
&lt;TD class="px-sm border-subtler min-w-[48px] break-normal border-b border-r"&gt;1.26.4&lt;/TD&gt;
&lt;TD class="px-sm border-subtler min-w-[48px] break-normal border-b border-r"&gt;No*&lt;/TD&gt;
&lt;TD class="px-sm border-subtler min-w-[48px] break-normal border-b border-r"&gt;Pin numpy==1.26.4, avoid 2.x if possible&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD class="px-sm border-subtler min-w-[48px] break-normal border-b border-r"&gt;Custom Image&lt;/TD&gt;
&lt;TD class="px-sm border-subtler min-w-[48px] break-normal border-b border-r"&gt;User choice&lt;/TD&gt;
&lt;TD class="px-sm border-subtler min-w-[48px] break-normal border-b border-r"&gt;Possible, risky&lt;/TD&gt;
&lt;TD class="px-sm border-subtler min-w-[48px] break-normal border-b border-r"&gt;Must align all deps; not guaranteed&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/DIV&gt;
&lt;DIV class="bg-base border-subtler shadow-subtle pointer-coarse:opacity-100 right-xs absolute bottom-0 flex rounded-lg border opacity-0 transition-opacity group-hover:opacity-100 [&amp;amp;&amp;gt;*:not(:first-child)]:border-subtle [&amp;amp;&amp;gt;*:not(:first-child)]:border-l"&gt;
&lt;DIV class="flex"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="flex"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;*16.4-LTS clusters may allow pip installing NumPy 2.x, but this breaks compatibility with Spark and some Databricks tools.​&lt;/P&gt;</description>
      <pubDate>Tue, 11 Nov 2025 01:25:55 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/workflow-entry-point-not-working-on-runtime-16-4-lts/m-p/138484#M10987</guid>
      <dc:creator>mark_ott</dc:creator>
      <dc:date>2025-11-11T01:25:55Z</dc:date>
    </item>
  </channel>
</rss>

