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

Update nearly all nuget packages and .Net to 8.0 #783

Merged
merged 57 commits into from
Jun 19, 2024

Conversation

trishorts
Copy link
Contributor

@trishorts trishorts commented May 24, 2024

.net 6 and 7 no longer have support, which prompted this move to .net 8. To keep up w/ project dependencies and compatibilities, all nuget packages were attempted to be updated.

I generated a local nuget package with this PR and put it into MetaMorpheus. I analyzed 6 Mann files with calibration, averaging, gptmd and search. Results loaded into MetaDraw successfully. I also performed a successful glyco search with test data. I don't see any difficulties integrating this into MetaMorpheus.

OxyPlot.Wpf COULD NOT BE UPDATED
SharpLearning.Optimization COULD NOT BE UPDATED

A close look at the impact of updating these nuget packages on MetaMorpheus and other downstream apps should be performed.

Updating NuUnit was imperfect. The Assert function usage has changed substantially. To avoid massive refactoring, Assert was recast as ClassicAssert. Going forward, we should attempt to use the new Nunit usage.

TargetFramework was updated to 8.0 for all projects in the properties menu of each project in the solution explorer.
The .nuspec was updated to .net 8.0

The github/workflows/dotnet.yml and release.yml were updated to .net 8

coverlet.collector in dotnet.yml updated to -v 6.0.2

MICHAEL SHORTREED and others added 30 commits November 18, 2021 12:30
@trishorts trishorts changed the title Nuget update Update nearly all nuget packages and .Net to 8.0 May 24, 2024
@trishorts trishorts added Maintenance The user isn't impacted by it, it's purely behind the scenes ready for review labels May 24, 2024
@trishorts trishorts requested a review from elaboy May 24, 2024 18:16
@trishorts
Copy link
Contributor Author

please see issue: #781

@trishorts trishorts mentioned this pull request May 24, 2024
Copy link
Collaborator

@acesnik acesnik left a comment

Choose a reason for hiding this comment

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

For the packages that can't be updated, are they just not released in net8.0, yet? I wonder if you could post an issue on their repositories to queue that, so they can be updated without needing to investigate the downstream issues.

mzLib/mzLib.nuspec Outdated Show resolved Hide resolved
mzLib/mzLib.nuspec Outdated Show resolved Hide resolved
mzLib/mzPlot/mzPlot.csproj Outdated Show resolved Hide resolved
mzLib/TestFlashLFQ/TestFlashLFQ.csproj Outdated Show resolved Hide resolved
@trishorts
Copy link
Contributor Author

For the packages that can't be updated, are they just not released in net8.0, yet? I wonder if you could post an issue on their repositories to queue that, so they can be updated without needing to investigate the downstream issues.

It is not a problem of net8 compatibility. rather its a problem of older features in these nuget packages that are not supported in the newer release, which would necessitate changes to programs such as MM that use these old features. a focused PR to update each of these two remaining packages should be put on the todo list.

@trishorts
Copy link
Contributor Author

may need to update the nuget website for the target.
image

Copy link
Member

@nbollis nbollis left a comment

Choose a reason for hiding this comment

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

lgtm

@trishorts trishorts merged commit 9917d58 into smith-chem-wisc:master Jun 19, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Maintenance The user isn't impacted by it, it's purely behind the scenes ready for review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants