Dnf is unexpectedly upgrading dotnet 9.0 to dotnet 10.0 release candidate?

I’m on Fedora 42, and running dnf update I noticed that it’s trying to replace dotnet-host 9.0.9-1.fc42 with 10.0.0~rc.1.25451.107-0.8.fc42 - which is a release candidate version. .NET 10 hasn’t been fully released yet, so I’d expect .NET 9 to stay at least until the full release - unless I’m mistaken how the package upgrade is supposed to work?

This is what sudo dnf update dotnet gives me:

Updating and loading repositories:
Repositories loaded.
Package                   Arch   Version                         Repository        Size
Upgrading:
 dotnet-host              x86_64 10.0.0~rc.1.25451.107-0.8.fc42  updates      307.8 KiB
   replacing dotnet-host  x86_64 9.0.9-1.fc42                    updates      302.4 KiB

Transaction Summary:
 Upgrading:          1 package
 Replacing:          1 package

Total size of inbound packages is 232 KiB. Need to download 232 KiB.
After this operation, 5 KiB extra will be used (install 308 KiB, remove 302 KiB).
Is this ok [y/N]: 

You can exclude dotnet from an upgrade with

sudo dnf update --exclude=<package_name>

tagging the maintainer here … @omajid

From what I know, major upgrades are usually not done within a Fedora release cycle, unless there is a good reason and Fesco approved the change.

for reference: