Azure / azure-sdk-for-python

This repository is for active development of the Azure SDK for Python. For consumers of the SDK we recommend visiting our public developer docs at https://learn.microsoft.com/python/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-python.
MIT License
4.64k stars 2.84k forks source link

azure-storage-file-datalake and azureml-mlflow have dependency conflicts #31545

Open jinlow opened 1 year ago

jinlow commented 1 year ago

Describe the bug I am attempting to use azure-storage-file-datalake in an environment that I also want to use azureml-mlflow in, inside of azureML. However I am having a hard time creating an environment that uses both of these packages, because azure-storage-file-datalake has the dependency constraint azure-storage-blob<13.0.0,>=12.18.0 but azureml-mlflow has the constraint azure-storage-blob<=12.13.0,>=12.5.0.

To Reproduce Create an environment with the following conda yaml file.

name: test-env
dependencies:
  - python=3.10
  - pip:
    - azure-storage-file-datalake>=12.12.0
    - azureml-mlflow>=1.52.0

The error I receive.

ERROR: ResolutionImpossible
The conflict is caused by:
    azure-storage-file-datalake 12.12.0 depends on azure-storage-blob<13.0.0 and >=12.17.0
    azureml-mlflow 1.52.0 depends on azure-storage-blob<=12.13.0 and >=12.5.0
    azure-storage-file-datalake 12.12.0 depends on azure-storage-blob<13.0.0 and >=12.17.0
    azureml-mlflow 1.51.0 depends on azure-storage-blob<=12.13.0 and >=12.5.0

Expected behavior I want to be able to create an environment with both of these packages.

Screenshots If applicable, add screenshots to help explain your problem.

Additional context Add any other context about the problem here.

jinlow commented 1 year ago

I received an email that the GitHub event processor runs failed, I don’t know if this will impact this issue being seen, because it looks like the automatic labels such as “needs-triage” did not get added.

jinlow commented 1 year ago

Hello, is there any update on this? These are core dependencies of the Azure ecosystem, and are not able to be used together because of this bug.

jinlow commented 1 year ago

@iscai-msft Is there anyway to get this issue in triage? The labels didn't add automatically, and it seems as if no one has seen it. Thanks

haraldger commented 1 year ago

I am also having the same issue as the above, a dependency conflict between the two packages azure-storage-file-datalake and azureml-mlflow, and it's really halting our development. A fix or workaround would be greatly appreciated.

harrysummer commented 1 year ago

I am facing the same issue. My workaround is to explicitly use an earlier version of azure-storage-file-datalake==12.8.0. But the root cause is with the azureml-mlflow package which needs to be updated with the latest azure-storage-blob in its dependency.

mmershon-pioneer commented 11 months ago

Facing the same issue. Azure AI tutorials don't work now: https://github.com/mmershon-pioneer/azureai-samples/blob/main/notebooks/rag/rag-index-creation/create-index-from-various-sources.ipynb.

jinlow commented 11 months ago

Yeah, I cannot get anyone to notice this issue. @azureml-github do you all have any thoughts?

bensalem22 commented 3 months ago

Any updates on this?