Skip to content

Commit f32972c

Browse files
.Net: Removed System.Memory.Data dependency (#9970)
### Motivation and Context <!-- Thank you for your contribution to the semantic-kernel repo! Please help reviewers and future users, providing the following information: 1. Why is this change required? 2. What problem does it solve? 3. What scenario does it contribute to? 4. If it fixes an open issue, please link to the issue here. --> Removed unused `System.Memory.Data` dependency from the solution. ### Contribution Checklist <!-- Before submitting this PR, please make sure: --> - [x] The code builds clean without any errors or warnings - [x] The PR follows the [SK Contribution Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md) and the [pre-submission formatting script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts) raises no violations - [x] All unit tests pass, and I have added new tests where possible - [x] I didn't break anyone 😄 --------- Co-authored-by: Chris <[email protected]>
1 parent c311183 commit f32972c

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

dotnet/Directory.Packages.props

-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@
5858
<PackageVersion Include="System.IdentityModel.Tokens.Jwt" Version="7.5.1" />
5959
<PackageVersion Include="System.IO.Packaging" Version="8.0.1" />
6060
<PackageVersion Include="System.Linq.Async" Version="6.0.1" />
61-
<PackageVersion Include="System.Memory.Data" Version="8.0.1" />
6261
<PackageVersion Include="System.Net.Http" Version="4.3.4" />
6362
<PackageVersion Include="System.Numerics.Tensors" Version="8.0.0" />
6463
<PackageVersion Include="System.Text.Json" Version="8.0.5" />

dotnet/src/SemanticKernel.UnitTests/Extensions/ClientResultExceptionExtensionsTests.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public void ItProvideStatusForResponsesWithoutContent()
6464
// Assert
6565
Assert.NotNull(httpOperationException);
6666
Assert.NotNull(httpOperationException.StatusCode);
67-
Assert.Empty(httpOperationException.ResponseContent!);
67+
Assert.Null(httpOperationException.ResponseContent);
6868
Assert.Equal(exception, httpOperationException.InnerException);
6969
Assert.Equal(exception.Message, httpOperationException.Message);
7070
Assert.Equal(pipelineResponse.Status, (int)httpOperationException.StatusCode!);

dotnet/src/SemanticKernel.UnitTests/SemanticKernel.UnitTests.csproj

-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
<PackageReference Include="Microsoft.ML.Tokenizers" />
2626
<PackageReference Include="Microsoft.Extensions.Logging.Console" />
2727
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" />
28-
<PackageReference Include="System.Memory.Data" />
2928
</ItemGroup>
3029

3130
<ItemGroup>

0 commit comments

Comments
 (0)