From 819bccb6cb5024133e5c5799dc18690857d440dc Mon Sep 17 00:00:00 2001 From: slozier Date: Mon, 23 Dec 2024 20:54:21 -0500 Subject: [PATCH] Drop .NET Core 3.1 testing (#1850) * Drop .NET Core 3.1 testing * Remove .NET 6 from nuspec --- .github/workflows/main.yml | 11 ++---- Build/netcoreapp3.1.props | 38 ------------------- Build/steps.yml | 12 +++--- IronPython.sln | 1 - Package/nuget/IronPython.nuspec | 10 ++--- Package/zip/Zip.Packaging.targets | 2 +- Src/DLR | 2 +- .../IronPythonConsole.csproj | 10 +---- Src/IronPythonTest/IronPythonTest.csproj | 4 +- make.ps1 | 2 +- 10 files changed, 18 insertions(+), 74 deletions(-) delete mode 100644 Build/netcoreapp3.1.props diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8bd164487..6c731c1b0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -19,10 +19,6 @@ jobs: - uses: actions/checkout@v4 with: submodules: true - - name: Setup .NET Core 3.1 - uses: actions/setup-dotnet@v4 - with: - dotnet-version: '3.1.x' - name: Setup .NET 6.0 uses: actions/setup-dotnet@v4 with: @@ -31,6 +27,10 @@ jobs: uses: actions/setup-dotnet@v4 with: dotnet-version: '8.0.x' + - name: Setup .NET 9.0 + uses: actions/setup-dotnet@v4 + with: + dotnet-version: '9.0.x' - name: Version Information run: | dotnet --info @@ -48,9 +48,6 @@ jobs: - name: Test (net462) run: ./make.ps1 -frameworks net462 test-all shell: pwsh - - name: Test (netcoreapp3.1) - run: ./make.ps1 -frameworks netcoreapp3.1 test-all - shell: pwsh - name: Test (net6.0) run: ./make.ps1 -frameworks net6.0 test-all shell: pwsh diff --git a/Build/netcoreapp3.1.props b/Build/netcoreapp3.1.props deleted file mode 100644 index 53b1e59f1..000000000 --- a/Build/netcoreapp3.1.props +++ /dev/null @@ -1,38 +0,0 @@ - - - - false - - - - $(Features);FEATURE_APARTMENTSTATE - $(Features);FEATURE_ASSEMBLY_GETFORWARDEDTYPES - $(Features);FEATURE_ASSEMBLY_RESOLVE - $(Features);FEATURE_ASSEMBLYBUILDER_DEFINEDYNAMICASSEMBLY - $(Features);FEATURE_CODEDOM - $(Features);FEATURE_COM - $(Features);FEATURE_CONFIGURATION - $(Features);FEATURE_CTYPES - $(Features);FEATURE_CUSTOM_TYPE_DESCRIPTOR - $(Features);FEATURE_EXCEPTION_STATE - $(Features);FEATURE_FILESYSTEM - $(Features);FEATURE_FULL_CRYPTO - $(Features);FEATURE_FULL_NET - $(Features);FEATURE_LCG - $(Features);FEATURE_LOADWITHPARTIALNAME - $(Features);FEATURE_METADATA_READER - $(Features);FEATURE_MMAP - $(Features);FEATURE_NATIVE - $(Features);FEATURE_PIPES - $(Features);FEATURE_PROCESS - $(Features);FEATURE_REFEMIT - $(Features);FEATURE_REGISTRY - $(Features);FEATURE_RUNTIMEINFORMATION - $(Features);FEATURE_SECURITY_RULES - $(Features);FEATURE_SERIALIZATION - $(Features);FEATURE_STACK_TRACE - $(Features);FEATURE_SYNC_SOCKETS - $(Features);FEATURE_THREAD - $(Features);FEATURE_XMLDOC - - diff --git a/Build/steps.yml b/Build/steps.yml index 12a52759c..5903af548 100644 --- a/Build/steps.yml +++ b/Build/steps.yml @@ -25,22 +25,22 @@ steps: displayName: Grab Package Version - task: UseDotNet@2 - displayName: Install .NET Core 3.1 runtime for testing + displayName: Install .NET 6.0 runtime for testing inputs: packageType: 'runtime' - version: '3.1.x' + version: '6.0.x' - task: UseDotNet@2 - displayName: Install .NET 6.0 runtime for testing + displayName: Install .NET 8.0 runtime for testing inputs: packageType: 'runtime' - version: '6.0.x' + version: '8.0.x' - task: UseDotNet@2 - displayName: Install .NET 8.0 SDK for build + displayName: Install .NET 9.0 SDK for build inputs: packageType: 'sdk' - version: '8.0.x' + version: '9.0.x' # Set Mono version on macOS - ${{ if eq(parameters.os, 'macOS') }}: diff --git a/IronPython.sln b/IronPython.sln index 3de1c02d7..f7c936d83 100644 --- a/IronPython.sln +++ b/IronPython.sln @@ -41,7 +41,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Build", "Build", "{17737ACB Build\net8.0.props = Build\net8.0.props Build\net9.0-windows.props = Build\net9.0-windows.props Build\net9.0.props = Build\net9.0.props - Build\netcoreapp3.1.props = Build\netcoreapp3.1.props Build\netstandard2.0.props = Build\netstandard2.0.props Build\steps.yml = Build\steps.yml Build\Tasks.Targets = Build\Tasks.Targets diff --git a/Package/nuget/IronPython.nuspec b/Package/nuget/IronPython.nuspec index d2334abc2..491d14977 100644 --- a/Package/nuget/IronPython.nuspec +++ b/Package/nuget/IronPython.nuspec @@ -29,10 +29,6 @@ This package contains the IronPython interpreter engine. - - - - @@ -40,9 +36,9 @@ This package contains the IronPython interpreter engine. - - - + + + diff --git a/Package/zip/Zip.Packaging.targets b/Package/zip/Zip.Packaging.targets index bec14c1fa..cb5db9c81 100644 --- a/Package/zip/Zip.Packaging.targets +++ b/Package/zip/Zip.Packaging.targets @@ -4,7 +4,7 @@ - + diff --git a/Src/DLR b/Src/DLR index 7e887d984..6e2f41a27 160000 --- a/Src/DLR +++ b/Src/DLR @@ -1 +1 @@ -Subproject commit 7e887d9848dbfeca268814aeb237c83dc1244c8a +Subproject commit 6e2f41a27a74978026d869507f404b3d8575e3b8 diff --git a/Src/IronPythonConsole/IronPythonConsole.csproj b/Src/IronPythonConsole/IronPythonConsole.csproj index a933ddd3f..a66fcd7a3 100644 --- a/Src/IronPythonConsole/IronPythonConsole.csproj +++ b/Src/IronPythonConsole/IronPythonConsole.csproj @@ -1,9 +1,7 @@  - net462;netcoreapp3.1;net6.0;net8.0 - - false + net462;net6.0;net8.0 Exe IronPythonConsole ipy @@ -20,12 +18,6 @@ Content PreserveNewest - - - false - Content - PreserveNewest - diff --git a/Src/IronPythonTest/IronPythonTest.csproj b/Src/IronPythonTest/IronPythonTest.csproj index 95d56194d..4a76e9f88 100644 --- a/Src/IronPythonTest/IronPythonTest.csproj +++ b/Src/IronPythonTest/IronPythonTest.csproj @@ -1,9 +1,7 @@  - net462;netcoreapp3.1;net6.0;net8.0 - - false + net462;net6.0;net8.0 true diff --git a/make.ps1 b/make.ps1 index 32786dd37..e4575bee7 100755 --- a/make.ps1 +++ b/make.ps1 @@ -4,7 +4,7 @@ Param( [Parameter(Position=1)] [String] $target = "build", [String] $configuration = "Release", - [String[]] $frameworks=@('net462','netcoreapp3.1','net6.0','net8.0'), + [String[]] $frameworks=@('net462','net6.0','net8.0'), [String] $platform = $null, # auto-detect [switch] $runIgnored, [int] $jobs = [System.Environment]::ProcessorCount