Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Deployment Failure #82

Closed
AndrewHoole opened this issue Dec 12, 2022 · 1 comment · Fixed by #83
Closed

Deployment Failure #82

AndrewHoole opened this issue Dec 12, 2022 · 1 comment · Fixed by #83
Assignees

Comments

@AndrewHoole
Copy link

AndrewHoole commented Dec 12, 2022

Unable to deploy code to an app, service principal pair due to an issue with conflicting module version requirements. Tail of error message is shown below:

ERROR: Cannot install -r requirements.txt (line 12), -r requirements.txt (line 9) and azure-core==1.22.1 because these package versions have conflicting dependencies.
[10:22:51+0000] INFO: pip is looking at multiple versions of absl-py to determine which version is compatible with other requirements. This could take a while.
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
[10:22:51+0000]
[10:22:51+0000] The conflict is caused by:
[10:22:51+0000] The user requested azure-core==1.22.1
[10:22:51+0000] azure-identity 1.7.0 depends on azure-core<2.0.0 and >=1.11.0
[10:22:51+0000] azure-mgmt-core 1.3.1 depends on azure-core<2.0.0 and >=1.23.0
[10:22:51+0000]
[10:22:51+0000] To fix this you could try to:
[10:22:51+0000] 1. loosen the range of package versions you've specified
[10:22:51+0000] 2. remove package versions to allow pip attempt to solve the dependency conflict
[10:22:51+0000]
WARNING: You are using pip version 22.0.4; however, version 22.3.1 is available.
You should consider upgrading via the '/tmp/8dadc2ab9883def/antenv/bin/python -m pip install --upgrade pip' command. ", 'Timestamp': '2022-12-12 10:22:52', 'ExitCode': '1', 'Recommendation': 'Please review your requirements.txt', 'UrlToGetMoreInformation': 'https://aka.ms/troubleshoot-python'}], 'warnings': []}}. Please run the command az webapp log deployment show -n inf-app-osairis-net -g rg-osairis-net

@peterhessey
Copy link
Contributor

Hi Andrew, apologies for the delay in getting back to you on this. I can confirm we are also having issues with this and I will be looking into this today, will have a fix out ASAP!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants