deltachat-bot / deltabot-cli-py

Library to speedup Delta Chat bot development
Mozilla Public License 2.0
9 stars 1 forks source link

Depend on stable version of deltachat-rpc-client #1

Closed link2xt closed 1 year ago

link2xt commented 1 year ago

Currently default branch is installed: https://github.com/deltachat-bot/deltabot-cli-py/blob/10ce04f3f6f6faa8775305c19218b2d50a17b50a/pyproject.toml#L25

This results in errors when looking up event type attribute which got renamed into kind on the default master branch.

This can be worked around by doing pip install --force-reinstall git+https://github.com/deltachat/deltachat-core-rust.git@stable#subdirectory=deltachat-rpc-client but ideally pyproject.toml should link to this URL.

link2xt commented 1 year ago

stable version has also been ported from asyncio to threads here: https://github.com/deltachat/deltachat-core-rust/pull/4787

master branch is not updated for this change yet.

link2xt commented 1 year ago

As an example of update, see https://github.com/deltachat/pingpong/commit/bd1283aa92a5a12921be5f41db2ae0210c8a35ed