<?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 Deploying function App to azure stuck on 'running pip install 2/4' when arcgis is in requirements.txt in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/deploying-function-app-to-azure-stuck-on-running/m-p/1482555#M10095</link>
    <description>&lt;P&gt;Hey guys,&lt;BR /&gt;&lt;BR /&gt;I am having issues deploying a function app to Azure. I have restarted the whole process a few times, specified versions in requirements.txt, deployed a dummy function just to see if i could deploy. Dummy function deployed successfully, but when i add arcgis to requirements.txt it takes agggess and then fails. i tried putting my real code into the function and deploying without arcgis in the requirements.txt file (this fails pretty quickly), when i add arcgis to requirements.txt, the same thing happens - it takes agges on 'running pip install 2/4' then fails. I tried changing the deploy timeout to 1 hour in case it was just a size issue but it failed at about 45 minutes.&lt;BR /&gt;&lt;BR /&gt;I get the message in vscode: "Deployment 'latest' not found."&lt;BR /&gt;&lt;BR /&gt;Been trying to figure this out for a couple of days now to no avail. Any help would be much appreciated!&lt;/P&gt;</description>
    <pubDate>Sun, 02 Jun 2024 06:01:14 GMT</pubDate>
    <dc:creator>j-bromp</dc:creator>
    <dc:date>2024-06-02T06:01:14Z</dc:date>
    <item>
      <title>Deploying function App to azure stuck on 'running pip install 2/4' when arcgis is in requirements.txt</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/deploying-function-app-to-azure-stuck-on-running/m-p/1482555#M10095</link>
      <description>&lt;P&gt;Hey guys,&lt;BR /&gt;&lt;BR /&gt;I am having issues deploying a function app to Azure. I have restarted the whole process a few times, specified versions in requirements.txt, deployed a dummy function just to see if i could deploy. Dummy function deployed successfully, but when i add arcgis to requirements.txt it takes agggess and then fails. i tried putting my real code into the function and deploying without arcgis in the requirements.txt file (this fails pretty quickly), when i add arcgis to requirements.txt, the same thing happens - it takes agges on 'running pip install 2/4' then fails. I tried changing the deploy timeout to 1 hour in case it was just a size issue but it failed at about 45 minutes.&lt;BR /&gt;&lt;BR /&gt;I get the message in vscode: "Deployment 'latest' not found."&lt;BR /&gt;&lt;BR /&gt;Been trying to figure this out for a couple of days now to no avail. Any help would be much appreciated!&lt;/P&gt;</description>
      <pubDate>Sun, 02 Jun 2024 06:01:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/deploying-function-app-to-azure-stuck-on-running/m-p/1482555#M10095</guid>
      <dc:creator>j-bromp</dc:creator>
      <dc:date>2024-06-02T06:01:14Z</dc:date>
    </item>
    <item>
      <title>Re: Deploying function App to azure stuck on 'running pip install 2/4' when arcgis is in requirements.txt</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/deploying-function-app-to-azure-stuck-on-running/m-p/1483294#M10098</link>
      <description>&lt;P&gt;Is there anything in the logs with more information about the failure? Is the .zip failing to upload, for example?&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jun 2024 15:56:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/deploying-function-app-to-azure-stuck-on-running/m-p/1483294#M10098</guid>
      <dc:creator>EarlMedina</dc:creator>
      <dc:date>2024-06-03T15:56:15Z</dc:date>
    </item>
    <item>
      <title>Re: Deploying function App to azure stuck on 'running pip install 2/4' when arcgis is in requirements.txt</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/deploying-function-app-to-azure-stuck-on-running/m-p/1483657#M10102</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/86309"&gt;@EarlMedina&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;This is in the output tab on vscode:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;9:45:35 AM app-mapFilter: Zip package size: 8.18 kB&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;9:45:34 AM app-mapFilter: Fetching changes.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;9:45:35 AM app-mapFilter: Cleaning up temp folders from previous zip deployments and extracting pushed zip file /tmp/zipdeploy/50ac60f2-0f7f-4715-846c-352384ae3e96.zip (0.01 MB) to /tmp/zipdeploy/extracted&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;9:45:37 AM app-mapFilter: Updating submodules.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;9:45:38 AM app-mapFilter: Preparing deployment for commit id '0b64e5d8-9'.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;9:45:38 AM app-mapFilter: PreDeployment: context.CleanOutputPath False&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;9:45:38 AM app-mapFilter: PreDeployment: context.OutputPath /home/site/wwwroot&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;9:45:38 AM app-mapFilter: Repository path is /tmp/zipdeploy/extracted&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;9:45:38 AM app-mapFilter: Running oryx build...&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;9:45:38 AM app-mapFilter: Command: oryx build /tmp/zipdeploy/extracted -o /home/site/wwwroot --platform python --platform-version 3.11 -p packagedir=.python_packages/lib/site-packages&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;9:45:39 AM app-mapFilter: Operation performed by Microsoft Oryx, &lt;A href="https://github.com/Microsoft/Oryx" target="_blank"&gt;https://github.com/Microsoft/Oryx&lt;/A&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;9:45:39 AM app-mapFilter: You can report issues at &lt;A href="https://github.com/Microsoft/Oryx/issues" target="_blank"&gt;https://github.com/Microsoft/Oryx/issues&lt;/A&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;9:45:39 AM app-mapFilter: Oryx Version: 0.2.20230210.1, Commit: a49c8f6b8abbe95b4356552c4c884dea7fd0d86e, ReleaseTagName: 20230210.1&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;9:45:39 AM app-mapFilter: Build Operation ID: ba77e43aee976359&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;9:45:39 AM app-mapFilter: Repository Commit : 0b64e5d8-9c9f-4af9-815a-d303aca1c889&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;9:45:39 AM app-mapFilter: OS Type &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; : bullseye&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;9:45:39 AM app-mapFilter: Image Type &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;: githubactions&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;9:45:39 AM app-mapFilter: Detecting platforms...&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;9:45:43 AM app-mapFilter: Detected following platforms:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;9:45:43 AM app-mapFilter: &amp;nbsp; python: 3.11.8&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;9:45:43 AM app-mapFilter: Version '3.11.8' of platform 'python' is not installed. Generating script to install it...&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;9:45:43 AM app-mapFilter: Source directory &amp;nbsp; &amp;nbsp; : /tmp/zipdeploy/extracted&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;9:45:43 AM app-mapFilter: Destination directory: /home/site/wwwroot&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;9:45:43 AM app-mapFilter: Downloading and extracting 'python' version '3.11.8' to '/tmp/oryx/platforms/python/3.11.8'...&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;9:45:43 AM app-mapFilter: Detected image debian flavor: bullseye.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;9:45:44 AM app-mapFilter: Downloaded in 1 sec(s).&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;9:45:44 AM app-mapFilter: Verifying checksum...&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;9:45:44 AM app-mapFilter: Extracting contents...&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;9:45:48 AM app-mapFilter: performing sha512 checksum for: python...&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;9:45:48 AM app-mapFilter: Done in 5 sec(s).&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;9:45:48 AM app-mapFilter: image detector file exists, platform is python..&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;9:45:48 AM app-mapFilter: OS detector file exists, OS is bullseye..&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;9:45:48 AM app-mapFilter: Python Version: /tmp/oryx/platforms/python/3.11.8/bin/python3.11&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;9:45:48 AM app-mapFilter: Creating directory for command manifest file if it does not exist&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;9:45:48 AM app-mapFilter: Removing existing manifest file&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;9:45:48 AM app-mapFilter: Running pip install...&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;checking the logs of the current function (dummy function) in vscode just says 'connected'.&lt;BR /&gt;&lt;BR /&gt;Is there another place I can check logs?&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;Thanks for your reply!&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 03 Jun 2024 21:51:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/deploying-function-app-to-azure-stuck-on-running/m-p/1483657#M10102</guid>
      <dc:creator>j-bromp</dc:creator>
      <dc:date>2024-06-03T21:51:19Z</dc:date>
    </item>
    <item>
      <title>Re: Deploying function App to azure stuck on 'running pip install 2/4' when arcgis is in requirements.txt</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/deploying-function-app-to-azure-stuck-on-running/m-p/1484176#M10108</link>
      <description>&lt;P&gt;Not what I was expecting, but let's try something. What happens when you install the package with no dependencies? The format for that in requirements.txt is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;lt;package&amp;gt; --install-option=&lt;SPAN class=""&gt;"--no-deps"&lt;/SPAN&gt;&amp;nbsp;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jun 2024 13:27:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/deploying-function-app-to-azure-stuck-on-running/m-p/1484176#M10108</guid>
      <dc:creator>EarlMedina</dc:creator>
      <dc:date>2024-06-05T13:27:24Z</dc:date>
    </item>
    <item>
      <title>Re: Deploying function App to azure stuck on 'running pip install 2/4' when arcgis is in requirements.txt</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/deploying-function-app-to-azure-stuck-on-running/m-p/1485753#M10123</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/86309"&gt;@EarlMedina&lt;/a&gt;&amp;nbsp;Still running into the same error unfortunately, stuck on 'running pip install (2/4) then fails.&lt;BR /&gt;&lt;BR /&gt;requirements.txt file looks like:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;azure-functions&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;requests&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;arcgis&lt;/SPAN&gt; &lt;SPAN&gt;--install-option&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;"--no-deps"&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;BR /&gt;I found something online that suggested containerising the whole thing with docker so am going to try doing that and will update if i make any progress&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jun 2024 23:03:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/deploying-function-app-to-azure-stuck-on-running/m-p/1485753#M10123</guid>
      <dc:creator>j-bromp</dc:creator>
      <dc:date>2024-06-05T23:03:44Z</dc:date>
    </item>
    <item>
      <title>Re: Deploying function App to azure stuck on 'running pip install 2/4' when arcgis is in requirements.txt</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/deploying-function-app-to-azure-stuck-on-running/m-p/1551500#M10788</link>
      <description>&lt;P&gt;Curious what route you eventually took on this. I have the same issue and we got around it by setting up a ci/cd pipeline in Github, which seems to work, but it's frustrating that workarounds have to be found for things like this. Particularly since it means I can't deploy directly from VS Code, which can be handy sometimes.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2024 18:37:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/deploying-function-app-to-azure-stuck-on-running/m-p/1551500#M10788</guid>
      <dc:creator>RogerAsbury</dc:creator>
      <dc:date>2024-10-23T18:37:47Z</dc:date>
    </item>
  </channel>
</rss>

