Hey guys,
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.
I get the message in vscode: "Deployment 'latest' not found."
Been trying to figure this out for a couple of days now to no avail. Any help would be much appreciated!
Is there anything in the logs with more information about the failure? Is the .zip failing to upload, for example?
Hey @EarlMedina ,
This is in the output tab on vscode:
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:
<package> --install-option="--no-deps"
@EarlMedina Still running into the same error unfortunately, stuck on 'running pip install (2/4) then fails.
requirements.txt file looks like:
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
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.