-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
azureml-pipeline incompatible with azure-cli #27255
Comments
I also met this issue, and find the root cause is the dependencies line below: The azure-identity==1.11.0 required msal-extensions<2.0.0,>=0.3.0 seems could fix this issue, however, azureml-dataprep has pinned azure-identity must be 1.7.0 which cause the conflict. |
@wangchao1230 can you help to triage this issue? Thank you. |
I have the same issue, poetry is not able to resolve the version conflict:
|
Newer version of azureml-dataprep has relaxed the dependency requirement from azure-identity==1.7.0 to azure-identity>=1.7.0. @davidblom603 Please give it a try. |
@wangchao1230 thanks for your message. poetry still shows this error:
the problem seems to be that azure-cli requires azure-mgmt-storage (>=21.0.0,<21.1.0), and azureml-core requires azure-mgmt-storage (>=16.0.0,<21.0.0), which is a conflict. |
The following combination now appears to work: python3 -m venv ~/venvs/azureml-pipeline
source ~/venvs/azureml-pipeline/bin/activate
pip install pip --upgrade
cat requirements.txt
azure-cli==2.42.0
azureml-core==1.48.0
azureml-mlflow==1.48.0
pip install -r requirements.txt
# after installation try to install azureml-pipeline
pip install azureml-pipeline==1.48.0
However, going above ERROR: Cannot install -r requirements.txt (line 1) and -r requirements.txt (line 2) because these package versions have conflicting dependencies.
The conflict is caused by:
azure-cli 2.43.0 depends on azure-mgmt-storage~=21.0.0
azureml-core 1.48.0 depends on azure-mgmt-storage<21.0.0 and >=16.0.0
To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
|
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @simorenoh @gahl-levy @bambriz @azureml-github @Azure/azure-ml-sdk. |
I have the same problem. I got it working with azure-cli==2.42.0 It would be nice to have the fix for latest versions. |
Hi @tonyskidmore, is this issue is resolved. if not, could you please share the latest snippets you are using to reproduce the issue. Thank you. |
azureml-pipeline
azureml-pipeline==1.47.0
Linux
3.8.10
Describe the bug
Unable to install
azureml-pipeline
package alongsideazure-cli==2.42.0
,azureml-core==1.47.0
andazureml-mlflow==1.47.0
. It could be that there are subsequent errors trying to install other updatedazureml-pipeline*
packages but this throws the initial error.To Reproduce
Steps to reproduce the behavior:
Expected behavior
Package should be installed without error.
Screenshots
Additional context
We have been using this setup for some time in our Azure DevOps pipeline. We had
v2.35.0
of theazure-cli
package installed due to some previously encountered dependency issue but recently our pipeline started failing due to a Mend vulnerability scanning for CVE-2022-39327. I have tried various combinations of the libraries and have not been able to bring theazure-cli
andazureml-*
packages up to date.A snippet of the relevant requirements of our code with the required libraries in use are as follows:
If I try using azure-cli at the system level rather than a package, as suggested in the similar issue #24787 then I get the error:
This may have some relation to #23927.
The text was updated successfully, but these errors were encountered: