MagicStack / asyncpg

A fast PostgreSQL Database Client Library for Python/asyncio.
Apache License 2.0
6.88k stars 399 forks source link

Require async_timeout for python < 3.11 #1177

Open Pliner opened 2 weeks ago

Pliner commented 2 weeks ago

Hello,

It looks like async_timeout might only be installed for python < 3.11.

This was initially added in #1086 as part of the switch to the updated in python 3.12 asyncio.wait_for, however asyncio.timeout is available starting from 3.11.