Bug 2504523 - python-fastmcp: FTBFS in Fedora rawhide/f45
Summary: python-fastmcp: FTBFS in Fedora rawhide/f45
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-fastmcp
Version: 45
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Peter Lemenkov
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: F45FTBFS F46FTBFS, RAWHIDEFTBFS
TreeView+ depends on / blocked
 
Reported: 2026-07-21 21:07 UTC by Fedora Release Engineering
Modified: 2026-08-18 12:21 UTC (History)
1 user (show)

Fixed In Version: python-fastmcp-2.14.7-5.fc45 python-fastmcp-2.14.7-5.fc46
Clone Of:
Environment:
Last Closed: 2026-08-18 12:21:15 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
build.log (32.00 KB, text/plain)
2026-07-21 21:07 UTC, Fedora Release Engineering
no flags Details
root.log (32.00 KB, text/plain)
2026-07-21 21:07 UTC, Fedora Release Engineering
no flags Details
state.log (1.67 KB, text/plain)
2026-07-21 21:07 UTC, Fedora Release Engineering
no flags Details

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.


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