fix: Fix issues with collections.abc
in Python 3.10+
#1188
Merged
collections.abc
in Python 3.10+
#1188