Skip to content

Commit 7b5a4b2

Browse files
committed
[SPARK-52390] Upgrade gRPC Swift libraries to grpc-swift-2-based ones
### What changes were proposed in this pull request? This PR aims to upgrade `gRPC Swift` libraries to `grpc-swift-2`-based ones like the following. ```swift - .package(url: "https://github.com/grpc/grpc-swift.git", exact: "2.2.2"), - .package(url: "https://github.com/grpc/grpc-swift-protobuf.git", exact: "1.3.0"), - .package(url: "https://github.com/grpc/grpc-swift-nio-transport.git", exact: "1.2.2"), + .package(url: "https://github.com/grpc/grpc-swift-2.git", exact: "2.0.0"), + .package(url: "https://github.com/grpc/grpc-swift-protobuf.git", exact: "2.0.0"), + .package(url: "https://github.com/grpc/grpc-swift-nio-transport.git", exact: "2.0.0"), ``` ### Why are the changes needed? To use the latest dependencies. - https://github.com/grpc/grpc-swift-2/releases/tag/2.0.0 - https://github.com/grpc/grpc-swift-protobuf/releases/tag/2.0.0 - https://github.com/grpc/grpc-swift-nio-transport/releases/tag/2.0.0 ### Does this PR introduce _any_ user-facing change? No behavior change. ### How was this patch tested? Pass the CIs. ### Was this patch authored or co-authored using generative AI tooling? No. Closes #194 from dongjoon-hyun/SPARK-52390. Authored-by: Dongjoon Hyun <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]>
1 parent 60fa9c4 commit 7b5a4b2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Package.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,16 +34,16 @@ let package = Package(
3434
targets: ["SparkConnect"])
3535
],
3636
dependencies: [
37-
.package(url: "https://github.com/grpc/grpc-swift.git", exact: "2.2.2"),
38-
.package(url: "https://github.com/grpc/grpc-swift-protobuf.git", exact: "1.3.0"),
39-
.package(url: "https://github.com/grpc/grpc-swift-nio-transport.git", exact: "1.2.2"),
37+
.package(url: "https://github.com/grpc/grpc-swift-2.git", exact: "2.0.0"),
38+
.package(url: "https://github.com/grpc/grpc-swift-protobuf.git", exact: "2.0.0"),
39+
.package(url: "https://github.com/grpc/grpc-swift-nio-transport.git", exact: "2.0.0"),
4040
.package(url: "https://github.com/google/flatbuffers.git", branch: "v25.2.10"),
4141
],
4242
targets: [
4343
.target(
4444
name: "SparkConnect",
4545
dependencies: [
46-
.product(name: "GRPCCore", package: "grpc-swift"),
46+
.product(name: "GRPCCore", package: "grpc-swift-2"),
4747
.product(name: "GRPCProtobuf", package: "grpc-swift-protobuf"),
4848
.product(name: "GRPCNIOTransportHTTP2", package: "grpc-swift-nio-transport"),
4949
.product(name: "FlatBuffers", package: "flatbuffers"),

0 commit comments

Comments
 (0)