Bug 2504523

Summary: python-fastmcp: FTBFS in Fedora rawhide/f45
Product: [Fedora] Fedora Reporter: Fedora Release Engineering <releng>
Component: python-fastmcpAssignee: Peter Lemenkov <lemenkov>
Status: CLOSED RAWHIDE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 45CC: rodolfo.olivieri3
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-fastmcp-2.14.7-5.fc45 python-fastmcp-2.14.7-5.fc46 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-08-18 12:21:15 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:    
Bug Blocks: 2433833, 2503726    
Attachments:
Description Flags
build.log
none
root.log
none
state.log none

Description Fedora Release Engineering 2026-07-21 21:07:27 UTC
python-fastmcp failed to build from source in Fedora rawhide/f45

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


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
Please fix python-fastmcp 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-fastmcp will be orphaned. Before branching of Fedora 46,
python-fastmcp 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 2026-07-21 21:07:34 UTC
Created attachment 2151341 [details]
build.log

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

Comment 2 Fedora Release Engineering 2026-07-21 21:07:39 UTC
Created attachment 2151342 [details]
root.log

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

Comment 3 Fedora Release Engineering 2026-07-21 21:07:42 UTC
Created attachment 2151343 [details]
state.log

Comment 4 Fedora Admin user for bugzilla script actions 2026-08-05 22:29:31 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.

Comment 5 Fedora Admin user for bugzilla script actions 2026-08-10 22:26:38 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.

Comment 6 Aoife Moloney 2026-08-17 15:32:35 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 45 development cycle.
Changing version to 45.

Comment 7 Peter Lemenkov 2026-08-18 12:21:15 UTC
Builds successfully again as of python-fastmcp-2.14.7-5.fc46 (rawhide) and python-fastmcp-2.14.7-5.fc45.

Three tests in tests/server/proxy/test_stateful_proxy_client.py fail on Python 3.15 with

  RuntimeError: Attempted to exit a cancel scope that isn't the current tasks's current cancel scope

raised from anyio's CancelScope.__exit__ during client teardown. fastmcp/utilities/exceptions.py:_exception_handler re-raises a leaf exception from inside an exceptiongroup catch() handler while the cancel scope is being unwound, which leaves anyio's per-task cancel scope bookkeeping inconsistent; the asyncio changes in Python 3.15 expose the ordering.

This is not fixed in any released version: 2.14.7 is the final 2.x release, and utilities/exceptions.py is byte-identical in 3.4.7. Upstream CI covers Python 3.10 and 3.13 only. The three tests are therefore skipped downstream for now; test_stateless_proxy in the same file still runs and passes. To be reported upstream.