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/8.0.1xx-rc1] Update dependencies from dotnet/installer #8279

Conversation

dotnet-maestro[bot]
Copy link
Contributor

@dotnet-maestro dotnet-maestro bot commented Aug 18, 2023

This pull request updates the following dependencies

From https://github.com/dotnet/installer

  • Subscription: 6b9b8765-8682-4ff6-f344-08db9e4292c7
  • Build: 20230822.1
  • Date Produced: August 22, 2023 8:45:42 AM UTC
  • Commit: 85170c1c70401fabee8d4ed9345ff71df450eb8f
  • Branch: refs/heads/release/8.0.1xx-rc1

…230817.18

Microsoft.Dotnet.Sdk.Internal
 From Version 8.0.100-rc.1.23417.5 -> To Version 8.0.100-rc.1.23417.18
@jonathanpeppers jonathanpeppers merged commit ae24614 into release/8.0.1xx-rc1 Aug 23, 2023
45 checks passed
@jonathanpeppers jonathanpeppers deleted the darc-release/8.0.1xx-rc1-13dd7c80-b29d-4c64-8eaf-49a29ac7fc14 branch August 23, 2023 14:17
jonathanpeppers added a commit to jonathanpeppers/java.interop that referenced this pull request Aug 23, 2023
Context: dotnet/android#8279

This reverts commit 8c9eece.

Near the end of .NET 8 RC 1, the .NET 8 SDK depends on nightly packages
for .NET 6 and .NET 7:

* dotnet/runtime 7.0.11
* dotnet/runtime 6.0.22

These come from feeds such as:

    <!-- Added manually for dotnet/runtime 7.0.11 -->
    <add key="darc-pub-dotnet-runtime-a2ad4f0" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-dotnet-runtime-a2ad4f03/nuget/v3/index.json" />
    <!-- Added manually for dotnet/runtime 6.0.22 -->
    <add key="darc-pub-dotnet-runtime-762f437" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-dotnet-runtime-762f4379/nuget/v3/index.json" />

The version number is stable, so the .NET releng team has infrastructure
to create a new feed per git commit.

Unfortunately, this makes NuGet central package management unusable for
us. 😢

As seen in dotnet/android#8279, we get errors like:

    Package source mapping matches found for package ID 'Microsoft.NETCore.App.Ref' are: 'dotnet-public'.
    ...
    external\Java.Interop\src\Java.Interop.Tools.Expressions\Java.Interop.Tools.Expressions.csproj error NU1102: Unable to find package Microsoft.NETCore.App.Ref with version (= 7.0.11)
    - Found 83 version(s) in dotnet-public [ Nearest version: 8.0.0-preview.1.23110.8 ]
    - Versions from dotnet-eng were not considered [Xamarin.Android.sln]

This is because it can only possibly resolve this package from
`dotnet-public`:

    <packageSource key="dotnet-public">
      <package pattern="*" />
    </packageSource>

Because 7.0.11 hasn't shipped yet, it is not on NuGet.org or `dotnet-public`.

For this to work, we would somehow need this added to the java.interop
repo at the time xamarin/xamarin-android gets a newer .NET 8 SDK:

    <packageSource key="darc-pub-dotnet-runtime-a2ad4f0">
      <package pattern="Microsoft.NETCore.App.Ref" />
    </packageSource>

For now, let's revert 8c9eece. Maybe there is some solution we can come
up with to use this in the future.
jonpryor pushed a commit to dotnet/java-interop that referenced this pull request Aug 23, 2023
…1138)

Context: dotnet/android#8279

This reverts commit 8c9eece.

Near the end of .NET 8 RC 1, the .NET 8 SDK depends on nightly
packages for .NET 6 and .NET 7:

  * dotnet/runtime 7.0.11
  * dotnet/runtime 6.0.22

These come from feeds within `NuGet.config` such as:

	<packageSources>
	  <clear/>
	  <!-- Added manually for dotnet/runtime 7.0.11 -->
	  <add key="darc-pub-dotnet-runtime-a2ad4f0" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-dotnet-runtime-a2ad4f03/nuget/v3/index.json" />
	  <!-- Added manually for dotnet/runtime 6.0.22 -->
	  <add key="darc-pub-dotnet-runtime-762f437" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-dotnet-runtime-762f4379/nuget/v3/index.json" />
	</packageSources>

The version number is stable, so the .NET releng team has
infrastructure to create a new feed per git commit.

Unfortunately, this makes NuGet central package management unusable
for us. 😢

As seen in dotnet/android#8279, we get errors like:

	Package source mapping matches found for package ID 'Microsoft.NETCore.App.Ref' are: 'dotnet-public'.
	…
	external\Java.Interop\src\Java.Interop.Tools.Expressions\Java.Interop.Tools.Expressions.csproj error NU1102: Unable to find package Microsoft.NETCore.App.Ref with version (= 7.0.11)
	- Found 83 version(s) in dotnet-public [ Nearest version: 8.0.0-preview.1.23110.8 ]
	- Versions from dotnet-eng were not considered [Xamarin.Android.sln]

This is because it can only possibly resolve this package from
`dotnet-public`:

	<packageSourceMapping>
	  <packageSource key="dotnet-public">
	    <package pattern="*" />
	  </packageSource>
	</packageSourceMapping>

Because 7.0.11 hasn't shipped yet, it is on neither NuGet.org nor
`dotnet-public`.

For this to work, we would somehow need this `NuGet.config` fragment
to be added to the xamarin/java.interop repo whenever
xamarin/xamarin-android gets a newer .NET 8 SDK:

	<packageSourceMapping>
	  <packageSource key="darc-pub-dotnet-runtime-[HASH]">
	    <package pattern="Microsoft.NETCore.App.Ref" />
	  </packageSource>
	</packageSourceMapping>

For now, let's revert 8c9eece.  Maybe there is some solution we can
come up with to use this in the future.
@github-actions github-actions bot locked and limited conversation to collaborators Jan 22, 2024
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.

1 participant