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 bc48e186c feat(csharp/src/Drivers): update drivers to .NET 8 (#3120)
bc48e186c is described below
commit bc48e186c98e6293b020368dd219fbb87d76eef1
Author: Curt Hagenlocher <[email protected]>
AuthorDate: Tue Jul 8 12:40:16 2025 -0700
feat(csharp/src/Drivers): update drivers to .NET 8 (#3120)
- Updates the drivers to .NET 8 because the
System.Diagnostics.DiagnosticSource package requires it, and .NET 6
support ended last year.
- Updates the publish script to include all drivers now
---
csharp/src/Apache.Arrow.Adbc/Apache.Arrow.Adbc.csproj | 2 +-
csharp/src/Client/Apache.Arrow.Adbc.Client.csproj | 2 +-
csharp/src/Drivers/Apache/Apache.Arrow.Adbc.Drivers.Apache.csproj | 2 +-
csharp/src/Drivers/BigQuery/Apache.Arrow.Adbc.Drivers.BigQuery.csproj | 2 +-
.../src/Drivers/Databricks/Apache.Arrow.Adbc.Drivers.Databricks.csproj | 2 +-
.../src/Drivers/FlightSql/Apache.Arrow.Adbc.Drivers.FlightSql.csproj | 2 +-
.../FlightSql/Apache.Arrow.Adbc.Drivers.Interop.FlightSql.csproj | 2 +-
.../Snowflake/Apache.Arrow.Adbc.Drivers.Interop.Snowflake.csproj | 2 +-
.../Apache.Arrow.Adbc.SmokeTests.Drivers.Interop.FlightSql.csproj | 2 +-
dev/release/post-07-csharp.sh | 3 +++
10 files changed, 12 insertions(+), 9 deletions(-)
diff --git a/csharp/src/Apache.Arrow.Adbc/Apache.Arrow.Adbc.csproj
b/csharp/src/Apache.Arrow.Adbc/Apache.Arrow.Adbc.csproj
index fd0549ed7..005a5cd01 100644
--- a/csharp/src/Apache.Arrow.Adbc/Apache.Arrow.Adbc.csproj
+++ b/csharp/src/Apache.Arrow.Adbc/Apache.Arrow.Adbc.csproj
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <TargetFrameworks>netstandard2.0;net6.0</TargetFrameworks>
+ <TargetFrameworks>netstandard2.0;net8.0</TargetFrameworks>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<PackageReadmeFile>readme.md</PackageReadmeFile>
</PropertyGroup>
diff --git a/csharp/src/Client/Apache.Arrow.Adbc.Client.csproj
b/csharp/src/Client/Apache.Arrow.Adbc.Client.csproj
index ced800c66..2aea01fa7 100644
--- a/csharp/src/Client/Apache.Arrow.Adbc.Client.csproj
+++ b/csharp/src/Client/Apache.Arrow.Adbc.Client.csproj
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <TargetFrameworks>netstandard2.0;net6.0</TargetFrameworks>
+ <TargetFrameworks>netstandard2.0;net8.0</TargetFrameworks>
<PackageReadmeFile>readme.md</PackageReadmeFile>
</PropertyGroup>
<ItemGroup>
diff --git a/csharp/src/Drivers/Apache/Apache.Arrow.Adbc.Drivers.Apache.csproj
b/csharp/src/Drivers/Apache/Apache.Arrow.Adbc.Drivers.Apache.csproj
index 7839ccf82..f4c11907d 100644
--- a/csharp/src/Drivers/Apache/Apache.Arrow.Adbc.Drivers.Apache.csproj
+++ b/csharp/src/Drivers/Apache/Apache.Arrow.Adbc.Drivers.Apache.csproj
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <TargetFrameworks>netstandard2.0;net472;net6.0</TargetFrameworks>
+ <TargetFrameworks>netstandard2.0;net472;net8.0</TargetFrameworks>
</PropertyGroup>
<ItemGroup>
diff --git
a/csharp/src/Drivers/BigQuery/Apache.Arrow.Adbc.Drivers.BigQuery.csproj
b/csharp/src/Drivers/BigQuery/Apache.Arrow.Adbc.Drivers.BigQuery.csproj
index 057e4449c..b20d938f3 100644
--- a/csharp/src/Drivers/BigQuery/Apache.Arrow.Adbc.Drivers.BigQuery.csproj
+++ b/csharp/src/Drivers/BigQuery/Apache.Arrow.Adbc.Drivers.BigQuery.csproj
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <TargetFrameworks>netstandard2.0;net472;net6.0</TargetFrameworks>
+ <TargetFrameworks>netstandard2.0;net472;net8.0</TargetFrameworks>
<PackageReadmeFile>readme.md</PackageReadmeFile>
</PropertyGroup>
<ItemGroup>
diff --git
a/csharp/src/Drivers/Databricks/Apache.Arrow.Adbc.Drivers.Databricks.csproj
b/csharp/src/Drivers/Databricks/Apache.Arrow.Adbc.Drivers.Databricks.csproj
index a8ffbfc60..626957491 100644
--- a/csharp/src/Drivers/Databricks/Apache.Arrow.Adbc.Drivers.Databricks.csproj
+++ b/csharp/src/Drivers/Databricks/Apache.Arrow.Adbc.Drivers.Databricks.csproj
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <TargetFrameworks>netstandard2.0;net472;net6.0</TargetFrameworks>
+ <TargetFrameworks>netstandard2.0;net472;net8.0</TargetFrameworks>
<PackageReadmeFile>readme.md</PackageReadmeFile>
</PropertyGroup>
<ItemGroup>
diff --git
a/csharp/src/Drivers/FlightSql/Apache.Arrow.Adbc.Drivers.FlightSql.csproj
b/csharp/src/Drivers/FlightSql/Apache.Arrow.Adbc.Drivers.FlightSql.csproj
index 302b496e2..4ddbc8dea 100644
--- a/csharp/src/Drivers/FlightSql/Apache.Arrow.Adbc.Drivers.FlightSql.csproj
+++ b/csharp/src/Drivers/FlightSql/Apache.Arrow.Adbc.Drivers.FlightSql.csproj
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <TargetFrameworks>netstandard2.0;net6.0</TargetFrameworks>
+ <TargetFrameworks>netstandard2.0;net8.0</TargetFrameworks>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="System.Net.Http.WinHttpHandler" Version="8.0.3"
Condition="'$(TargetFrameworkIdentifier)' == '.NETStandard'" />
diff --git
a/csharp/src/Drivers/Interop/FlightSql/Apache.Arrow.Adbc.Drivers.Interop.FlightSql.csproj
b/csharp/src/Drivers/Interop/FlightSql/Apache.Arrow.Adbc.Drivers.Interop.FlightSql.csproj
index 773062adb..c2f8e9b2d 100644
---
a/csharp/src/Drivers/Interop/FlightSql/Apache.Arrow.Adbc.Drivers.Interop.FlightSql.csproj
+++
b/csharp/src/Drivers/Interop/FlightSql/Apache.Arrow.Adbc.Drivers.Interop.FlightSql.csproj
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <TargetFrameworks>netstandard2.0;net472;net6.0</TargetFrameworks>
+ <TargetFrameworks>netstandard2.0;net472;net8.0</TargetFrameworks>
<PackageReadmeFile>readme.md</PackageReadmeFile>
<IsPackagingPipeline Condition="'$(IsPackagingPipeline)' == ''">
false
diff --git
a/csharp/src/Drivers/Interop/Snowflake/Apache.Arrow.Adbc.Drivers.Interop.Snowflake.csproj
b/csharp/src/Drivers/Interop/Snowflake/Apache.Arrow.Adbc.Drivers.Interop.Snowflake.csproj
index b71e9b661..c031c61a5 100644
---
a/csharp/src/Drivers/Interop/Snowflake/Apache.Arrow.Adbc.Drivers.Interop.Snowflake.csproj
+++
b/csharp/src/Drivers/Interop/Snowflake/Apache.Arrow.Adbc.Drivers.Interop.Snowflake.csproj
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <TargetFrameworks>netstandard2.0;net472;net6.0</TargetFrameworks>
+ <TargetFrameworks>netstandard2.0;net472;net8.0</TargetFrameworks>
<PackageReadmeFile>readme.md</PackageReadmeFile>
<IsPackagingPipeline Condition="'$(IsPackagingPipeline)' == ''">
false
diff --git
a/csharp/test/SmokeTests/Interop/FlightSql/Apache.Arrow.Adbc.SmokeTests.Drivers.Interop.FlightSql.csproj
b/csharp/test/SmokeTests/Interop/FlightSql/Apache.Arrow.Adbc.SmokeTests.Drivers.Interop.FlightSql.csproj
index af8e63343..1c3762649 100644
---
a/csharp/test/SmokeTests/Interop/FlightSql/Apache.Arrow.Adbc.SmokeTests.Drivers.Interop.FlightSql.csproj
+++
b/csharp/test/SmokeTests/Interop/FlightSql/Apache.Arrow.Adbc.SmokeTests.Drivers.Interop.FlightSql.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\FlightSql\ClientTests.cs"
Link="ClientTests.cs" />
diff --git a/dev/release/post-07-csharp.sh b/dev/release/post-07-csharp.sh
index a55872c51..7fbcac939 100755
--- a/dev/release/post-07-csharp.sh
+++ b/dev/release/post-07-csharp.sh
@@ -54,8 +54,11 @@ main() {
local base_names=()
base_names+=(Apache.Arrow.Adbc.${VERSION_CSHARP})
base_names+=(Apache.Arrow.Adbc.Client.${VERSION_CSHARP})
+ base_names+=(Apache.Arrow.Adbc.Drivers.Apache.${VERSION_CSHARP})
base_names+=(Apache.Arrow.Adbc.Drivers.BigQuery.${VERSION_CSHARP})
+ base_names+=(Apache.Arrow.Adbc.Drivers.Databricks.${VERSION_CSHARP})
base_names+=(Apache.Arrow.Adbc.Drivers.FlightSql.${VERSION_CSHARP})
+ base_names+=(Apache.Arrow.Adbc.Drivers.Interop.FlightSql.${VERSION_CSHARP})
base_names+=(Apache.Arrow.Adbc.Drivers.Interop.Snowflake.${VERSION_CSHARP})
for base_name in "${base_names[@]}"; do
dotnet nuget push \