I get this error in Python3.10.6
isinstance(pattern, collections.Iterable):
AttributeError: module 'collections' has no attribute 'Iterable'
in a significant and critical legacy program I didn't write (it's the buildsystem for another product). It worked fine with 3.8.10. The error is breaking the build on GitHub CI under Linux. Seems like they upgraded Python a couple of days ago. Does anyone have a suggestion to fix it?