fastapi / asyncer

Asyncer, async and await, focused on developer experience.
https://asyncer.tiangolo.com/
MIT License
1.68k stars 60 forks source link

🐛 Fix Python3.11+ raises `ModuleNotFoundError: No module named typing_extensions` #204

Closed waketzheng closed 2 months ago

waketzheng commented 2 months ago

How to reproduce:

mkdir temp
cd temp
python3.11 -m venv venv
source venv/*/activate
pip install asyncer
python -c 'import asyncer'

BTW: I changed anyio.sleep(0) to anyio.lowlevel.checkpoint as the bash command ruff check --extend-select=ASYNC --fix asyncer suggested. And remove the file poetry.toml as no longer need it.

github-actions[bot] commented 2 months ago

📝 Docs preview for commit db0d1d82dd7a04d89f3fb7b8c2991fa746cdc5c3 at: https://0eec7564.asyncer.pages.dev

github-actions[bot] commented 2 months ago

📝 Docs preview for commit 87df3b984bd7cbd160a4eb73919a73a04e911985 at: https://e5365c33.asyncer.pages.dev