Deprecation warning: util.py:4
Closed this issue · 1 comments
jerrinot commented
I'm getting this warning:
$ import hazelcast
/home/jara/.local/lib/python3.8/site-packages/hazelcast/util.py:4: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.9 it will stop working
from collections import Sequence, Iterable
I believe I have the most up to date HZ client version, but it's possible I am just clumsy with pip :)
mdumandag commented
Thanks for the report, seems like the collections.abc
does not exist in Python 2. I will update the code such that it will try to use collections.abc
first, and fallback to collections
for Python 2 only