python-teos icon indicating copy to clipboard operation
python-teos copied to clipboard

grpcio==1.37.0 fails for arm32v7

Open sr-gi opened this issue 3 years ago • 1 comments

grpcio==1.37.0 has wheel for arm32v7, what makes it extremely faster to run when creating docker images. However, looks like there's something wrong with it. The image does build, but teosd crashes:

Traceback (most recent call last):
  File "/usr/local/bin/teosd", line 5, in <module>
    from teos.teosd import run
  File "/usr/local/lib/python3.7/dist-packages/teos/teosd.py", line 15, in <module>
    import teos.api as api
  File "/usr/local/lib/python3.7/dist-packages/teos/api.py", line 1, in <module>
    import grpc
  File "/usr/lib/python3.7/site-packages/grpc/__init__.py", line 23, in <module>
    from grpc._cython import cygrpc as _cygrpc
ImportError: cannot import name 'cygrpc' from 'grpc._cython' (/usr/lib/python3.7/site-packages/grpc/_cython/__init__.py)

Already reported this via Gitter. Leaving it here in case it is still present for the next release, when the new images will be built.

sr-gi avatar Apr 26 '21 14:04 sr-gi

Reported as https://github.com/grpc/grpc/issues/26094

sr-gi avatar Apr 27 '21 07:04 sr-gi