talaia-labs / python-teos

The Eye of Satoshi - Lightning Watchtower
https://talaia.watch
MIT License
100 stars 15 forks source link

grpcio==1.37.0 fails for arm32v7 #287

Open sr-gi opened 3 years ago

sr-gi commented 3 years ago

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 commented 3 years ago

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