Azure / azure-sdk-for-net

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

[BUG]Higher dependency in SDK than PowerShell #25827

Closed chidozieononiwu closed 10 months ago

chidozieononiwu commented 2 years ago

Library name and version

Microsoft.Azure.Messaging.EventGrid.CloudNativeCloudEvents

Describe the bug

Microsoft.Azure.Messaging.EventGrid.CloudNativeCloudEvents pulls in System.Text.Encodings.Web : 5.0.*, System.Text.Json : 5.0.* and System.Runtime.CompilerServices.Unsafe : 5.0.* as a transitive dependencies which is higher than the version in PowerShell (4.0.*) https://dev.azure.com/azure-sdk/internal/_build/results?buildId=1237993&view=logs&j=d41e9505-d81b-5b3c-5b50-be71bc9b0ccb&t=1d797300-f2df-5c9f-af88-b93a037bfad7

Graph Microsoft.Azure.Messaging.EventGrid.CloudNativeCloudEventsCloudNative.CloudEvents.SystemTextJson : 2.0.0System.Text.Encodings.Web : 5.0.2

Microsoft.Azure.Messaging.EventGrid.CloudNativeCloudEventsCloudNative.CloudEvents : 2.0.0System.Memory : 5.0.*System.Runtime.CompilerServices.Unsafe : 5.0.*

Expected behavior

SDKs should not have dependencies higher than those in powershell.

Actual behavior

Microsoft.Azure.Messaging.EventGrid.CloudNativeCloudEvents pull in a dependency with version higher than present in powershell.

Reproduction Steps

Run net - agregate-report pipeline after removing Microsoft.Azure.Messaging.EventGrid.CloudNativeCloudEvents from the ignoreList in https://github.com/Azure/azure-sdk-for-net/blob/main/eng/scripts/dependencies/generate-deps.ps1

Environment

No response

jsquire commented 10 months ago

Closing; this package reached end-of-life and is no longer supported. Nor is PowerShell v4.