Closed
Description
With latest master branch:
$ make install
$ make bot
python3 examples/ding-dong-bot.py
Traceback (most recent call last):
File "examples/ding-dong-bot.py", line 19, in <module>
from wechaty import (
File "/home/huan/.local/lib/python3.8/site-packages/wechaty/__init__.py", line 7, in <module>
from wechaty_puppet import ( # type: ignore
File "/home/huan/.local/lib/python3.8/site-packages/wechaty_puppet/__init__.py", line 6, in <module>
from .schemas.types import ( # type: ignore
File "/home/huan/.local/lib/python3.8/site-packages/wechaty_puppet/schemas/types.py", line 23, in <module>
from chatie_grpc.wechaty import ( # type: ignore
ImportError: cannot import name 'PayloadType' from 'chatie_grpc.wechaty' (/home/huan/.local/lib/python3.8/site-packages/chatie_grpc/wechaty.py)
make: *** [Makefile:10: bot] Error 1
The GitHub Actions can not detect this problem, it is green now. I believe we need to improve the CI script to catch this kind of problems.