Actual Behavior
It is impossible to import Spec from openapi_core installed with pip.
Traceback (most recent call last):
<Package that calls Spec>
from openapi_core import Spec
ImportError: cannot import name 'Spec' from 'openapi_core' (/opt/anaconda3/envs/native/lib/python3.13/site-packages/openapi_core/__init__.py)
Expected Behavior
There should be no error.
Steps to Reproduce
pip install openapi-core, then run a python script with from openapi_core import Spec.
OpenAPI Core Version
0.23.1
OpenAPI Core Integration
Don't know
Affected Area(s)
importing in another program
References
No response
Anything else we need to know?
No response
Would you like to implement a fix?
None
Actual Behavior
It is impossible to import Spec from openapi_core installed with pip.
Expected Behavior
There should be no error.
Steps to Reproduce
pip install openapi-core, then run a python script withfrom openapi_core import Spec.OpenAPI Core Version
0.23.1
OpenAPI Core Integration
Don't know
Affected Area(s)
importing in another program
References
No response
Anything else we need to know?
No response
Would you like to implement a fix?
None