Package: python3-grpcio
Version: 1.16.1-1
Severity: important
Tags: newcomer

Dear Maintainer,

Attempting to run a program using python3-grpcio, it will fail:

Traceback (most recent call last):
  File "/usr/libexec/warp/warp.py", line 17, in <module>
    import machines
  File "/usr/libexec/warp/machines.py", line 12, in <module>
    import warp_pb2
  File "/usr/libexec/warp/warp_pb2.py", line 6, in <module>
    from google.protobuf import descriptor as _descriptor
ModuleNotFoundError: No module named 'google'

This does not occur if I have python3-protobuf installed.

Glancing at other related issues (such as, apparently there's an embedded
protobuf in
python3-grpcio, and I would expect it to be compatible)

The workaround is to add a hard dependency to python3-protobuf in my program's
packaging.

Related to this perhaps:
https://github.com/grpc/grpc/issues/21226
however, the discussion is over more recent versions (I think in experimental)

Thanks!



-- System Information:
Debian Release: 10.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-debug'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.4.0-0.bpo.2-amd64 (SMP w/8 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python3-grpcio depends on:
ii  libc-ares2   1.14.0-1
ii  libc6        2.28-10
ii  libssl1.1    1.1.1d-0+deb10u2
ii  libstdc++6   8.3.0-6
ii  python3      3.7.3-1
ii  python3-six  1.12.0-1
ii  zlib1g       1:1.2.11.dfsg-1

python3-grpcio recommends no packages.

python3-grpcio suggests no packages.

-- no debconf information

Reply via email to