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

openutau: bump dotnet version 7 -> 8 #340611

Merged
merged 1 commit into from
Nov 25, 2024
Merged

Conversation

r3n3gad3p3arl
Copy link
Contributor

@r3n3gad3p3arl r3n3gad3p3arl commented Sep 8, 2024

Description of changes

Upgraded dotnet version because it was causing issues in the newest release (stakira/OpenUtau#1233, stakira/OpenUtau#1270). Dotnet 7 is also EOL (#326335), so moving to the latest LTS release makes sense.

I have also removed the unfree license because worldline is now open source.

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

@FliegendeWurst FliegendeWurst added the 6.topic: dotnet Language: .NET label Oct 30, 2024
@JamieMagee JamieMagee mentioned this pull request Oct 31, 2024
17 tasks
Comment on lines 42 to +44
substituteInPlace OpenUtau/OpenUtau.csproj OpenUtau.Test/OpenUtau.Test.csproj --replace \
'<TargetFramework>net6.0</TargetFramework>' \
'<TargetFramework>net7.0</TargetFramework>'
'<TargetFramework>net8.0</TargetFramework>'
Copy link
Member

Choose a reason for hiding this comment

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

Is there a reason why we're patching this? .NET 6 is an LTS release and isn't EOL yet.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

.NET 6 just went EOL as of Nov. 12. As of now, the defaults for dotnet-sdk and dotnet-runtime still point to .NET 6, but this will likely change soon. I have no idea how long it will take for upstream to update to .NET 8. I would say that the patch is appropriate in this case, but I'm open to further discussion.

Copy link
Contributor

Choose a reason for hiding this comment

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

The upstream maintainer made a PR that updates to .NET 8: stakira/OpenUtau#1331.

Comment on lines +22 to +23
dotnet-sdk = dotnetCorePackages.sdk_8_0;
dotnet-runtime = dotnetCorePackages.runtime_8_0;
Copy link
Member

Choose a reason for hiding this comment

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

If you drop the patch below, you can remove this as dotnet-sdk and dotnet-runtime are set to .NET 6 in buildDotnetModule by default.

@wegank wegank added the 12.approvals: 1 This PR was reviewed and approved by one reputable person label Oct 31, 2024
Copy link
Contributor

@gepbird gepbird left a comment

Choose a reason for hiding this comment

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

Thanks, LGTM

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 340611


x86_64-linux

✅ 1 package built:
  • openutau

@gepbird gepbird added 12.approvals: 2 This PR was reviewed and approved by two reputable people and removed 12.approvals: 1 This PR was reviewed and approved by one reputable person labels Nov 23, 2024
@gepbird
Copy link
Contributor

gepbird commented Nov 25, 2024

cc @emilazy (#358533)

@emilazy emilazy added the backport release-24.11 Backport PR automatically label Nov 25, 2024
@emilazy emilazy merged commit 12d14a9 into NixOS:master Nov 25, 2024
36 of 37 checks passed
Copy link
Contributor

Successfully created backport PR for release-24.11:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants