Somewhere around there is when python changed the collections.abc stdlib naming convention from a warning to a fatal error. This means that code could work fine in 3.8 ish and refuse to run on 3.9+.
That probably explains why when I try to use subuser commands (python3.10 installed on the system) it complains "AttributeError: module 'collections' has no attribute 'Mapping'"
A bit of a pain. But to be fair, this import was deprecated since python 3.3, released almost 10 years ago.