python-trio / trio-asyncio

a re-implementation of the asyncio mainloop on top of Trio
Other
187 stars 37 forks source link

MultiError deprecation warnings from trio #119

Closed Redoubts closed 11 months ago

Redoubts commented 1 year ago

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