-
-
Notifications
You must be signed in to change notification settings - Fork 94
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Pydantic import error when I try to import ormar
To Reproduce
import ormarExpected behavior
No error when I import Ormar
Versions (please complete the following information):
python 3.13.3
annotated-types==0.7.0
databases==0.9.0
greenlet==3.2.3
ormar==0.9.4
pydantic==2.11.5
pydantic-core==2.33.2
sqlalchemy==2.0.41
typing-extensions==4.14.0
typing-inspection==0.4.1
Additional context
full backtrace:
Traceback (most recent call last):
File "<python-input-0>", line 1, in <module>
import ormar
File "/home/jtremesay/projects/camille/.venv/lib/python3.13/site-packages/ormar/__init__.py", line 37, in <module>
from ormar.fields import (
^^^^^^^^^^^^^^^^^^^^^^^^^^
...<18 lines>...
) # noqa: I100
^
File "/home/jtremesay/projects/camille/.venv/lib/python3.13/site-packages/ormar/fields/__init__.py", line 7, in <module>
from ormar.fields.base import BaseField
File "/home/jtremesay/projects/camille/.venv/lib/python3.13/site-packages/ormar/fields/base.py", line 5, in <module>
from pydantic.fields import FieldInfo, Required, Undefined
ImportError: cannot import name 'Required' from 'pydantic.fields' (/home/jtremesay/projects/camille/.venv/lib/python3.13/site-packages/pydantic/fields.py)
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working