QUERY · ISSUE
Installing MicroPython Asyncio from Thonny Package Manager Successful, But import of uasyncio module fails?
bug
Consistent and repeatable... ValueError: incompatible .mpy file results on module import. Installing MicroPython Asyncio from Thonny Package Manager Successful, But import of uasyncio module fails? Please fix.
Using latest nightly build same issue.
CANDIDATE · ISSUE
stmhal Frozen bytecode: no longer works with lib subdirectory
I have stmhal/modules/lib containing the uasyncio library. I have been building successfully with
make -j 8 BOARD=PYBV11 FROZEN_MPY_DIR=modules
Today, though it compiled the files
...
MPY modules/lib/uasyncio/test2.py
MPY modules/lib/uasyncio/core.py
MPY modules/lib/uasyncio/__init__.py
MPY modules/lib/uasyncio/test.py
MPY modules/lib/uasyncio/queues.py
MPY modules/lib/collections/deque.py
...
I can no longer import uasyncio at the REPL. Modules in stmhal/modules (i.e. not in the subdirectory) are OK.