<?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 Using ipywidgets latest versions in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/using-ipywidgets-latest-versions/m-p/6244#M2441</link>
    <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I upgraded my cluster to DBR 13.0, which comes with ipywidgets version 7.7.2 installed.&lt;/P&gt;&lt;P&gt;However, I want to use the TagsInput widget, which is new since version 8.0.4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i upgrade the ipywidgets package to version 8.0.4, none of the widgets (like the basic IntSlider) run anymore. I get this error:&lt;/P&gt;&lt;P&gt;&lt;I&gt;"Stale widget: cannot display widget because the python repl changed. Please rerun the notebook"&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I downgrade the version again to 7.7.2, the other widgets work again. &lt;/P&gt;&lt;P&gt;Is there any way i can use the TagsInput widget in my databricks notebook? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or does anyone know alternatives for that widget? The dbutils widgets doesn't provide enough functionality, I need to select multiple from a list of +- 10k items, with a kind of search function. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
    <pubDate>Fri, 07 Apr 2023 11:18:05 GMT</pubDate>
    <dc:creator>tessaickx</dc:creator>
    <dc:date>2023-04-07T11:18:05Z</dc:date>
    <item>
      <title>Using ipywidgets latest versions</title>
      <link>https://community.databricks.com/t5/data-engineering/using-ipywidgets-latest-versions/m-p/6244#M2441</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I upgraded my cluster to DBR 13.0, which comes with ipywidgets version 7.7.2 installed.&lt;/P&gt;&lt;P&gt;However, I want to use the TagsInput widget, which is new since version 8.0.4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i upgrade the ipywidgets package to version 8.0.4, none of the widgets (like the basic IntSlider) run anymore. I get this error:&lt;/P&gt;&lt;P&gt;&lt;I&gt;"Stale widget: cannot display widget because the python repl changed. Please rerun the notebook"&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I downgrade the version again to 7.7.2, the other widgets work again. &lt;/P&gt;&lt;P&gt;Is there any way i can use the TagsInput widget in my databricks notebook? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or does anyone know alternatives for that widget? The dbutils widgets doesn't provide enough functionality, I need to select multiple from a list of +- 10k items, with a kind of search function. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Fri, 07 Apr 2023 11:18:05 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/using-ipywidgets-latest-versions/m-p/6244#M2441</guid>
      <dc:creator>tessaickx</dc:creator>
      <dc:date>2023-04-07T11:18:05Z</dc:date>
    </item>
    <item>
      <title>Re: Using ipywidgets latest versions</title>
      <link>https://community.databricks.com/t5/data-engineering/using-ipywidgets-latest-versions/m-p/6245#M2442</link>
      <description>&lt;P&gt;@Tessa Ickx​&amp;nbsp;:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems that the issue you are experiencing is related to compatibility between different versions of ipywidgets. The TagsInput widget was introduced in version 8.0.4, so you would need at least that version to use it. However, upgrading to a newer version of ipywidgets might cause issues with the widgets that are already in use in your notebook.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One possible solution would be to use a virtual environment to install a newer version of ipywidgets just for the TagsInput widget. You could create a new environment with a specific version of ipywidgets and install the TagsInput widget in that environment. Then, you could use that environment for the specific notebook where you need to use the TagsInput widget.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another option would be to use a different library for the functionality you need. One possibility is to use the SelectMultiple widget from ipywidgets, which allows selecting multiple options from a list. You could use a dropdown widget to display the list of available options, and use a text input widget to filter the options based on the user's input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternatively, you could also consider using a different library, such as react-select or react-virtualized-select, which provide more advanced features for selecting multiple options from a large list. These libraries are based on React and can be used in a notebook by embedding them in an iframe using the &lt;/P&gt;&lt;P&gt;displayHTML function from IPython.core.display.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps!&lt;/P&gt;</description>
      <pubDate>Sun, 09 Apr 2023 15:36:15 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/using-ipywidgets-latest-versions/m-p/6245#M2442</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-04-09T15:36:15Z</dc:date>
    </item>
    <item>
      <title>Re: Using ipywidgets latest versions</title>
      <link>https://community.databricks.com/t5/data-engineering/using-ipywidgets-latest-versions/m-p/6246#M2443</link>
      <description>&lt;P&gt;Hi @Tessa Ickx​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for posting your question in our community! We are happy to assist you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To help us provide you with the most accurate information, could you please take a moment to review the responses and select the one that best answers your question?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will also help other community members who may have similar questions in the future. Thank you for your participation and let us know if you need any further assistance!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Apr 2023 07:38:37 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/using-ipywidgets-latest-versions/m-p/6246#M2443</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-04-12T07:38:37Z</dc:date>
    </item>
    <item>
      <title>Re: Using ipywidgets latest versions</title>
      <link>https://community.databricks.com/t5/data-engineering/using-ipywidgets-latest-versions/m-p/6247#M2444</link>
      <description>&lt;P&gt;Hello Suteja,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the reply. However, I think you didn't understand me correctly. &lt;/P&gt;&lt;P&gt;If I use a version older than version 8.x.x., everything works fine, except the TagsInput of course because it wasn't introduced yet. If I use version 8.0.4. or newer, NONE of the widgets work. Also not TagsInput. Nothing from the package seems to work, I get the error I posted before.&lt;/P&gt;&lt;P&gt;A virtual environment would not solve it, I believe?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried using SelectMultiple from ipywidgets, but since I need to choose from a very extensive list, and need a search function, it doesn't suit my needs, like described earlier.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have not tried yet react-select or react-virtualized-select. I can try this, do you have any kind of documentation for such a multi-select widget with a search functionality?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Wed, 12 Apr 2023 19:32:28 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/using-ipywidgets-latest-versions/m-p/6247#M2444</guid>
      <dc:creator>tessaickx</dc:creator>
      <dc:date>2023-04-12T19:32:28Z</dc:date>
    </item>
    <item>
      <title>Re: Using ipywidgets latest versions</title>
      <link>https://community.databricks.com/t5/data-engineering/using-ipywidgets-latest-versions/m-p/106844#M42611</link>
      <description>&lt;P&gt;I can confirm that installing a newer ipywidgets library version at a cluster level does not resolve these issues.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The arcgis library relies on ipywidgets v8 to render maps. Even when I install ipywidgets &amp;gt; 8 at the cluster level, the widgets still do not render.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Will Databricks institute support for ipywidgets 8 in any of its LTS DBRs? ipywidgets version 8 has been around for over 2 years at this point, and many applications are building on it.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pmd84_0-1737657191009.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/14304iB12B47C51DF3E64F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="pmd84_0-1737657191009.png" alt="pmd84_0-1737657191009.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jan 2025 18:33:30 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/using-ipywidgets-latest-versions/m-p/106844#M42611</guid>
      <dc:creator>pmd84</dc:creator>
      <dc:date>2025-01-23T18:33:30Z</dc:date>
    </item>
  </channel>
</rss>

