Skip to content
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

Microsoft.Extensions.Internal.Transport and System.Numerics.tensors are not stable shipping packages #41632

Merged
merged 1 commit into from
Sep 1, 2020

Conversation

Anipik
Copy link
Contributor

@Anipik Anipik commented Aug 31, 2020

Fixes #41560

@Anipik Anipik requested review from mmitche, ericstj and safern August 31, 2020 21:33
@Dotnet-GitSync-Bot
Copy link
Collaborator

I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label.

@Anipik
Copy link
Contributor Author

Anipik commented Aug 31, 2020

Screen Shot 2020-08-31 at 2 38 29 PM

non shipping folder

@ericstj
Copy link
Member

ericstj commented Aug 31, 2020

This is approved for 5.0 as it is ensuring we ship the correct bits.

<!-- This is a preview package. Do not mark as stable. -->
<SuppressFinalPackageVersion>true</SuppressFinalPackageVersion>
<IsShippingAssembly>false</IsShippingAssembly>
<IsShipping>false</IsShipping>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is wrong. As System.Numerics.Tensors is a shipping package but with a non-stable version.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Which means it won't make it to nuget.org anymore. I believe we want that to go to nuget.org. I asked this a while ago.
#33636 (comment)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe you want to do:

<SuppressFinalPackageVersion>true</SuppressFinalPackageVersion>

instead

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just as we had it. We shouldn't change this package at all. We need IsShippingAssembly=false so that the assembly metadata contains the non-stable version.

Copy link
Contributor Author

@Anipik Anipik Aug 31, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We dont want to ship any rc or rtm versions of these packages. (as we did in 3.1)

Copy link
Contributor Author

@Anipik Anipik Aug 31, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

adding <SuppressFinalPackageVersion>true</SuppressFinalPackageVersion>
will still ship the rc1 & rc2 version and we dont want that as well.

Copy link
Member

@safern safern Aug 31, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok... why not instead exclude them from the build list in libraries-packages.proj and don't build them at all?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to build Microsoft.Extensions.Internal.Transport as it is necessary for aspnetcore.

For System.Numerics.Tensors we just want the smallest change to not produce the shipping package. As mentioned in the issue we'll remove this code completely in 6.0 and put it back in corefxlab.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, ok.

Copy link
Member

@safern safern left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Given my comment above.

@ericstj ericstj merged commit a74b598 into dotnet:release/5.0 Sep 1, 2020
@akoeplinger
Copy link
Member

@Anipik is there a master PR that adds the IsShipping=false for Microsoft.Extensions.Internal.Transport? I noticed this package in the Shipping folder today too and was wondering.

@Anipik
Copy link
Contributor Author

Anipik commented Sep 6, 2020

@Anipik is there a master PR that adds the IsShipping=false for Microsoft.Extensions.Internal.Transport? I noticed this package in the Shipping folder today too and was wondering.

yeah it should be ported to master as well. i will do that.

@Anipik Anipik deleted the nonShipping branch September 24, 2020 05:17
@ghost ghost locked as resolved and limited conversation to collaborators Dec 7, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants