miguelgrinberg/microdot

Hang on python 3.10.4

Closed this issue · 3 comments

Migrate from microdot 1.33 to 2.02
Use Microdot and Websocket package.
It seem to be an asyncio problem..
microdot.py line 25 in invoke handler
TypeError: BaseEventLoop.run_in_executor () got an unexpected keyword argument 'path'

The same code (with microdot 2.02) work perfectly well under micropython 1.21

Perharps the 2.x version is no more compatible directly with python?
I will try with python last release (3.12.x)

This is actually a bug, I'll take care of it shortly.

@sophiedegran Please upgrade to 2.0.3 for the fix.