dotnet / aspire

Tools, templates, and packages to accelerate building observable, production-ready apps
https://learn.microsoft.com/dotnet/aspire
MIT License
3.93k stars 480 forks source link

Bumped Azurite version to 3.33.0 #6670

Closed Thovenaar closed 1 week ago

Thovenaar commented 1 week ago

Description

Fixes the following exception when starting an Azure Storage container with .NET 9 packages installed.

"Azure.RequestFailedException: The API version 2025-01-05 is not supported by Azurite. Please upgrade Azurite to latest version and retry."

Checklist

eerhardt commented 1 week ago

I'd like to understand how you got this exception better. Did you explicitly update Azure.Storage.Blobs to 12.23.0? The Aspire.Azure.Storage.Blobs package references 12.22.2, which doesn't know about 2025-01-05.

Typically we update the container version and the client integration version at the same time. Can you also update

https://github.com/dotnet/aspire/blob/109f7ddc71561ec71fd08106f2c575fb8d9d5167/Directory.Packages.props#L23-L24

as well?

Thovenaar commented 1 week ago

I'd like to understand how you got this exception better. Did you explicitly update Azure.Storage.Blobs to 12.23.0? The Aspire.Azure.Storage.Blobs package references 12.22.2, which doesn't know about 2025-01-05.

Typically we update the container version and the client integration version at the same time. Can you also update

https://github.com/dotnet/aspire/blob/109f7ddc71561ec71fd08106f2c575fb8d9d5167/Directory.Packages.props#L23-L24

as well?

I am not completely sure which package upgrade caused the issue, since it started happening after everything was upgraded to the latest version. However, both packages you mentioned are on the latest version on our side.

Thovenaar commented 1 week ago

@dotnet-policy-service agree