mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-04-16 19:22:00 +02:00
https://github.com/fastapi/sqlmodel/releases/tag/0.0.38 https://github.com/fastapi/sqlmodel/releases Resolves test error with pydantic >=2.12. ``` tests/test_enums.py:8: in <module> from . import test_enums_models <frozen importlib._bootstrap>:1371: in _find_and_load ??? <frozen importlib._bootstrap>:1342: in _find_and_load_unlocked ??? <frozen importlib._bootstrap>:938: in _load_unlocked ??? /usr/lib/python3.14/site-packages/_pytest/assertion/rewrite.py:197: in exec_module exec(co, module.__dict__) tests/test_enums_models.py:17: in <module> class BaseModel(SQLModel): sqlmodel/main.py:536: in __new__ new_cls = super().__new__(cls, name, bases, dict_used, **config_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pydantic/_internal/_model_construction.py:132: in __new__ private_attributes = inspect_namespace( /usr/lib/python3.14/site-packages/pydantic/_internal/_model_construction.py:477: in inspect_namespace raise PydanticUserError( E pydantic.errors.PydanticUserError: Field 'id' requires a type annotation E E For further information visit https://errors.pydantic.dev/2.12/u/model-field-missing-annotation ``` Ref: https://gitlab.alpinelinux.org/alpine/aports/-/issues/18025