-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Bump versions of maintenance-packages dependencies consumed in runtime #108806
Bump versions of maintenance-packages dependencies consumed in runtime #108806
Conversation
Tagging subscribers to this area: @dotnet/area-infrastructure-libraries |
There's a CI failure indicating that a triple slash cref pointing to |
@ericstj @michaelgsharp @ViktorHofer I don't think the problem is in the package. When comparing the DLLs with ILSpy, before and after maintenance-packages, they all contain the The old nupkg: The new preview nupkg: |
The old package contained a reference assembly, which didn't include the internal We can workaround it by aliasing the problematic assembly, and then referring to it by the alias. I'll submit a fix. Another way to fix this would be to put the internal |
Thanks for the fix @ericstj
So there's no way a customer will do what Tensors is doing? Is Tensors special and unique enough because of the way runtime works and consumes the package? |
@MichaelSimons what specific thing abouy these nupkgs is considered a prebuilt?
|
It's not impossible, just unlikely for a customer to
They're built from a repo that's not part of source build yet, and they aren't provided by SBRP. Maybe we should bring maintenance-packages into source build @MichaelSimons. In the meantime I think we can mark these as permitted prebuilts. |
If you do this the runtime flow will fail in the sdk repo until the dotnet/maintenance-packages repo is onboarded onto SB. If you don't want to block the flow I would wait merging this PR until you have onboarded dotnet/maintenance-packages into source-build. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bump the versions to the preview used in SBRP.
I'll address the conflict after I merge #109390 which unblocks this PR (so that I don't restart the CI unnecessarily). |
@ViktorHofer I updated this PR to also consume the new System.Data.SqlClient prerelease version and there's an ApiCompat failure that makes sense: The old package used to contain a netcoreapp2.1 folder, but the new package contains a net6.0 and a net8.0 folder. Is this failure expected and supressable, or should we add a placeholder for netcoreapp2.1 in System.Data.SqlClient? (My gut says expected).
|
This line needs an update: https://github.com/dotnet/runtime/blob/main/src%2Flibraries%2Fapicompat%2FApiCompat.proj#L46 The TFM |
@cheenamalhotra @David-Engel we're updating the SqlClient dependency in runtime to the latest. I suppose the warning is expected since it's now marked as obsolete. Should we suppress it or what do you suggest? |
Suppress, IMO. |
For tests, we can suppress. |
…tFactory' is obsolete: 'Use the Microsoft.Data.SqlClient package instead.
@cheenamalhotra @David-Engel I suppressed the warning in System.Data.Common.Tests.csproj with a comment reminding to remove the suppression after the migration to Microsoft.Data.SqlClient happens in the runtime repo. I did not see the same warning show up in product code, only test code. |
src/libraries/System.Data.Common/tests/System.Data.Common.Tests.csproj
Outdated
Show resolved
Hide resolved
Sigh. Source build once again complaining about prebuilts:
|
The wasm failures are unrelated:
|
It looks like these need to be added to SBRP because of the update to use stable versions in ec8185f. This was the plan discussed in dotnet/maintenance-packages#140 (comment). |
Here you go dotnet/source-build-reference-packages#1082 |
Darc flow PR #110071 |
dotnet#108806) * Bump dependency versions of packages that now ship out of maintenance-packages (preview) - Microsoft.Bcl.HashCode - System.Buffers - System.Memory - System.Threading.Tasks.Extensions - System.Runtime.CompilerServices.Unsafe * Workaround name conflict for MathF: See dotnet/roslyn#71442 We refer to MathF from a comment which hits this bug problem in Roslyn where it thinks it's ambiguous because visibility is not considered when resolving cref's in doc comments. * Permit maintenance-packages prebuilts * Suppress CS0618 on site in System.Data.Common.Tests - 'Sql*' is obsolete: 'Use the Microsoft.Data.SqlClient package instead. --------- Co-authored-by: Eric StJohn <[email protected]> Co-authored-by: Viktor Hofer <[email protected]> Co-authored-by: Alexander Köplinger <[email protected]>
dotnet/runtime depends on these packages that we are now publishing from dotnet/maintenance-packages:
Bumping their versions to consume the new preview versions, available in the dotnet-libraries feed: https://dnceng.visualstudio.com/public/_artifacts/feed/dotnet-libraries
Related PRs: