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.53k stars 2.76k forks source link

Relaxing azure-storage-blob<=12.13.0 constraint in azureml-mlflow dependencies #29960

Closed martinResearch closed 1 month ago

martinResearch commented 1 year ago

Describe the bug

When trying to install the latest version of azureml-mlflow (1.50.0) with latest azure-ai-ml (1.5.0) the tool pip-compile (from the pip-tools library) cannot resolve a version for azure-storage-blob that works and I get this conflicting constraints:

The latest azureml-mlflow 1.50.0 requires a version of azure-storage-blob that is not newer than a version from July 2022 (12.13.0). Using pip-compile requirements.txt --resolver=backtracking solves the problem but yields azure-storage-file-datalake==12.8.0 and azure-storage-blob==12.13.0 which are not the latest versions and thus It would be good to relax the constraint azure-storage-blob<=12.13.0 in azureml-mlflow in order to be able to use the latest azure-storage-blob version.

To Reproduce Steps to reproduce the behavior:

  1. create a requirements.in file with azureml-mlflow==1.50.0 and azure-ai-ml==1.5.0
  2. python.exe -m venv pythonvenv
  3. C:\pythonvenv\Scripts\activate.bat
  4. pip install pip-tools
  5. pip-compile requirements.in
xiangyan99 commented 1 year ago

Thanks for the feedback, we’ll investigate asap.

github-actions[bot] commented 1 year ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @azureml-github @Azure/azure-ml-sdk @xgithubtriage.

PKPublicCode commented 1 year ago

Any ETA with this issue?

If I downgrade to older versions of azure-storage-file-datalake==12.8.0 and azure-storage-blob==12.13.0, I receive error when try to read data asset: ValueError: Protocol not known: azureml

Did I miss anything? Am I only blocked?

m2cci-MBL commented 1 year ago

Any updates on this issue? It is really blocking.

I need at least azure-storage-blob>=12.14.0 (as I need some specific features, like "list_blob_names" method), and I have also to used mlflow to monitor training pipelines. I am completly blocked...

tkaraouzene commented 1 year ago

Hi ! I have the same issue, any update on this topic would be very appreciated. Regards

martinResearch commented 9 months ago

seems like the problem is solved when using azureml-mlflow>=1.54.0.post1

github-actions[bot] commented 1 month ago

Hi @martinResearch. Thank you for opening this issue and giving us the opportunity to assist. We believe that this has been addressed. If you feel that further discussion is needed, please add a comment with the text "/unresolve" to remove the "issue-addressed" label and continue the conversation.

github-actions[bot] commented 1 month ago

Hi @martinResearch, since you haven’t asked that we /unresolve the issue, we’ll close this out. If you believe further discussion is needed, please add a comment /unresolve to reopen the issue.