-
Notifications
You must be signed in to change notification settings - Fork 296
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Removing of dotnet 3.1 sdk from ci #988
Removing of dotnet 3.1 sdk from ci #988
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: m3nax The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
cc @tg123 This looks fine with me, but I want Boshi's input before we merge this. |
Thanks for the PR lets defer the after the removal of netstandard2.1 and should find alternative runtime to cover netstandard2.0 |
Why will it be left uncovered if netcoreapp3.1 has been removed? This pull, without .NET 3.1 SDK, already build netstandard2.0 and netstandard2.1 libraries I have created a project and tested compilation only with .NET 6.0 SDK and everything seems to work. I checked if a library contains the .NET 3.1 framework target but from what I see in Nuget.org there is nothing. What is the difference of netstandard2.0 compilation between .NET 3.1 SDK and .NET 6.0 SDK? |
.net will find closet library's target to the proj which depends on it |
I'm not understanding what the problem is. From what I know and I have checked (lib version 9.0.25):
Which lib is taken during compilation (closets to target framework) compatibility matrix
Nuget KubernetesClient 9.0.25 content: Nuget KubernetesClient.Basic 9.0.25 content: Nuget KubernetesClient.Classic 9.0.25 content: Nuget KubernetesClient.Models 9.0.25 content: As you can see in the nugets packages netcoreapp3.1 target moniker is not present (missing "netcoreapp3.1" folder). It is safe for me to remove the .Net Core 3.1 from the pipelines and the two test projects because it is not supported / present in nuget packages / used by projects in the src folder and is not required for compilation. |
netcore3.1 here is to cover the code path of netstandard2.0/2.1 when you are using net6, it will link the dll in net6 folder. until there is a better way to cover net48 code and netsantdaed2.1 is still supported, netcore3.1 is the best solution i ever know |
@m3nax: PR needs rebase. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Blocked by #1029 |
As documented in the project readme currently .Net Core 3.1 is not supported.
This pull request removes .Net Core 3.1 from files used in the CI and test projects (KubernetesClient.Tests and E2E.Tests).
From my analysis, no project in the /src folder uses .Net Core 3.1 and can be safely removed.