fastapi / asyncer

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

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

Open waketzheng opened 2 weeks ago

waketzheng commented 2 weeks 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 ruff check --extend-select=ASYNC suggested. And remove the file poetry.toml as no longer need it.

github-actions[bot] commented 2 weeks ago

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

waketzheng commented 2 weeks ago

@tiangolo How to add a label?

Stealthii commented 2 days ago

This bug affects v0.0.8 (the latest version) only.