Python 3.10 removed `MutableMapping` from `collections`
File ~/eve-notebook/.venv/lib/python3.10/site-packages/esipy/client.py:13, in
File ~/eve-notebook/.venv/lib/python3.10/site-packages/pyswagger/init.py:3, in
File ~/eve-notebook/.venv/lib/python3.10/site-packages/pyswagger/getter.py:3, in
File ~/eve-notebook/.venv/lib/python3.10/site-packages/pyswagger/utils.py:599, in
AttributeError: module 'collections' has no attribute 'MutableMapping'
tried this package which souded good for my purpose, but failed too because of python 3.10. Who can fix this?
best option is to fork and fix/maintain yourself, no sign of the repo owner/maintainer accepting PRs since 2018.
Renaming the references collections.Mapping and collections.MutableMapping to collections.abc.Mapping and collectionis.abc.MutableMapping in io.py fixes it for python 3.10.