<?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: keyrings.google-artifactregistry-auth fails to install backend on runtimes &amp;gt; 10.4 in Administration &amp; Architecture</title>
    <link>https://community.databricks.com/t5/administration-architecture/keyrings-google-artifactregistry-auth-fails-to-install-backend/m-p/68305#M1173</link>
    <description>&lt;P&gt;Hayyyyyyy&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 06 May 2024 17:38:33 GMT</pubDate>
    <dc:creator>Heberg</dc:creator>
    <dc:date>2024-05-06T17:38:33Z</dc:date>
    <item>
      <title>keyrings.google-artifactregistry-auth fails to install backend on runtimes &gt; 10.4</title>
      <link>https://community.databricks.com/t5/administration-architecture/keyrings-google-artifactregistry-auth-fails-to-install-backend/m-p/66088#M1062</link>
      <description>&lt;P&gt;We run Databricks on GCP.&amp;nbsp; We store our private Python packages in the Google Artifact Registry.&amp;nbsp; When we need to install the private packages we a global init script to install `keyring` and `&lt;SPAN&gt;keyrings.google&lt;/SPAN&gt;&lt;SPAN&gt;-&lt;/SPAN&gt;&lt;SPAN&gt;artifactregistry&lt;/SPAN&gt;&lt;SPAN&gt;-&lt;/SPAN&gt;&lt;SPAN&gt;auth`.&amp;nbsp; The we `pip install -extra-index-url &amp;lt;our index URL&amp;gt; our_packages` either from cluster init scripts or a cell in a notebook.&amp;nbsp; The clusters have Google Service Accounts that have access to the Artifact Registry. When we do this with a Databricks runtime of 10.4ML or less, everything works as expected, and our dependencies are installed correctly.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;When we do this procedure with any runtime greater than 10.4, it fails. Specifically the&amp;nbsp;`&lt;SPAN&gt;keyrings.google&lt;/SPAN&gt;&lt;SPAN&gt;-&lt;/SPAN&gt;&lt;SPAN&gt;artifactregistry&lt;/SPAN&gt;&lt;SPAN&gt;-&lt;/SPAN&gt;&lt;SPAN&gt;auth` does not or is unable to set up the need backend with `keyring`.&amp;nbsp; When we run the command&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;```&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;%sh&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;keyring --list-backends&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;```&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;It does not list `GooglePythonAuth` as one of the backends.&amp;nbsp; I can run `%pip freeze` and verify that `keyring` and&amp;nbsp;`keyrings.google-artifactregistry-auth` are installed by pip.&amp;nbsp; I can run `%pip install&amp;nbsp;keyrings.google-artifactregistry-auth` in a notebook successfully too, but the `GooglePythonAuth` keyring is never setup.&amp;nbsp; This only happens on runtimes greater than 10.4.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;How can get the keyring to install or setup on later versions?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2024 19:02:36 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/keyrings-google-artifactregistry-auth-fails-to-install-backend/m-p/66088#M1062</guid>
      <dc:creator>Ryan512</dc:creator>
      <dc:date>2024-04-11T19:02:36Z</dc:date>
    </item>
    <item>
      <title>Re: keyrings.google-artifactregistry-auth fails to install backend on runtimes &gt; 10.4</title>
      <link>https://community.databricks.com/t5/administration-architecture/keyrings-google-artifactregistry-auth-fails-to-install-backend/m-p/68305#M1173</link>
      <description>&lt;P&gt;Hayyyyyyy&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 May 2024 17:38:33 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/keyrings-google-artifactregistry-auth-fails-to-install-backend/m-p/68305#M1173</guid>
      <dc:creator>Heberg</dc:creator>
      <dc:date>2024-05-06T17:38:33Z</dc:date>
    </item>
  </channel>
</rss>

