python-trio / trio-asyncio

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

Deprecation warning from trio.Queue #46

Closed AdrienPensart closed 5 years ago

AdrienPensart commented 5 years ago

Hello,

I'm using trio-asyncio and it works very well !

But I now have this warning :

python3.6/site-packages/trio_asyncio/base.py:153: TrioDeprecationWarning: trio.Queue is deprecated since Trio 0.9.0; use trio.open_memory_channel instead (https://github.com/python-trio/trio/issues/497)

Is it trivial to fix ? I can try a PR maybe.

smurfix commented 5 years ago

Should be quite easy. Please do.