pgjones / hypercorn

Hypercorn is an ASGI and WSGI Server based on Hyper libraries and inspired by Gunicorn.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Migrate to BaseExceptionGroup

macalinao opened this issue · comments

I'm getting this annoying error every time I start quart-trio:

/Users/pgjones/Library/Caches/pypoetry/virtualenvs/python-template-zJCAta4K-py3.10/lib/python3.10/site-packages/hypercorn/trio/task_group.py:25: TrioDeprecationWarning: trio.MultiError is deprecated since Trio 0.22.0; use BaseExceptionGroup (on Python 3.11 and later) or exceptiongroup.BaseExceptionGroup (earlier versions) instead (https://github.com/python-trio/trio/issues/2211)

Would appreciate the update!

I think this is fixed in d2c5cd0