Coder Social home page Coder Social logo

Comments (5)

github-actions avatar github-actions commented on June 10, 2024

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @jalauzon-msft @vincenttran-msft.

from azure-sdk-for-python.

AlanTuring1988 avatar AlanTuring1988 commented on June 10, 2024

I tried with version 12.5.0 of the python sdk and the problem not exist. in fact I uploaded the blob locally and then check it on the cloud.

from azure-sdk-for-python.

swathipil avatar swathipil commented on June 10, 2024

Hi @AlanTuring1988 - thanks for opening an issue. We'll take a look asap!

from azure-sdk-for-python.

jalauzon-msft avatar jalauzon-msft commented on June 10, 2024

Hi @AlanTuring1988, the main reason for the behavior you are seeing is that that Docker image does not stay up to date with the Storage service in terms of API versions. In fact, it looks like it has not been updated in some time. That page says the last API version they added support for was 2020-04-08 which is quite old. I'm not sure if this image is deprecated or what is going on there. Perhaps they have added support for newer ones without specifying.

With each minor release of the SDK, we update the default API version that is used to the latest supported by the live Azure Storage service. For 12.19.1 that is 2023-11-03 which is what you are seeing in the error message. As mentioned, it seems that image may only support up to 2020-04-08.

So, you have two options:

  • You can downgrade your SDK version, like you have done (I am not quite sure what is the latest version you can use as we did not used to write the API version in the CHANGELOG but it seems like it will have to be before 12.9.0 at least).
  • You can try using the latest SDK but manually setting the API version in the client constructor using the api_version keyword. Anything in this list is valid but you may want to start with 2020-04-08 and work your way up.
    • There is a chance, depending on what operations and auth type you are using, that this does not work as changes in the SDK are not always backwards compatible with older API versions.

You can also try submitting feedback for that image here to see if there are plans to update it further or whether there is a replacement. (The SDK team is not familiar with it at all.)

from azure-sdk-for-python.

github-actions avatar github-actions commented on June 10, 2024

Hi @AlanTuring1988. 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.

from azure-sdk-for-python.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.