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
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
a6b1639
correct Within calculation
Nov 18, 2021
fa4da8b
update unit tests
Nov 18, 2021
3246567
conflicts resolved back to upstream
Feb 4, 2022
a018d4d
Merge remote-tracking branch 'upstream/master'
Feb 15, 2022
15a37d0
Merge remote-tracking branch 'upstream/master'
Feb 17, 2022
892fa45
this is the spot
Feb 18, 2022
211013c
Merge remote-tracking branch 'upstream/master'
Feb 25, 2022
68104ee
Merge branch 'master' of https://github.com/trishorts/mzLib
trishorts Mar 9, 2022
d715a08
Merge remote-tracking branch 'upstream/master'
Mar 16, 2022
3565522
Merge remote-tracking branch 'upstream/master'
Mar 23, 2022
72e7b53
Merge remote-tracking branch 'upstream/master'
Mar 29, 2022
593872a
Merge remote-tracking branch 'upstream/master'
trishorts Apr 13, 2022
42dd034
Merge branch 'master' of https://github.com/trishorts/mzLib
trishorts Apr 13, 2022
fbeaec0
Merge remote-tracking branch 'upstream/master'
trishorts Jun 1, 2022
614ded7
Merge remote-tracking branch 'upstream/master'
Jun 14, 2022
47307c8
Merge branch 'master' of https://github.com/trishorts/mzLib
Jun 14, 2022
28e05ae
Merge remote-tracking branch 'upstream/master'
Jul 6, 2022
0a7c609
Merge remote-tracking branch 'upstream/master'
Jul 26, 2022
630d8c7
Merge remote-tracking branch 'upstream/master'
trishorts Jul 27, 2022
f6a386b
Merge branch 'master' of https://github.com/trishorts/mzLib
trishorts Jul 27, 2022
d673800
Merge remote-tracking branch 'upstream/master'
Sep 11, 2022
675a0ae
Merge branch 'master' of https://github.com/trishorts/mzLib
Sep 11, 2022
15d4baf
Merge remote-tracking branch 'upstream/master'
Sep 27, 2022
03ca9f7
Merge remote-tracking branch 'upstream/master'
Oct 4, 2022
d0a4c79
Merge remote-tracking branch 'upstream/master'
Jan 30, 2023
894b998
Merge remote-tracking branch 'upstream/master'
Mar 15, 2023
88269a1
Merge remote-tracking branch 'upstream/master'
trishorts Apr 24, 2023
9a9b24a
Merge remote-tracking branch 'upstream/master'
trishorts Jun 29, 2023
b4ad231
add space
trishorts Jun 29, 2023
bc59b38
Merge remote-tracking branch 'upstream/master'
trishorts Oct 10, 2023
36b7c91
Merge remote-tracking branch 'upstream/master'
trishorts Feb 14, 2024
adefa92
unused using
trishorts Feb 14, 2024
692ad85
vnc
trishorts Feb 14, 2024
5ddeab3
Merge remote-tracking branch 'upstream/master'
trishorts May 3, 2024
c9551e3
Merge remote-tracking branch 'upstream/master'
trishorts May 23, 2024
f9654b6
first
trishorts May 24, 2024
63d435d
two
trishorts May 24, 2024
d4ca56e
nunit
trishorts May 24, 2024
86377dc
gd
trishorts May 24, 2024
b110eeb
final i couldnt upgrate oxplot or sharplearning without problems so a…
trishorts May 24, 2024
fa190fb
net 7 works somehow
trishorts May 24, 2024
c8a91bd
update dotnet and release yml files to net6
trishorts May 24, 2024
a7765dd
update nuspec to net 7
trishorts May 24, 2024
830fdf8
lets try 8
trishorts May 24, 2024
4616c43
propertes 8 in all projects
trishorts May 24, 2024
32a1d6d
coverlet collector 6 0 2
trishorts May 24, 2024
6c831ce
revert nuget version to 6 in release yml
trishorts May 24, 2024
8ba156e
update Test csproj from windows 7 to windows
trishorts May 24, 2024
05b5980
windows 7 or 8 to just windows
trishorts May 28, 2024
1f6cd33
Merge remote-tracking branch 'upstream/master' into nugetUpdate
trishorts May 29, 2024
7c9516a
change targetFramework from net8windows to net8
trishorts May 29, 2024
1a9e8e3
back the bus up
trishorts May 29, 2024
14a86cc
get nuspec to match old nuspec
trishorts May 29, 2024
b5e33e7
same
trishorts May 29, 2024
54a295e
windows to windows7
trishorts May 29, 2024
101d57e
somehow generating nupkg now works
trishorts May 29, 2024
99a4b9e
nuspec version 1 0 547
trishorts May 29, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Set up .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.x
dotnet-version: 8.0.x
- name: Restore dependencies
run: cd mzLib && dotnet restore
- name: Build
Expand All @@ -25,9 +25,9 @@ jobs:
- name: Build (TestFlashLFQ)
run: cd mzLib && dotnet build --no-restore ./TestFlashLFQ/TestFlashLFQ.csproj
- name: Add coverlet collector (Test)
run: cd mzLib && dotnet add Test/Test.csproj package coverlet.collector -v 6.0.0
run: cd mzLib && dotnet add Test/Test.csproj package coverlet.collector -v 6.0.2
- name: Add coverlet collector (TestFlashLFQ)
run: cd mzLib && dotnet add TestFlashLFQ/TestFlashLFQ.csproj package coverlet.collector -v 6.0.0
run: cd mzLib && dotnet add TestFlashLFQ/TestFlashLFQ.csproj package coverlet.collector -v 6.0.2
- name: Test
run: cd mzLib && dotnet test --no-build --verbosity normal --collect:"XPlat Code Coverage" /p:CoverletOutputFormat=cobertura ./Test/Test.csproj
- name: TestFlashLFQ
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.x
dotnet-version: 8.0.x
- name: Set up NuGet
uses: nuget/setup-nuget@v1
with:
Expand Down
3 changes: 2 additions & 1 deletion mzLib/BayesianEstimation/BayesianEstimation.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<Platforms>x64</Platforms>
</PropertyGroup>

Expand All @@ -11,6 +11,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="CsvHelper" Version="32.0.3" />
<PackageReference Include="MathNet.Numerics" Version="5.0.0" />
</ItemGroup>

Expand Down
6 changes: 5 additions & 1 deletion mzLib/Chemistry/Chemistry.csproj
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<Platforms>x64</Platforms>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)'=='Release'">
<DebugType>full</DebugType>
<DebugSymbols>true</DebugSymbols>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="CsvHelper" Version="32.0.3" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\MzLibUtil\MzLibUtil.csproj" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using MzLibUtil;
using NUnit.Framework;
using Assert = NUnit.Framework.Legacy.ClassicAssert;
using MassSpectrometry;
using System.Diagnostics.CodeAnalysis;
using Readers;
Expand Down
9 changes: 5 additions & 4 deletions mzLib/Development/Development.csproj
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<Platforms>x64</Platforms>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.1.0" />
<PackageReference Include="NUnit" Version="3.13.3" />
<PackageReference Include="NUnit3TestAdapter" Version="4.2.1" />
<PackageReference Include="CsvHelper" Version="32.0.3" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.10.0" />
<PackageReference Include="NUnit" Version="4.1.0" />
<PackageReference Include="NUnit3TestAdapter" Version="4.5.0" />
</ItemGroup>

<ItemGroup>
Expand Down
5 changes: 3 additions & 2 deletions mzLib/FlashLFQ/FlashLFQ.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<Platforms>x64</Platforms>
</PropertyGroup>

Expand All @@ -11,8 +11,9 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="CsvHelper" Version="32.0.3" />
<PackageReference Include="MathNet.Numerics" Version="5.0.0" />
<PackageReference Include="NetSerializer" Version="4.1.1" />
<PackageReference Include="NetSerializer" Version="4.1.2" />
<PackageReference Include="SharpLearning.Optimization" Version="[0.28.0]" />
</ItemGroup>

Expand Down
3 changes: 2 additions & 1 deletion mzLib/MassSpectrometry/MassSpectrometry.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<Platforms>x64</Platforms>
</PropertyGroup>

Expand All @@ -11,6 +11,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="CsvHelper" Version="32.0.3" />
<PackageReference Include="MathNet.Numerics" Version="5.0.0" />
</ItemGroup>

Expand Down
6 changes: 5 additions & 1 deletion mzLib/MzIdentML/MzIdentML.csproj
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<Platforms>x64</Platforms>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)'=='Release'">
<DebugType>full</DebugType>
<DebugSymbols>true</DebugSymbols>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="CsvHelper" Version="32.0.3" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\MassSpectrometry\MassSpectrometry.csproj" />
Expand Down
5 changes: 3 additions & 2 deletions mzLib/MzLibUtil/MzLibUtil.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<Platforms>x64</Platforms>
</PropertyGroup>

Expand All @@ -11,7 +11,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Easy.Common" Version="4.3.0" />
<PackageReference Include="CsvHelper" Version="32.0.3" />
<PackageReference Include="Easy.Common" Version="6.7.0" />
<PackageReference Include="MathNet.Numerics" Version="5.0.0" />
<PackageReference Include="Microsoft.Win32.Registry" Version="5.0.0" />
</ItemGroup>
Expand Down
6 changes: 5 additions & 1 deletion mzLib/Omics/Omics.csproj
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<Platforms>x64</Platforms>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="CsvHelper" Version="32.0.3" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\Chemistry\Chemistry.csproj" />
<ProjectReference Include="..\MassSpectrometry\MassSpectrometry.csproj" />
Expand Down
6 changes: 5 additions & 1 deletion mzLib/Proteomics/Proteomics.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<Platforms>x64</Platforms>
</PropertyGroup>

Expand All @@ -28,4 +28,8 @@
<Folder Include="Fragmentation\" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="CsvHelper" Version="32.0.3" />
</ItemGroup>

</Project>
10 changes: 5 additions & 5 deletions mzLib/Readers/Readers.csproj
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<Platforms>x64</Platforms>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="CsvHelper" Version="30.0.1" />
<PackageReference Include="OpenMcdf" Version="2.2.1.12" />
<PackageReference Include="OpenMcdf.Extensions" Version="2.2.1.4" />
<PackageReference Include="System.Data.SQLite" Version="1.0.117" />
<PackageReference Include="CsvHelper" Version="32.0.3" />
<PackageReference Include="OpenMcdf" Version="2.3.1" />
<PackageReference Include="OpenMcdf.Extensions" Version="2.3.1" />
<PackageReference Include="System.Data.SQLite" Version="1.0.118" />
</ItemGroup>

<ItemGroup>
Expand Down
3 changes: 2 additions & 1 deletion mzLib/SpectralAveraging/SpectralAveraging.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<Platforms>x64</Platforms>
</PropertyGroup>

Expand All @@ -15,6 +15,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="CsvHelper" Version="32.0.3" />
<PackageReference Include="MathNet.Numerics" Version="5.0.0" />
<PackageReference Include="Nett" Version="0.15.0" />
</ItemGroup>
Expand Down
9 changes: 2 additions & 7 deletions mzLib/Test/AveragingTests/TestSpectraFileAveraging.cs
Original file line number Diff line number Diff line change
@@ -1,15 +1,10 @@
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using MassSpectrometry;
using MzLibUtil;
using NUnit.Framework;
using Proteomics.ProteolyticDigestion;
using CollectionAssert = NUnit.Framework.Legacy.CollectionAssert;
using Readers;
using SpectralAveraging;

Expand Down
1 change: 1 addition & 0 deletions mzLib/Test/DatabaseTests/TestDatabaseLoaders.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
using MassSpectrometry;
using MzLibUtil;
using NUnit.Framework;
using Assert = NUnit.Framework.Legacy.ClassicAssert;
using Proteomics;
using System;
using System.Collections.Generic;
Expand Down
1 change: 1 addition & 0 deletions mzLib/Test/DatabaseTests/TestProteinReader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
using System.IO;
using System.Linq;
using NUnit.Framework;
using Assert = NUnit.Framework.Legacy.ClassicAssert;
using Omics.Modifications;
using Proteomics;
using UsefulProteomicsDatabases;
Expand Down
1 change: 1 addition & 0 deletions mzLib/Test/DatabaseTests/TestProteomicsReadWrite.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
using System.Linq;
using MassSpectrometry;
using NUnit.Framework;
using Assert = NUnit.Framework.Legacy.ClassicAssert;
using Omics.Fragmentation;
using Omics.Modifications;
using Proteomics;
Expand Down
1 change: 1 addition & 0 deletions mzLib/Test/DatabaseTests/TestVariantProtein.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
using System.IO;
using System.Linq;
using NUnit.Framework;
using Assert = NUnit.Framework.Legacy.ClassicAssert;
using Omics.Modifications;
using Proteomics;
using Proteomics.ProteolyticDigestion;
Expand Down
1 change: 1 addition & 0 deletions mzLib/Test/FileReadingTests/TestMgf.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
using System.Linq;
using MassSpectrometry;
using NUnit.Framework;
using Assert = NUnit.Framework.Legacy.ClassicAssert;
using Readers;
using MzLibUtil;
using Stopwatch = System.Diagnostics.Stopwatch;
Expand Down
3 changes: 2 additions & 1 deletion mzLib/Test/FileReadingTests/TestMsDataFile.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
using MassSpectrometry;
using MzLibUtil;
using NUnit.Framework;
using Proteomics;
using Assert = NUnit.Framework.Legacy.ClassicAssert;
using CollectionAssert = NUnit.Framework.Legacy.CollectionAssert;
using Proteomics.AminoAcidPolymer;
using Proteomics.ProteolyticDigestion;
using System;
Expand Down
1 change: 1 addition & 0 deletions mzLib/Test/FileReadingTests/TestMzML.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
using MzIdentML;
using MzLibUtil;
using NUnit.Framework;
using Assert = NUnit.Framework.Legacy.ClassicAssert;
using Proteomics.AminoAcidPolymer;
using Readers;
using Stopwatch = System.Diagnostics.Stopwatch;
Expand Down
2 changes: 1 addition & 1 deletion mzLib/Test/FileReadingTests/TestPsmFromTsv.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using NUnit.Framework;
using Proteomics.ProteolyticDigestion;
using Assert = NUnit.Framework.Legacy.ClassicAssert;
using Proteomics.PSM;
using System;
using System.Collections.Generic;
Expand Down
4 changes: 1 addition & 3 deletions mzLib/Test/FileReadingTests/TestRawFileReader.cs
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Diagnostics;
using System.IO;
using System.Linq;
using MassSpectrometry;
using MzLibUtil;
using NUnit.Framework;
using Assert = NUnit.Framework.Legacy.ClassicAssert;
using Readers;

namespace Test.FileReadingTests
Expand Down
1 change: 1 addition & 0 deletions mzLib/Test/FileReadingTests/TestToppicResultFiles.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
using MassSpectrometry;
using Newtonsoft.Json;
using NUnit.Framework;
using CollectionAssert = NUnit.Framework.Legacy.CollectionAssert;
using Readers;

namespace Test.FileReadingTests
Expand Down
1 change: 1 addition & 0 deletions mzLib/Test/SpectrumProcessingAndFiltering.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
using Readers;
using MassSpectrometry;
using NUnit.Framework;
using Assert = NUnit.Framework.Legacy.ClassicAssert;
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
Expand Down
11 changes: 6 additions & 5 deletions mzLib/Test/Test.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0-windows</TargetFramework>
<TargetFramework>net8.0-windows</TargetFramework>
<IsPackable>false</IsPackable>
<Platforms>x64</Platforms>
</PropertyGroup>
Expand All @@ -13,11 +13,12 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="NUnit" Version="3.13.3" />
<PackageReference Include="NUnit3TestAdapter" Version="4.2.1" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.1.0" />
<PackageReference Include="CsvHelper" Version="32.0.3" />
<PackageReference Include="NUnit" Version="4.1.0" />
<PackageReference Include="NUnit3TestAdapter" Version="4.5.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.10.0" />
<PackageReference Include="SharpLearning.Optimization" Version="0.28.0" />
<PackageReference Include="TopDownProteomics" Version="0.0.287" />
<PackageReference Include="TopDownProteomics" Version="0.0.297" />
</ItemGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion mzLib/Test/TestAminoAcids.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
// You should have received a copy of the GNU Lesser General Public
// License along with Proteomics. If not, see <http://www.gnu.org/licenses/>.

using Chemistry;
using NUnit.Framework;
using Assert = NUnit.Framework.Legacy.ClassicAssert;
using Proteomics.AminoAcidPolymer;
using System;
using System.Diagnostics.CodeAnalysis;
Expand Down
Loading
Loading