Bug 2385537 - python-sqlmodel: FTBFS in Fedora rawhide/f43
Summary: python-sqlmodel: FTBFS in Fedora rawhide/f43
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: 2372150
Blocks: F43FTBFS
TreeView+ depends on / blocked
 
Reported: 2025-07-31 10:38 UTC by Fedora Release Engineering
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)
build.log (32.00 KB, text/plain)
2025-07-31 10:38 UTC, Fedora Release Engineering
no flags Details
root.log (32.00 KB, text/plain)
2025-07-31 10:38 UTC, Fedora Release Engineering
no flags Details
state.log (1.68 KB, text/plain)
2025-07-31 10:38 UTC, Fedora Release Engineering
no flags Details

Description Fedora Release Engineering 2025-07-31 10:38:35 UTC
python-sqlmodel failed to build from source in Fedora rawhide/f43

https://koji.fedoraproject.org/koji/taskinfo?taskID=135250428


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
Please fix python-sqlmodel at your earliest convenience and set the bug's status to
ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks,
python-sqlmodel will be orphaned. Before branching of Fedora 44,
python-sqlmodel will be retired, if it still fails to build.

For more details on the FTBFS policy, please visit:
https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/

Comment 1 Fedora Release Engineering 2025-07-31 10:38:41 UTC
Created attachment 2101512 [details]
build.log

file build.log too big, will only attach last 32768 bytes

Comment 2 Fedora Release Engineering 2025-07-31 10:38:48 UTC
Created attachment 2101513 [details]
root.log

file root.log too big, will only attach last 32768 bytes

Comment 3 Fedora Release Engineering 2025-07-31 10:38:51 UTC
Created attachment 2101514 [details]
state.log

Comment 4 Ben Beasley 2025-07-31 11:51:14 UTC
With Pydantic 2.12.0a1, I still see:

====================================== short test summary info ======================================
ERROR docs_src/tutorial/fastapi/app_testing/tutorial001/test_extra_coverage.py - pydantic.errors.PydanticUserError: Field 'name' requires a type annotation
ERROR docs_src/tutorial/fastapi/app_testing/tutorial001/test_main.py - pydantic.errors.PydanticUserError: Field 'name' requires a type annotation
ERROR docs_src/tutorial/fastapi/app_testing/tutorial001/test_main_001.py - pydantic.errors.PydanticUserError: Field 'name' requires a type annotation
ERROR docs_src/tutorial/fastapi/app_testing/tutorial001/test_main_002.py - pydantic.errors.PydanticUserError: Field 'name' requires a type annotation
ERROR docs_src/tutorial/fastapi/app_testing/tutorial001/test_main_003.py - pydantic.errors.PydanticUserError: Field 'name' requires a type annotation
ERROR docs_src/tutorial/fastapi/app_testing/tutorial001/test_main_004.py - pydantic.errors.PydanticUserError: Field 'name' requires a type annotation
ERROR docs_src/tutorial/fastapi/app_testing/tutorial001/test_main_005.py - pydantic.errors.PydanticUserError: Field 'name' requires a type annotation
ERROR docs_src/tutorial/fastapi/app_testing/tutorial001/test_main_006.py - pydantic.errors.PydanticUserError: Field 'name' requires a type annotation
ERROR docs_src/tutorial/fastapi/app_testing/tutorial001_py310/test_extra_coverage.py - pydantic.errors.PydanticUserError: Field 'name' requires a type annotation
ERROR docs_src/tutorial/fastapi/app_testing/tutorial001_py310/test_main.py - pydantic.errors.PydanticUserError: Field 'name' requires a type annotation
ERROR docs_src/tutorial/fastapi/app_testing/tutorial001_py310/test_main_001.py - pydantic.errors.PydanticUserError: Field 'name' requires a type annotation
ERROR docs_src/tutorial/fastapi/app_testing/tutorial001_py310/test_main_002.py - pydantic.errors.PydanticUserError: Field 'name' requires a type annotation
ERROR docs_src/tutorial/fastapi/app_testing/tutorial001_py310/test_main_003.py - pydantic.errors.PydanticUserError: Field 'name' requires a type annotation
ERROR docs_src/tutorial/fastapi/app_testing/tutorial001_py310/test_main_004.py - pydantic.errors.PydanticUserError: Field 'name' requires a type annotation
ERROR docs_src/tutorial/fastapi/app_testing/tutorial001_py310/test_main_005.py - pydantic.errors.PydanticUserError: Field 'name' requires a type annotation
ERROR docs_src/tutorial/fastapi/app_testing/tutorial001_py310/test_main_006.py - pydantic.errors.PydanticUserError: Field 'name' requires a type annotation
ERROR docs_src/tutorial/fastapi/app_testing/tutorial001_py39/test_extra_coverage.py - pydantic.errors.PydanticUserError: Field 'name' requires a type annotation
ERROR docs_src/tutorial/fastapi/app_testing/tutorial001_py39/test_main.py - pydantic.errors.PydanticUserError: Field 'name' requires a type annotation
ERROR docs_src/tutorial/fastapi/app_testing/tutorial001_py39/test_main_001.py - pydantic.errors.PydanticUserError: Field 'name' requires a type annotation
ERROR docs_src/tutorial/fastapi/app_testing/tutorial001_py39/test_main_002.py - pydantic.errors.PydanticUserError: Field 'name' requires a type annotation
ERROR docs_src/tutorial/fastapi/app_testing/tutorial001_py39/test_main_003.py - pydantic.errors.PydanticUserError: Field 'name' requires a type annotation
ERROR docs_src/tutorial/fastapi/app_testing/tutorial001_py39/test_main_004.py - pydantic.errors.PydanticUserError: Field 'name' requires a type annotation
ERROR docs_src/tutorial/fastapi/app_testing/tutorial001_py39/test_main_005.py - pydantic.errors.PydanticUserError: Field 'name' requires a type annotation
ERROR docs_src/tutorial/fastapi/app_testing/tutorial001_py39/test_main_006.py - pydantic.errors.PydanticUserError: Field 'name' requires a type annotation
ERROR tests/test_enums.py - pydantic.errors.PydanticUserError: Field 'id' requires a type annotation
ERROR tests/test_enums_models.py - pydantic.errors.PydanticUserError: Field 'id' requires a type annotation
ERROR tests/test_tutorial/test_fastapi/test_app_testing/test_tutorial001_tests001.py - pydantic.errors.PydanticUserError: Field 'name' requires a type annotation
ERROR tests/test_tutorial/test_fastapi/test_app_testing/test_tutorial001_tests002.py - pydantic.errors.PydanticUserError: Field 'name' requires a type annotation
ERROR tests/test_tutorial/test_fastapi/test_app_testing/test_tutorial001_tests003.py - pydantic.errors.PydanticUserError: Field 'name' requires a type annotation
ERROR tests/test_tutorial/test_fastapi/test_app_testing/test_tutorial001_tests004.py - pydantic.errors.PydanticUserError: Field 'name' requires a type annotation
ERROR tests/test_tutorial/test_fastapi/test_app_testing/test_tutorial001_tests005.py - pydantic.errors.PydanticUserError: Field 'name' requires a type annotation
ERROR tests/test_tutorial/test_fastapi/test_app_testing/test_tutorial001_tests006.py - pydantic.errors.PydanticUserError: Field 'name' requires a type annotation
!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 32 errors during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
=================================== 1 warning, 32 errors in 0.94s ===================================

I suspect this has to do with deferred evaluation of annotations, PEP 649, but I don’t understand Pydantic, FastAPI, and SQLModel well enough to debug it.

I could wait until later in the F43 release cycle to see if the situation improves, but:

- This is only an optional test dependency for FastAPI, and is otherwise a leaf package.
- Upstream is not very accessible: they require posting in discussions before filing a bug, and demand that people promise to answer user questions or review PR’s before filing a discussion topic.
- I am looking to decrease my efforts in packaging the FastAPI ecosystem and ideally find new or additional maintainers.

Therefore, I’m going to go ahead and orphan this package, and just keep doing without the integration tests for it in python-fastapi. Anyone who values this package and is able to fix and maintain it is welcome to pick it up.

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

Comment 6 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.