It appears coreapi is not python3.10 compat, one of my external lib that imports the SchemaGenerator from rest_framework.schemas will causes the error: coreapi must be installed for schema support with Python 3.10`
from rest_framework.schemas import (
SchemaGenerator as BaseSchemaGenerator,
)
The underlining exception when importing coreapi was:
ImportError: cannot import name 'Mapping' from 'collections' (/opt/homebrew/Cellar/python@3.10/3.10.14/Frameworks/Python.framework/Versions/3.10/lib/python3.10/collections/__init__.py)
It appears
coreapi
is not python3.10 compat, one of my external lib that imports theSchemaGenerator
fromrest_framework.schemas
will causes the error:coreapi
must be installed for schema support with Python 3.10`The underlining exception when importing coreapi was:
ImportError: cannot import name 'Mapping' from 'collections' (/opt/homebrew/Cellar/python@3.10/3.10.14/Frameworks/Python.framework/Versions/3.10/lib/python3.10/collections/__init__.py)
Is there a way to resolve this?