This is an automated email from the ASF dual-hosted git repository.

curth pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-adbc.git


The following commit(s) were added to refs/heads/main by this push:
     new ea0d0cfe0 feat(csharp): Update to test with net8.0 (#1771)
ea0d0cfe0 is described below

commit ea0d0cfe0418a7fb3ac0f47f7d688758473624c5
Author: Curt Hagenlocher <[email protected]>
AuthorDate: Thu Apr 25 07:12:20 2024 -0700

    feat(csharp): Update to test with net8.0 (#1771)
    
    Closes #1770
---
 .env                                                                    | 2 +-
 .github/workflows/csharp.yml                                            | 2 +-
 csharp/test/Apache.Arrow.Adbc.Tests/Apache.Arrow.Adbc.Tests.csproj      | 2 +-
 .../test/Drivers/Apache/Apache.Arrow.Adbc.Tests.Drivers.Apache.csproj   | 2 +-
 .../Drivers/BigQuery/Apache.Arrow.Adbc.Tests.Drivers.BigQuery.csproj    | 2 +-
 .../Drivers/FlightSql/Apache.Arrow.Adbc.Tests.Drivers.FlightSql.csproj  | 2 +-
 .../Snowflake/Apache.Arrow.Adbc.Tests.Drivers.Interop.Snowflake.csproj  | 2 +-
 .../Apache.Arrow.Adbc.SmokeTests/Apache.Arrow.Adbc.SmokeTests.csproj    | 2 +-
 .../BigQuery/Apache.Arrow.Adbc.SmokeTests.Drivers.BigQuery.csproj       | 2 +-
 .../FlightSql/Apache.Arrow.Adbc.SmokeTests.Drivers.FlightSql.csproj     | 2 +-
 .../Apache.Arrow.Adbc.SmokeTests.Drivers.Interop.Snowflake.csproj       | 2 +-
 docker-compose.yml                                                      | 2 +-
 12 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/.env b/.env
index c1faa4be2..d598c2f09 100644
--- a/.env
+++ b/.env
@@ -34,7 +34,7 @@ MAVEN=3.6.3
 PYTHON=3.8
 GO=1.21.8
 ARROW_MAJOR_VERSION=14
-DOTNET=7.0
+DOTNET=8.0
 
 # Used through docker-compose.yml and serves as the default version for the
 # ci/scripts/install_vcpkg.sh script. Keep in sync with apache/arrow .env.
diff --git a/.github/workflows/csharp.yml b/.github/workflows/csharp.yml
index f02fe5a15..321997564 100644
--- a/.github/workflows/csharp.yml
+++ b/.github/workflows/csharp.yml
@@ -45,7 +45,7 @@ jobs:
     strategy:
       fail-fast: false
       matrix:
-        version: ['7.0.x']
+        dotnet: ['8.0.x']
         os: [ubuntu-latest, windows-2019, macos-13, macos-latest]
     steps:
       - name: Install C#
diff --git a/csharp/test/Apache.Arrow.Adbc.Tests/Apache.Arrow.Adbc.Tests.csproj 
b/csharp/test/Apache.Arrow.Adbc.Tests/Apache.Arrow.Adbc.Tests.csproj
index 46e296e77..52383b958 100644
--- a/csharp/test/Apache.Arrow.Adbc.Tests/Apache.Arrow.Adbc.Tests.csproj
+++ b/csharp/test/Apache.Arrow.Adbc.Tests/Apache.Arrow.Adbc.Tests.csproj
@@ -1,7 +1,7 @@
 <Project Sdk="Microsoft.NET.Sdk">
 
   <PropertyGroup>
-    <TargetFrameworks>net472;net6.0</TargetFrameworks>
+    <TargetFrameworks>net472;net8.0</TargetFrameworks>
     <ImplicitUsings>disable</ImplicitUsings>
     <IsPackable>false</IsPackable>
     <IsTestProject>true</IsTestProject>
diff --git 
a/csharp/test/Drivers/Apache/Apache.Arrow.Adbc.Tests.Drivers.Apache.csproj 
b/csharp/test/Drivers/Apache/Apache.Arrow.Adbc.Tests.Drivers.Apache.csproj
index d748c371d..f05422dcb 100644
--- a/csharp/test/Drivers/Apache/Apache.Arrow.Adbc.Tests.Drivers.Apache.csproj
+++ b/csharp/test/Drivers/Apache/Apache.Arrow.Adbc.Tests.Drivers.Apache.csproj
@@ -1,7 +1,7 @@
 <Project Sdk="Microsoft.NET.Sdk">
 
   <PropertyGroup>
-     <TargetFrameworks>net472;net6.0</TargetFrameworks>
+     <TargetFrameworks>net472;net8.0</TargetFrameworks>
   </PropertyGroup>
 
   <ItemGroup>
diff --git 
a/csharp/test/Drivers/BigQuery/Apache.Arrow.Adbc.Tests.Drivers.BigQuery.csproj 
b/csharp/test/Drivers/BigQuery/Apache.Arrow.Adbc.Tests.Drivers.BigQuery.csproj
index 44d9d0658..ae3845beb 100644
--- 
a/csharp/test/Drivers/BigQuery/Apache.Arrow.Adbc.Tests.Drivers.BigQuery.csproj
+++ 
b/csharp/test/Drivers/BigQuery/Apache.Arrow.Adbc.Tests.Drivers.BigQuery.csproj
@@ -1,6 +1,6 @@
 <Project Sdk="Microsoft.NET.Sdk">
     <PropertyGroup>
-     <TargetFrameworks>net472;net6.0</TargetFrameworks>
+     <TargetFrameworks>net472;net8.0</TargetFrameworks>
    </PropertyGroup>
     <ItemGroup>
      <PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
diff --git 
a/csharp/test/Drivers/FlightSql/Apache.Arrow.Adbc.Tests.Drivers.FlightSql.csproj
 
b/csharp/test/Drivers/FlightSql/Apache.Arrow.Adbc.Tests.Drivers.FlightSql.csproj
index fae8ebb95..22db27dc4 100644
--- 
a/csharp/test/Drivers/FlightSql/Apache.Arrow.Adbc.Tests.Drivers.FlightSql.csproj
+++ 
b/csharp/test/Drivers/FlightSql/Apache.Arrow.Adbc.Tests.Drivers.FlightSql.csproj
@@ -1,6 +1,6 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <TargetFrameworks>net472;net6.0</TargetFrameworks>
+    <TargetFrameworks>net472;net8.0</TargetFrameworks>
     <ImplicitUsings>disable</ImplicitUsings>
     <SignAssembly>False</SignAssembly>
   </PropertyGroup>
diff --git 
a/csharp/test/Drivers/Interop/Snowflake/Apache.Arrow.Adbc.Tests.Drivers.Interop.Snowflake.csproj
 
b/csharp/test/Drivers/Interop/Snowflake/Apache.Arrow.Adbc.Tests.Drivers.Interop.Snowflake.csproj
index 234729a01..127b0a329 100644
--- 
a/csharp/test/Drivers/Interop/Snowflake/Apache.Arrow.Adbc.Tests.Drivers.Interop.Snowflake.csproj
+++ 
b/csharp/test/Drivers/Interop/Snowflake/Apache.Arrow.Adbc.Tests.Drivers.Interop.Snowflake.csproj
@@ -1,6 +1,6 @@
 <Project Sdk="Microsoft.NET.Sdk">
     <PropertyGroup>
-     <TargetFrameworks>net472;net6.0</TargetFrameworks>
+     <TargetFrameworks>net472;net8.0</TargetFrameworks>
    </PropertyGroup>
     <ItemGroup>
       <None Remove="Resources\SnowflakeConstraints.sql" />
diff --git 
a/csharp/test/SmokeTests/Apache.Arrow.Adbc.SmokeTests/Apache.Arrow.Adbc.SmokeTests.csproj
 
b/csharp/test/SmokeTests/Apache.Arrow.Adbc.SmokeTests/Apache.Arrow.Adbc.SmokeTests.csproj
index a7a7a2130..d04534824 100644
--- 
a/csharp/test/SmokeTests/Apache.Arrow.Adbc.SmokeTests/Apache.Arrow.Adbc.SmokeTests.csproj
+++ 
b/csharp/test/SmokeTests/Apache.Arrow.Adbc.SmokeTests/Apache.Arrow.Adbc.SmokeTests.csproj
@@ -2,7 +2,7 @@
   <Import Project="..\Build.props" />
 
   <PropertyGroup>
-    <TargetFrameworks>net472;net6.0</TargetFrameworks>
+    <TargetFrameworks>net472;net8.0</TargetFrameworks>
     <ImplicitUsings>disable</ImplicitUsings>
     <IsPackable>false</IsPackable>
     <IsTestProject>true</IsTestProject>
diff --git 
a/csharp/test/SmokeTests/BigQuery/Apache.Arrow.Adbc.SmokeTests.Drivers.BigQuery.csproj
 
b/csharp/test/SmokeTests/BigQuery/Apache.Arrow.Adbc.SmokeTests.Drivers.BigQuery.csproj
index 6a323fd59..6a36aad8f 100644
--- 
a/csharp/test/SmokeTests/BigQuery/Apache.Arrow.Adbc.SmokeTests.Drivers.BigQuery.csproj
+++ 
b/csharp/test/SmokeTests/BigQuery/Apache.Arrow.Adbc.SmokeTests.Drivers.BigQuery.csproj
@@ -1,7 +1,7 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <Import Project="..\Build.props" />
     <PropertyGroup>
-     <TargetFrameworks>net472;net6.0</TargetFrameworks>
+     <TargetFrameworks>net472;net8.0</TargetFrameworks>
    </PropertyGroup>
     <ItemGroup>
       <Compile Include="..\..\Drivers\BigQuery\BigQueryData.cs" 
Link="BigQueryData.cs" />
diff --git 
a/csharp/test/SmokeTests/FlightSql/Apache.Arrow.Adbc.SmokeTests.Drivers.FlightSql.csproj
 
b/csharp/test/SmokeTests/FlightSql/Apache.Arrow.Adbc.SmokeTests.Drivers.FlightSql.csproj
index e8dfd1444..74c3409e1 100644
--- 
a/csharp/test/SmokeTests/FlightSql/Apache.Arrow.Adbc.SmokeTests.Drivers.FlightSql.csproj
+++ 
b/csharp/test/SmokeTests/FlightSql/Apache.Arrow.Adbc.SmokeTests.Drivers.FlightSql.csproj
@@ -1,6 +1,6 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <TargetFrameworks>net472;net6.0</TargetFrameworks>
+    <TargetFrameworks>net472;net8.0</TargetFrameworks>
     <ImplicitUsings>disable</ImplicitUsings>
     <SignAssembly>False</SignAssembly>
   </PropertyGroup>
diff --git 
a/csharp/test/SmokeTests/Interop/Snowflake/Apache.Arrow.Adbc.SmokeTests.Drivers.Interop.Snowflake.csproj
 
b/csharp/test/SmokeTests/Interop/Snowflake/Apache.Arrow.Adbc.SmokeTests.Drivers.Interop.Snowflake.csproj
index ced24e642..66e6b1375 100644
--- 
a/csharp/test/SmokeTests/Interop/Snowflake/Apache.Arrow.Adbc.SmokeTests.Drivers.Interop.Snowflake.csproj
+++ 
b/csharp/test/SmokeTests/Interop/Snowflake/Apache.Arrow.Adbc.SmokeTests.Drivers.Interop.Snowflake.csproj
@@ -1,7 +1,7 @@
 <Project Sdk="Microsoft.NET.Sdk">
     <Import Project="..\..\Build.props" />
     <PropertyGroup>
-     <TargetFrameworks>net472;net6.0</TargetFrameworks>
+     <TargetFrameworks>net472;net8.0</TargetFrameworks>
    </PropertyGroup>
     <ItemGroup>
       <Compile Include="..\..\..\Drivers\Interop\Snowflake\ClientTests.cs" 
Link="ClientTests.cs" />
diff --git a/docker-compose.yml b/docker-compose.yml
index cb6146f3c..1c6192f27 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -24,7 +24,7 @@ services:
   ############################### C#/.NET 
######################################
 
   csharp-dist:
-    image: mcr.microsoft.com/dotnet/sdk:7.0
+    image: mcr.microsoft.com/dotnet/sdk:8.0
     volumes:
       - .:/adbc:delegated
     command: |

Reply via email to