Skip to content

Fix MicroPython optional module compatibility#29

Merged
pgularski merged 1 commit into
masterfrom
fix-micropython-module-compatibility
Jun 17, 2026
Merged

Fix MicroPython optional module compatibility#29
pgularski merged 1 commit into
masterfrom
fix-micropython-module-compatibility

Conversation

@pgularski

Copy link
Copy Markdown
Owner

Summary

  • Reuse the core deque compatibility shim in optional queued, async, and serialization modules
  • Replace inspect.isawaitable with a local awaitable check that works without inspect and handles MicroPython coroutine shapes
  • Add tests covering optional module imports and awaitable detection

Testing

  • Unit tests added for queued, async, and serialization module compatibility
  • Unit tests added for native coroutine, generator-based coroutine, and MicroPython-style awaitable detection

@pgularski pgularski merged commit 282b034 into master Jun 17, 2026
18 checks passed
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