asyncpg
asyncpg copied to clipboard
DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10.
- asyncpg version: 0.22.0
-
PostgreSQL version: local
postgres:13-alpine
via Docker - Python version: 3.9.1
- Platform: macOS 11.2.3; Linux 4.19.121 (via Docker Desktop for Mac)
- Do you use pgbouncer?: no
- Did you install asyncpg with pip?: via poetry
The following warning is produced when running a simple CRUD example from SQLAlchemy's docs:
/usr/local/lib/venv/someproject-asdfqwer-py3.9/lib/python3.9/site-packages/asyncpg/connect_utils.py:544: DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10.
tr, pr = await loop.create_connection(
Maintainer of the Fedora Linux package here, keeping an eye on this issue as it will hit us pretty soon. Packages are already being tested with Python 3.10.