cloudmesh / cloudmesh-cloud

Multicloud Cloudmesh Plugins for cloudmesh cmd5 CMD
https://cloudmesh.github.io/cloudmesh-manual
Apache License 2.0
2 stars 27 forks source link

azure library versions #328

Open laszewsk opened 4 years ago

laszewsk commented 4 years ago

Identify compatible libraries for compute, storage, volume for azure

ERROR: azure-storage-queue 1.4.0 has requirement azure-storage-common~=1.4, but you'll have azure-storage-common 2.1.0 which is incompatible. ERROR: azure-storage-file 1.4.0 has requirement azure-storage-common~=1.4, but you'll have azure-storage-common 2.1.0 which is incompatible. ERROR: azure 4.0.0 has requirement azure-storage-blob~=1.3, but you'll have azure-storage-blob 12.2.0 which is incompatible.

nirandaperera commented 4 years ago

I think this happens when someone updates azure-storage-blob independently. At the moment cloudmesh only installs azure via pip and it is still carrying older versions of the said packages.

Ex: https://github.com/Azure/azure-sdk-for-python/blob/d320a5a82c3d48a172ebf844a34afdd15ca12214/shared_requirements.txt#L90

I think we should stick those packages. Otherwise, we will have to install azure packages individually.

laszewsk commented 4 years ago

cloudmesh has a make requirements. if we need to pin versions, this makefile has to be changed to do it for the version we need. Otherwise we have unbound verison in setup.py that are use to whatever is newest. THis makes actually sense as all other packages will can find their verisons. looks like that docutils(boto3) and azure are the only once that need to be handled differently. So what need to be changed?

laszewsk commented 4 years ago

what i do not understand is why can ew not use the latest libraries for everything.

laszewsk commented 4 years ago

also wne i look at this the current releas is

12.x ?

https://github.com/Azure/azure-sdk-for-python/releases

laszewsk commented 4 years ago

has this been resolved