Bug 2372150 - F43FailsToInstall: python3-sqlmodel, python3-sqlmodel-slim
Summary: F43FailsToInstall: python3-sqlmodel, python3-sqlmodel-slim
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: python-sqlmodel
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Orphan Owner
QA Contact:
URL:
Whiteboard:
Depends On: 2325425 2371900 2372054
Blocks: PYTHON3.14 F43FailsToInstall F44FailsToInstall, RAWHIDEFailsToInstall 2385537
TreeView+ depends on / blocked
 
Reported: 2025-06-11 08:19 UTC by Fedora Fails To Install
Modified: 2025-09-13 23:01 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-09-13 23:01:09 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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/

Your package (python-sqlmodel) Fails To Install in Fedora 43:

can't install python3-sqlmodel:
  - nothing provides python(abi) = 3.13 needed by python3-sqlmodel-0.0.24-1.fc43.noarch
  - nothing provides (python3.13dist(sqlalchemy) < 2.1~~ with python3.13dist(sqlalchemy) >= 2.0.14) needed by python3-sqlmodel-0.0.24-1.fc43.noarch
  
can't install python3-sqlmodel-slim:
  - nothing provides python(abi) = 3.13 needed by python3-sqlmodel-slim-0.0.24-1.fc43.noarch
  - nothing provides (python3.13dist(sqlalchemy) < 2.1~~ with python3.13dist(sqlalchemy) >= 2.0.14) needed by python3-sqlmodel-slim-0.0.24-1.fc43.noarch
  
If you know about this problem and are planning on fixing it, please acknowledge so by setting the bug status to ASSIGNED. If you don't have time to maintain this package, consider orphaning it, so maintainers of dependent packages realize the problem.


If you don't react accordingly to the policy for FTBFS/FTI bugs (https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/), your package may be orphaned in 8+ weeks.


P.S. The data was generated solely from koji buildroot, so it might be newer than the latest compose or the content on mirrors. To reproduce, use the koji/local repo only, e.g. in mock:

    $ mock -r fedora-43-x86_64 --config-opts mirrored=False install python3-sqlmodel python3-sqlmodel-slim


P.P.S. If this bug has been reported in the middle of upgrading multiple dependent packages, please consider using side tags: https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/#updating-inter-dependent-packages

Thanks!

Comment 1 Fedora Fails To Install 2025-06-20 20:03:54 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.

Comment 2 Ben Beasley 2025-06-21 01:37:41 UTC
This is blocked (indirectly) on Pydantic. It should be possible to rebuild it for Python 3.14 once Pydantic can be rebuilt.

Comment 3 Ben Beasley 2025-06-22 16:04:12 UTC
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.

Comment 4 Ben Beasley 2025-07-29 14:01:09 UTC
No progress with Pydantic 2.12.0a1. Probably no point in reporting this upstream until 2.12.0 final is available, though.

Comment 5 Fedora Admin user for bugzilla script actions 2025-07-31 13:21:31 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.

Comment 6 Fedora Fails To Install 2025-08-01 16:13:37 UTC
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.

Comment 7 Maxwell G 2025-09-13 23:01:09 UTC
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


Note You need to log in before you can comment on or make changes to this bug.