Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why package name changed from grpc-cpp to libgrpc? #291

Closed
corneliusroemer opened this issue May 3, 2023 · 1 comment
Closed

Why package name changed from grpc-cpp to libgrpc? #291

corneliusroemer opened this issue May 3, 2023 · 1 comment
Labels
question Further information is requested

Comments

@corneliusroemer
Copy link
Member

Comment:

It seems that you stopped publishing packages named grpc-cpp with version grpc-cpp 1.51.1 h88f4db0_3 conda-forge/osx-64

Versions higher than that seem to be only installable via grpcio, e.g. grpcio 1.54.1 py39h840bb9f_0 conda-forge/osx-64. The change to no longer publish grpc-cpp seems to have been made around this commit: bd4e5a2

What's the reason for this? This seems to cause some problems:

  • Some other package in my environment seems to require grpc-cpp
  • Instead of this being a clear version conflict, it appears as follows in mamba's repoquery:
The following packages are incompatible
├─ grpc-cpp   is requested and can be installed;
├─ jax 0.4.8**  is installable and it requires
│  └─ jaxlib >=0.4.7  with the potential options
│     ├─ jaxlib 0.4.7 would require
│     │  ├─ libgrpc >=1.52.1,<1.53.0a0 , which requires
│     │  │  └─ grpc-cpp 1.52.1* , which conflicts with any installable versions previously reported;
│     │  └─ openssl >=3.1.0,<4.0a0 , which can be installed;
│     ├─ jaxlib 0.4.7 would require
│     │  ├─ libgrpc >=1.54.0,<1.55.0a0  but there are no viable options
│     │  │  ├─ libgrpc 1.54.1 would require
│     │  │  │  └─ grpc-cpp 1.54.1* , which conflicts with any installable versions previously reported;
│     │  │  └─ libgrpc 1.54.0 would require
│     │  │     └─ grpc-cpp 1.54.0* , which conflicts with any installable versions previously reported;
@corneliusroemer corneliusroemer added the question Further information is requested label May 3, 2023
@h-vetinari
Copy link
Member

grpcio wasn't touched, it was grpc-cpp that was renamed to libgrpc in #245 for 1.49, and the old output was removed in #266 for 1.52.

So that matches what you are seeing, namely that after 1.51, there's no more grpc-cpp, only libgrpc. The solution is to not explicitly depend on grpc-cpp, and where you need only the C++ library (and not the python bindings in grpcio), then you need to rename your dependency to libgrpc.

@h-vetinari h-vetinari changed the title Why package name changed from grpc-cpp to grpcio? Why package name changed from grpc-cpp to libgrpc? Jun 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants