Bug 2372150
| Summary: | F43FailsToInstall: python3-sqlmodel, python3-sqlmodel-slim | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Fedora Fails To Install <fti-bugs> |
| Component: | python-sqlmodel | Assignee: | Orphan Owner <extras-orphan> |
| Status: | CLOSED WONTFIX | QA Contact: | |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | code |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | --- | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2025-09-13 23:01:09 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 2325425, 2371900, 2372054 | ||
| Bug Blocks: | 2339435, 2384425, 2322407, 2385537 | ||
|
Description
Fedora Fails To Install
2025-06-11 08:19:14 UTC
Hello, Please note that this comment was generated automatically by https://pagure.io/releng/blob/main/f/scripts/ftbfs-fti/follow-policy.py If you feel that this output has mistakes, please open an issue at https://pagure.io/releng/ This package fails to install and maintainers are advised to take one of the following actions: - Fix this bug and close this bugzilla once the update makes it to the repository. (The same script that posted this comment will eventually close this bugzilla when the fixed package reaches the repository, so you don't have to worry about it.) or - Move this bug to ASSIGNED if you plan on fixing this, but simply haven't done so yet. or - Orphan the package if you no longer plan to maintain it. If you do not take one of these actions, the process at https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/#_package_removal_for_long_standing_ftbfs_and_fti_bugs will continue. This package may be orphaned in 7+ weeks. This is the first reminder (step 3) from the policy. Don't hesitate to ask for help on https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/ if you are unsure how to fix this bug. This is blocked (indirectly) on Pydantic. It should be possible to rebuild it for Python 3.14 once Pydantic can be rebuilt. Testing this locally with a bootstrapped FastAPI,
==================================== ERRORS ====================================
_ ERROR collecting docs_src/tutorial/fastapi/app_testing/tutorial001/test_extra_coverage.py _
docs_src/tutorial/fastapi/app_testing/tutorial001/test_extra_coverage.py:5: in <module>
from . import main as app_mod
docs_src/tutorial/fastapi/app_testing/tutorial001/main.py:7: in <module>
class HeroBase(SQLModel):
sqlmodel/main.py:539: in __new__
new_cls = super().__new__(cls, name, bases, dict_used, **config_kwargs)
/usr/lib/python3.14/site-packages/pydantic/_internal/_model_construction.py:129: in __new__
private_attributes = inspect_namespace(
/usr/lib/python3.14/site-packages/pydantic/_internal/_model_construction.py:471: in inspect_namespace
raise PydanticUserError(
E pydantic.errors.PydanticUserError: Field 'name' requires a type annotation
E
E For further information visit https://errors.pydantic.dev/2.11/u/model-field-missing-annotation
_ ERROR collecting docs_src/tutorial/fastapi/app_testing/tutorial001/test_main.py _
docs_src/tutorial/fastapi/app_testing/tutorial001/test_main.py:6: in <module>
from .main import Hero, app, get_session
docs_src/tutorial/fastapi/app_testing/tutorial001/main.py:7: in <module>
class HeroBase(SQLModel):
sqlmodel/main.py:539: in __new__
new_cls = super().__new__(cls, name, bases, dict_used, **config_kwargs)
/usr/lib/python3.14/site-packages/pydantic/_internal/_model_construction.py:129: in __new__
private_attributes = inspect_namespace(
/usr/lib/python3.14/site-packages/pydantic/_internal/_model_construction.py:471: in inspect_namespace
raise PydanticUserError(
E pydantic.errors.PydanticUserError: Field 'name' requires a type annotation
E
E For further information visit https://errors.pydantic.dev/2.11/u/model-field-missing-annotation
_ ERROR collecting docs_src/tutorial/fastapi/app_testing/tutorial001/test_main_001.py _
docs_src/tutorial/fastapi/app_testing/tutorial001/test_main_001.py:4: in <module>
from .main import app, get_session # (1)!
docs_src/tutorial/fastapi/app_testing/tutorial001/main.py:7: in <module>
class HeroBase(SQLModel):
sqlmodel/main.py:539: in __new__
new_cls = super().__new__(cls, name, bases, dict_used, **config_kwargs)
/usr/lib/python3.14/site-packages/pydantic/_internal/_model_construction.py:129: in __new__
private_attributes = inspect_namespace(
/usr/lib/python3.14/site-packages/pydantic/_internal/_model_construction.py:471: in inspect_namespace
raise PydanticUserError(
E pydantic.errors.PydanticUserError: Field 'name' requires a type annotation
E
E For further information visit https://errors.pydantic.dev/2.11/u/model-field-missing-annotation
_ ERROR collecting docs_src/tutorial/fastapi/app_testing/tutorial001/test_main_002.py _
docs_src/tutorial/fastapi/app_testing/tutorial001/test_main_002.py:4: in <module>
from .main import app, get_session # (1)!
docs_src/tutorial/fastapi/app_testing/tutorial001/main.py:7: in <module>
class HeroBase(SQLModel):
sqlmodel/main.py:539: in __new__
new_cls = super().__new__(cls, name, bases, dict_used, **config_kwargs)
/usr/lib/python3.14/site-packages/pydantic/_internal/_model_construction.py:129: in __new__
private_attributes = inspect_namespace(
/usr/lib/python3.14/site-packages/pydantic/_internal/_model_construction.py:471: in inspect_namespace
raise PydanticUserError(
E pydantic.errors.PydanticUserError: Field 'name' requires a type annotation
E
E For further information visit https://errors.pydantic.dev/2.11/u/model-field-missing-annotation
_ ERROR collecting docs_src/tutorial/fastapi/app_testing/tutorial001/test_main_003.py _
docs_src/tutorial/fastapi/app_testing/tutorial001/test_main_003.py:4: in <module>
from .main import app, get_session # (1)!
docs_src/tutorial/fastapi/app_testing/tutorial001/main.py:7: in <module>
class HeroBase(SQLModel):
sqlmodel/main.py:539: in __new__
new_cls = super().__new__(cls, name, bases, dict_used, **config_kwargs)
/usr/lib/python3.14/site-packages/pydantic/_internal/_model_construction.py:129: in __new__
private_attributes = inspect_namespace(
/usr/lib/python3.14/site-packages/pydantic/_internal/_model_construction.py:471: in inspect_namespace
raise PydanticUserError(
E pydantic.errors.PydanticUserError: Field 'name' requires a type annotation
E
E For further information visit https://errors.pydantic.dev/2.11/u/model-field-missing-annotation
_ ERROR collecting docs_src/tutorial/fastapi/app_testing/tutorial001/test_main_004.py _
docs_src/tutorial/fastapi/app_testing/tutorial001/test_main_004.py:5: in <module>
from .main import app, get_session
docs_src/tutorial/fastapi/app_testing/tutorial001/main.py:7: in <module>
class HeroBase(SQLModel):
sqlmodel/main.py:539: in __new__
new_cls = super().__new__(cls, name, bases, dict_used, **config_kwargs)
/usr/lib/python3.14/site-packages/pydantic/_internal/_model_construction.py:129: in __new__
private_attributes = inspect_namespace(
/usr/lib/python3.14/site-packages/pydantic/_internal/_model_construction.py:471: in inspect_namespace
raise PydanticUserError(
E pydantic.errors.PydanticUserError: Field 'name' requires a type annotation
E
E For further information visit https://errors.pydantic.dev/2.11/u/model-field-missing-annotation
_ ERROR collecting docs_src/tutorial/fastapi/app_testing/tutorial001/test_main_005.py _
docs_src/tutorial/fastapi/app_testing/tutorial001/test_main_005.py:6: in <module>
from .main import app, get_session
docs_src/tutorial/fastapi/app_testing/tutorial001/main.py:7: in <module>
class HeroBase(SQLModel):
sqlmodel/main.py:539: in __new__
new_cls = super().__new__(cls, name, bases, dict_used, **config_kwargs)
/usr/lib/python3.14/site-packages/pydantic/_internal/_model_construction.py:129: in __new__
private_attributes = inspect_namespace(
/usr/lib/python3.14/site-packages/pydantic/_internal/_model_construction.py:471: in inspect_namespace
raise PydanticUserError(
E pydantic.errors.PydanticUserError: Field 'name' requires a type annotation
E
E For further information visit https://errors.pydantic.dev/2.11/u/model-field-missing-annotation
_ ERROR collecting docs_src/tutorial/fastapi/app_testing/tutorial001/test_main_006.py _
docs_src/tutorial/fastapi/app_testing/tutorial001/test_main_006.py:6: in <module>
from .main import app, get_session
docs_src/tutorial/fastapi/app_testing/tutorial001/main.py:7: in <module>
class HeroBase(SQLModel):
sqlmodel/main.py:539: in __new__
new_cls = super().__new__(cls, name, bases, dict_used, **config_kwargs)
/usr/lib/python3.14/site-packages/pydantic/_internal/_model_construction.py:129: in __new__
private_attributes = inspect_namespace(
/usr/lib/python3.14/site-packages/pydantic/_internal/_model_construction.py:471: in inspect_namespace
raise PydanticUserError(
E pydantic.errors.PydanticUserError: Field 'name' requires a type annotation
E
E For further information visit https://errors.pydantic.dev/2.11/u/model-field-missing-annotation
_____________________ ERROR collecting tests/test_enums.py _____________________
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:185: in exec_module
exec(co, module.__dict__)
tests/test_enums_models.py:17: in <module>
class BaseModel(SQLModel):
sqlmodel/main.py:539: in __new__
new_cls = super().__new__(cls, name, bases, dict_used, **config_kwargs)
/usr/lib/python3.14/site-packages/pydantic/_internal/_model_construction.py:129: in __new__
private_attributes = inspect_namespace(
/usr/lib/python3.14/site-packages/pydantic/_internal/_model_construction.py:471: 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.11/u/model-field-missing-annotation
_________________ ERROR collecting tests/test_enums_models.py __________________
tests/test_enums_models.py:17: in <module>
class BaseModel(SQLModel):
sqlmodel/main.py:539: in __new__
new_cls = super().__new__(cls, name, bases, dict_used, **config_kwargs)
/usr/lib/python3.14/site-packages/pydantic/_internal/_model_construction.py:129: in __new__
private_attributes = inspect_namespace(
/usr/lib/python3.14/site-packages/pydantic/_internal/_model_construction.py:471: 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.11/u/model-field-missing-annotation
_ ERROR collecting tests/test_tutorial/test_fastapi/test_app_testing/test_tutorial001_tests001.py _
tests/test_tutorial/test_fastapi/test_app_testing/test_tutorial001_tests001.py:5: in <module>
from docs_src.tutorial.fastapi.app_testing.tutorial001 import main as app_mod
docs_src/tutorial/fastapi/app_testing/tutorial001/main.py:7: in <module>
class HeroBase(SQLModel):
sqlmodel/main.py:539: in __new__
new_cls = super().__new__(cls, name, bases, dict_used, **config_kwargs)
/usr/lib/python3.14/site-packages/pydantic/_internal/_model_construction.py:129: in __new__
private_attributes = inspect_namespace(
/usr/lib/python3.14/site-packages/pydantic/_internal/_model_construction.py:471: in inspect_namespace
raise PydanticUserError(
E pydantic.errors.PydanticUserError: Field 'name' requires a type annotation
E
E For further information visit https://errors.pydantic.dev/2.11/u/model-field-missing-annotation
_ ERROR collecting tests/test_tutorial/test_fastapi/test_app_testing/test_tutorial001_tests002.py _
tests/test_tutorial/test_fastapi/test_app_testing/test_tutorial001_tests002.py:5: in <module>
from docs_src.tutorial.fastapi.app_testing.tutorial001 import main as app_mod
docs_src/tutorial/fastapi/app_testing/tutorial001/main.py:7: in <module>
class HeroBase(SQLModel):
sqlmodel/main.py:539: in __new__
new_cls = super().__new__(cls, name, bases, dict_used, **config_kwargs)
/usr/lib/python3.14/site-packages/pydantic/_internal/_model_construction.py:129: in __new__
private_attributes = inspect_namespace(
/usr/lib/python3.14/site-packages/pydantic/_internal/_model_construction.py:471: in inspect_namespace
raise PydanticUserError(
E pydantic.errors.PydanticUserError: Field 'name' requires a type annotation
E
E For further information visit https://errors.pydantic.dev/2.11/u/model-field-missing-annotation
_ ERROR collecting tests/test_tutorial/test_fastapi/test_app_testing/test_tutorial001_tests003.py _
tests/test_tutorial/test_fastapi/test_app_testing/test_tutorial001_tests003.py:5: in <module>
from docs_src.tutorial.fastapi.app_testing.tutorial001 import main as app_mod
docs_src/tutorial/fastapi/app_testing/tutorial001/main.py:7: in <module>
class HeroBase(SQLModel):
sqlmodel/main.py:539: in __new__
new_cls = super().__new__(cls, name, bases, dict_used, **config_kwargs)
/usr/lib/python3.14/site-packages/pydantic/_internal/_model_construction.py:129: in __new__
private_attributes = inspect_namespace(
/usr/lib/python3.14/site-packages/pydantic/_internal/_model_construction.py:471: in inspect_namespace
raise PydanticUserError(
E pydantic.errors.PydanticUserError: Field 'name' requires a type annotation
E
E For further information visit https://errors.pydantic.dev/2.11/u/model-field-missing-annotation
_ ERROR collecting tests/test_tutorial/test_fastapi/test_app_testing/test_tutorial001_tests004.py _
tests/test_tutorial/test_fastapi/test_app_testing/test_tutorial001_tests004.py:5: in <module>
from docs_src.tutorial.fastapi.app_testing.tutorial001 import main as app_mod
docs_src/tutorial/fastapi/app_testing/tutorial001/main.py:7: in <module>
class HeroBase(SQLModel):
sqlmodel/main.py:539: in __new__
new_cls = super().__new__(cls, name, bases, dict_used, **config_kwargs)
/usr/lib/python3.14/site-packages/pydantic/_internal/_model_construction.py:129: in __new__
private_attributes = inspect_namespace(
/usr/lib/python3.14/site-packages/pydantic/_internal/_model_construction.py:471: in inspect_namespace
raise PydanticUserError(
E pydantic.errors.PydanticUserError: Field 'name' requires a type annotation
E
E For further information visit https://errors.pydantic.dev/2.11/u/model-field-missing-annotation
_ ERROR collecting tests/test_tutorial/test_fastapi/test_app_testing/test_tutorial001_tests005.py _
tests/test_tutorial/test_fastapi/test_app_testing/test_tutorial001_tests005.py:6: in <module>
from docs_src.tutorial.fastapi.app_testing.tutorial001 import main as app_mod
docs_src/tutorial/fastapi/app_testing/tutorial001/main.py:7: in <module>
class HeroBase(SQLModel):
sqlmodel/main.py:539: in __new__
new_cls = super().__new__(cls, name, bases, dict_used, **config_kwargs)
/usr/lib/python3.14/site-packages/pydantic/_internal/_model_construction.py:129: in __new__
private_attributes = inspect_namespace(
/usr/lib/python3.14/site-packages/pydantic/_internal/_model_construction.py:471: in inspect_namespace
raise PydanticUserError(
E pydantic.errors.PydanticUserError: Field 'name' requires a type annotation
E
E For further information visit https://errors.pydantic.dev/2.11/u/model-field-missing-annotation
_ ERROR collecting tests/test_tutorial/test_fastapi/test_app_testing/test_tutorial001_tests006.py _
tests/test_tutorial/test_fastapi/test_app_testing/test_tutorial001_tests006.py:7: in <module>
from docs_src.tutorial.fastapi.app_testing.tutorial001 import main as app_mod
docs_src/tutorial/fastapi/app_testing/tutorial001/main.py:7: in <module>
class HeroBase(SQLModel):
sqlmodel/main.py:539: in __new__
new_cls = super().__new__(cls, name, bases, dict_used, **config_kwargs)
/usr/lib/python3.14/site-packages/pydantic/_internal/_model_construction.py:129: in __new__
private_attributes = inspect_namespace(
/usr/lib/python3.14/site-packages/pydantic/_internal/_model_construction.py:471: in inspect_namespace
raise PydanticUserError(
E pydantic.errors.PydanticUserError: Field 'name' requires a type annotation
E
E For further information visit https://errors.pydantic.dev/2.11/u/model-field-missing-annotation
=============================== warnings summary ===============================
../../../../../usr/lib/python3.14/site-packages/pydantic/_migration.py:283
/usr/lib/python3.14/site-packages/pydantic/_migration.py:283: UserWarning: `pydantic.error_wrappers:ValidationError` has been moved to `pydantic:ValidationError`.
warnings.warn(f'`{import_path}` has been moved to `{new_location}`.')
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
!!!!!!!!!!!!!!!!!!! Interrupted: 16 errors during collection !!!!!!!!!!!!!!!!!!!
================= 1 deselected, 1 warning, 16 errors in 1.20s ==================
I suspect that these errors will be resolved once full support for Python 3.14 exists in Pydantic upstream; the best thing I can do here is probably to wait and see.
No progress with Pydantic 2.12.0a1. Probably no point in reporting this upstream until 2.12.0 final is available, though. This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component. This package has been orphaned. You can pick it up at https://src.fedoraproject.org/rpms/python-sqlmodel by clicking button "Take". If nobody picks it up, it will be retired and removed from a distribution. Automation has figured out the package is retired in Fedora Rawhide. If you like it to be unretired, please open a ticket at https://pagure.io/releng/new_issue?template=package_unretirement |