Skip to content

Fix CLI entrypoint to run async code under Python 3.11+#20

Open
chrifey wants to merge 1 commit into
danielfett:mainfrom
chrifey:fix/cli-async-entrypoint
Open

Fix CLI entrypoint to run async code under Python 3.11+#20
chrifey wants to merge 1 commit into
danielfett:mainfrom
chrifey:fix/cli-async-entrypoint

Conversation

@chrifey
Copy link
Copy Markdown

@chrifey chrifey commented Mar 29, 2026

Hi @danielfett,

thanks again for your work on this nice tool!

I just tried to move it to a new Raspberry Pi that is running Python 3.13 and encountered the following error when I tried to start bb_cli :

 $ bb_cli 
<coroutine object run at 0x7fb1c9ec40>
<sys>:0: RuntimeWarning: coroutine 'run' was never awaited
RuntimeWarning: Enable tracemalloc to get the object allocation traceback

The small changes in this PR seem to fix the issue and the code also works with the old Python 3.9 Version.

If you have time, I would be happy if you could review it and if you want merge.

Thanks very much in advance!
Christian

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant