This is an automated email from the ASF dual-hosted git repository.
kou pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/main by this push:
new 4b55ea6957 GH-46137: [C++] Replace grpc-cpp conda package with libgrpc
(#47606)
4b55ea6957 is described below
commit 4b55ea69574a7b35f545d27e7423e8a88a7e256a
Author: William Ayd <[email protected]>
AuthorDate: Sun Oct 5 20:54:45 2025 -0400
GH-46137: [C++] Replace grpc-cpp conda package with libgrpc (#47606)
### Rationale for this change
The grpc-cpp conda package appears abandoned and is artificially pinning
other dependencies to older versions (ex: orc). The more recent libgrpc conda
package appears to be where the development is going forward
### What changes are included in this PR?
Replaced grpc-cpp with libgrpc
### Are these changes tested?
Yes
### Are there any user-facing changes?
No
* GitHub Issue: #46137
Authored-by: Will Ayd <[email protected]>
Signed-off-by: Sutou Kouhei <[email protected]>
---
ci/conda_env_cpp.txt | 4 ++--
docs/source/developers/cpp/development.rst | 2 +-
python/asv.conf.json | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/ci/conda_env_cpp.txt b/ci/conda_env_cpp.txt
index 731b49fa46..6e23e920a4 100644
--- a/ci/conda_env_cpp.txt
+++ b/ci/conda_env_cpp.txt
@@ -31,8 +31,8 @@ gflags
glog
gmock>=1.10.0
google-cloud-cpp>=1.34.0
-grpc-cpp<=1.50.1
gtest>=1.10.0
+libgrpc
libprotobuf
libutf8proc
lz4-c
@@ -40,7 +40,7 @@ make
meson
ninja
nodejs
-orc
+orc<2.1.0
pkg-config
python
rapidjson
diff --git a/docs/source/developers/cpp/development.rst
b/docs/source/developers/cpp/development.rst
index 1137438a2a..57bced4933 100644
--- a/docs/source/developers/cpp/development.rst
+++ b/docs/source/developers/cpp/development.rst
@@ -214,7 +214,7 @@ When building, set the environment variables ``gRPC_ROOT``
and/or
``Protobuf_ROOT`` and/or ``c-ares_ROOT``.
We are developing against recent versions of gRPC, and the versions. The
-``grpc-cpp`` package available from https://conda-forge.org/ is one reliable
+``libgrpc`` package available from https://conda-forge.org/ is one reliable
way to obtain gRPC in a cross-platform way. You may try using system libraries
for gRPC and Protobuf, but these are likely to be too old. On macOS, you can
try `Homebrew <https://brew.sh/>`_:
diff --git a/python/asv.conf.json b/python/asv.conf.json
index 86fcd3537d..b975936c99 100644
--- a/python/asv.conf.json
+++ b/python/asv.conf.json
@@ -90,7 +90,7 @@
"cmake": [],
"cython": [],
"flatbuffers": [],
- "grpc-cpp": [],
+ "libgrpc": [],
"libprotobuf": [],
"lz4-c": [],
"ninja": [],