Skip to content

FastMCP client import fails on Python 3.15 #5373

Description

@Kludex

What happened?

Importing the FastMCP client on Python 3.15.0rc1 fails. The import works on Python 3.14. I expected FastMCP to run on 3.15 as well.

Example Code

from fastmcp import Client

With the dependencies installed from the current main lockfile on 3.15, the import raises ImportError: cannot import name 'no_type_check_decorator' from 'typing'.

Version Information

FastMCP main at 9488a261, Python 3.15.0rc1, macOS arm64.

Activity

  1. added
    bug
    client
    on Oct 1, 2026
  2. reopened this on Oct 3, 2026
  3. jlowin commented on Oct 3, 2026

    @jlowin
    Member

    Reopened as #5374 was not ready; reverted in #5389

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugclient

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions