python-trio / trio-asyncio

a re-implementation of the asyncio mainloop on top of Trio

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MultiError deprecation warnings from trio

Redoubts opened this issue · comments

I'm starting to see warnings like

.../site-packages/trio_asyncio/_handles.py:131: 
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) 

In my code. Is there a way for trio_asyncio to get ahead of these so users don't see them at runtime?

python==3.8
trio==0.22.0
trio-asyncio==0.12.0
trio-util==0.7.0