vxgmichel / aiostream

Generator-based operators for asynchronous iteration
http://aiostream.readthedocs.io
GNU General Public License v3.0
800 stars 34 forks source link

Python 3.7 DeprecationWarning collections.abc #28

Closed tonal closed 6 years ago

tonal commented 6 years ago
/usr/local/lib/python3.7/site-packages/aiostream/aiter_utils.py:5: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
  from collections import AsyncIterator

/usr/local/lib/python3.7/site-packages/aiostream/core.py:5: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
  from collections import AsyncIterable, Awaitable
/usr/local/lib/python3.7/site-packages/aiostream/core.py:5: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
  from collections import AsyncIterable, Awaitable
tonal commented 6 years ago

see https://github.com/scikit-learn/scikit-learn/issues/11121 and https://github.com/scikit-learn/scikit-learn/pull/11431

tonal commented 6 years ago

Or https://github.com/numpy/numpy/pull/10743

vxgmichel commented 6 years ago

Thanks for the report!

It's been fixed in PR #27 and will become visible with version 0.3.2.