The latest release only claims support for Python 3.5 through 3.8, yet it actually supports and is tested with up to Python 3.10. https://github.com/mongodb-labs/pymongoexplain/blob/master/setup.py#L40-L44