You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "D:\-\__init__.py", line 1, in <module>
from odmantic import AIOEngine
File "D:\-\venv\Lib\site-packages\odmantic\__init__.py", line 1, in <module>
from .bson import ObjectId
File "D:\-\venv\Lib\site-packages\odmantic\bson.py", line 11, in <module>
from pydantic.datetime_parse import parse_datetime
File "D:\-\venv\Lib\site-packages\pydantic\_migration.py", line 300, in wrapper
raise PydanticImportError(f'`{import_path}` has been removed in V2.')
pydantic.errors.PydanticImportError: `pydantic.datetime_parse:parse_datetime` has been removed in V2.
Pydantic infos (output of python -c "import pydantic.utils; print(pydantic.utils.version_info())):
D:\-\venv\Lib\site-packages\pydantic\_migration.py:281: UserWarning: `pydantic.utils:version_info` has been moved to `pydantic.versio
n:version_info`.
warnings.warn(f'`{import_path}` has been moved to `{new_location}`.')
pydantic version: 2.4.2
pydantic-core version: 2.10.1
pydantic-core build: profile=release pgo=false
install path: D:\-\venv\Lib\site-packages\pydantic
python version: 3.11.5 (tags/v3.11.5:cce6ba9, Aug 24 2023, 14:38:34) [MSC v.1936 64 bit (AMD64)]
platform: Windows-10-10.0.19045-SP0
related packages: typing_extensions-4.8.0
Version of additional modules (if relevant):
...
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Bug
Current Behavior
Follow https://art049.github.io/odmantic/
Expected behavior
It should not throw error
Environment
python -c "import pydantic.utils; print(pydantic.utils.version_info())
):Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: