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

[release/3.1] Should we unpin a couple of packages? #24937

Closed
dougbu opened this issue Aug 15, 2020 · 5 comments
Closed

[release/3.1] Should we unpin a couple of packages? #24937

dougbu opened this issue Aug 15, 2020 · 5 comments
Assignees
Labels
area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework Done This issue has been fixed

Comments

@dougbu
Copy link
Member

dougbu commented Aug 15, 2020

The following packages are pinned in dotnet/extensions, dotnet/efcore, and dotnet/aspnetcore at non-*.0 versions

  • System.IO.Pipelines
  • System.Runtime.CompilerServices.Unsafe

The more important of these is likely System.IO.Pipelines because it's pinned at 4.7.1 though 4.7.2 exists and it's in Microsoft.AspNetCore.App.Runtime.* packages.

See discussion at https://github.com/dotnet/extensions/pull/3408/files/0124e2f14b1a413bb11555c16f08b62444f459d7#diff-5c6a1c77fe216efcfbbdccb11b863063


Somewhat separately, the following packages are currently pinned in dotnet/aspnetcore at *.0 versions even though that repo auto-downgrades what we compile against and ensures we place the *.0 assembly versions in our ref/ pack. Should we let the references float so we're testing against the latest implementation assemblies❔ Would only need to add then to the auto-downgrade list if we went this way.

  • Microsoft.Win32.Registry
  • System.Security.Cryptography.Cng
  • System.Security.Principal.Windows
@dougbu dougbu added the area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework label Aug 15, 2020
@dougbu
Copy link
Member Author

dougbu commented Aug 15, 2020

/fyi other than System.IO.Pipelines we're currently pinned at the latest 3.1 versions of these packages

@dougbu
Copy link
Member Author

dougbu commented Aug 16, 2020

/cc @dotnet/aspnet-build

@wtgodbe
Copy link
Member

wtgodbe commented Aug 17, 2020

I'm in favor of unpinning just System.IO.Pipelines & System.Runtime.CompilerServices.Unsafe (and adding them to repos below us). Keeping the other 3 pinned more accurately represents what we use them for - I'd forgotten the reason until I went back and looked through those old PRs & issues.

@dougbu
Copy link
Member Author

dougbu commented Aug 17, 2020

I lean the same way @wtgodbe but would add "… for now" 😺

The last three dependencies are not just treated as compilation only. They're odd ducks, part of Microsoft.NETCore.App but not Microsoft.NETCore.App.Ref. We have a few direct references to them all, likely to get the ref/ assemblies and for testing. It's the testing part I worry about. If any of these rev in servicing, we won't be testing against the latest versions. This will likely matter more after we bump up the .NET Framework assembly count. Not urgent but is something to keep in mind.

  • Microsoft.Win32.Registry references (ignoring ref/ projects) include:
    • src\DataProtection\DataProtection\src\Microsoft.AspNetCore.DataProtection.csproj
    • src\Servers\HttpSys\src\Microsoft.AspNetCore.Server.HttpSys.csproj
    • src\Tools\Microsoft.dotnet-openapi\src\Microsoft.dotnet-openapi.csproj
  • System.Security.Cryptography.Cng is in a similar place though it shows up in fewer test and test asset bin/ folders than the other two. References to it are in:
    • src\Servers\Kestrel\Core\src\Microsoft.AspNetCore.Server.Kestrel.Core.csproj
    • src\Tools\dotnet-dev-certs\src\dotnet-dev-certs.csproj
  • System.Security.Principal.Windows references include:
    • src\DataProtection\DataProtection\src\Microsoft.AspNetCore.DataProtection.csproj
    • src\Servers\HttpSys\src\Microsoft.AspNetCore.Server.HttpSys.csproj
    • src\Servers\IIS\IIS\src\Microsoft.AspNetCore.Server.IIS.csproj
    • src\Servers\IIS\IISIntegration\src\Microsoft.AspNetCore.Server.IISIntegration.csproj
    • src\Shared\test\Shared.Tests\Microsoft.AspNetCore.Shared.Tests.csproj
    • src\SignalR\common\Http.Connections\src\Microsoft.AspNetCore.Http.Connections.csproj
    • src\Tools\Microsoft.dotnet-openapi\src\Microsoft.dotnet-openapi.csproj

dougbu added a commit to dotnet/core-setup that referenced this issue Aug 17, 2020
dougbu added a commit to dotnet/extensions that referenced this issue Aug 18, 2020
- aligns with dotnet/core-setup#9066
- unpin System.IO.Pipelines and System.Runtime.CompilerServices.Unsafe Versions
  - see dotnet/aspnetcore#24937
- move System.IO.Pipelines version to latest
dougbu added a commit to dotnet/extensions that referenced this issue Aug 18, 2020
- aligns with dotnet/core-setup#9066
- unpin System.IO.Pipelines and System.Runtime.CompilerServices.Unsafe Versions
  - see dotnet/aspnetcore#24937
- move System.IO.Pipelines version to latest
dougbu added a commit to dotnet/razor that referenced this issue Aug 18, 2020
dougbu added a commit that referenced this issue Aug 18, 2020
…Versions

- see #24937
- move System.IO.Pipelines version to latest
dougbu added a commit to dotnet/efcore that referenced this issue Aug 18, 2020
- aligns with dotnet/core-setup#9066 and dotnet/extensions#3417
- unpin System.IO.Pipelines and System.Runtime.CompilerServices.Unsafe Versions
  - see dotnet/aspnetcore#24937
- move System.IO.Pipelines version to latest
dougbu added a commit to dotnet/efcore that referenced this issue Aug 18, 2020
* [release/3.1] Add dependencies for CPD strict in aspnetcore
- aligns with dotnet/core-setup#9066 and dotnet/extensions#3417
  - add Microsoft.Internal.Extensions.Refs dependency too
- unpin System.IO.Pipelines and System.Runtime.CompilerServices.Unsafe Versions
  - see dotnet/aspnetcore#24937
- move System.IO.Pipelines version to latest
dougbu added a commit that referenced this issue Aug 18, 2020
…rvices.Unsafe versions (#25014)

- see #24937
- add CPD for Microsoft.Internal.Extensions.Refs
- move System.IO.Pipelines version to latest

Co-authored-by: William Godbe <wigodbe@microsoft.com>
@dougbu
Copy link
Member Author

dougbu commented Aug 18, 2020

Done w/ this. Fixes were spread across the commits listed above. In particular:

@dougbu dougbu closed this as completed Aug 18, 2020
@dougbu dougbu added the Done This issue has been fixed label Aug 18, 2020
@dougbu dougbu self-assigned this Aug 18, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Sep 18, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework Done This issue has been fixed
Projects
None yet
Development

No branches or pull requests

2 participants