GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — CI requirements pin mcp==2.0.0 while pyproject declares mcp>=1.0,<2, breaking mcp-feature-server-runtime · Issue #6706 · feast-dev/feast

CI requirements pin mcp==2.0.0 while pyproject declares mcp>=1.0,<2, breaking mcp-feature-server-runtime #6706

New issue
Copy link
New issue
Copy link
Closed
#6713
Closed
CI requirements pin mcp==2.0.0 while pyproject declares mcp>=1.0,<2, breaking mcp-feature-server-runtime#6706
#6713
Copy link

Description

@larrysingleton007
larrysingleton007
opened on Aug 5, 2026
Issue body actions

Expected Behavior

mcp-feature-server-runtime passes on PRs carrying ok-to-test, and the installed mcp respects the bound pyproject.toml declares.

Current Behavior

The job fails and the feature server starts without MCP:

ERROR:feast.infra.mcp_servers.mcp_server:Failed to initialize MCP integration: Server.__init__() takes 2 positional arguments but 3 were given
  File "sdk/python/feast/infra/mcp_servers/mcp_server.py", line 113, in add_mcp_support_to_app
    mcp = FastApiMCP(
  File ".venv/lib/python3.11/site-packages/fastapi_mcp/server.py", line 144, in setup_server
    mcp_server: Server = Server(self.name, self.description)
TypeError: Server.__init__() takes 2 positional arguments but 3 were given
WARNING:fastapi:MCP support was requested but could not be enabled

The server then comes up without MCP and the job's subsequent curl probes against 127.0.0.1:6566 fail.

Steps to reproduce

Any PR with ok-to-test. It is not branch-specific:

run branch
30977195488 feat/operator-jwks-tunables
30890414540 credentials

Both fail identically, and they are the only two non-skipped runs of pr_integration_tests.yml in the recent list.

Specifications

  • Version: master (4efb86c68 and later)
  • Platform: ubuntu-latest, Python 3.11, as run by pr_integration_tests.yml

Possible Solution

pyproject.toml:144 declares mcp = ["fastapi_mcp", "mcp>=1.0,<2"], but sdk/python/requirements/py3.10-ci-requirements.txt, py3.11-… and py3.12-… all pin mcp==2.0.0. The manifest forbids what CI installs.

Two commits on 2026-07-31 explain it:

  • 4f6b82109 ("chore: Remove upper version bound for uvicorn (chore: Remove upper version bound for uvicorn #6662)") regenerated the requirement sets as a side effect, taking mcp from 1.28.0 to 2.0.0.
  • faf85e06f ("fix: Use correct image name in multi-arch imagetools push step") added the mcp>=1.0,<2 bound about five hours later, without regenerating the requirements.

So the guard exists but is not applied. Neither commit title mentions mcp, which is probably why the two were never connected.

The resolver picking 2.0.0 is reasonable on the metadata: fastapi-mcp==0.4.0 requires mcp>=1.12.0 with no upper bound, so mcp 2.x satisfies it while breaking its code. fastapi-mcp 0.4.0 is the latest release, so bumping it is not an option. Feast's own <2 bound is the right defence; it just needs to reach the lock. Latest 1.x is 1.29.0.

Happy to open the PR. One question first, since it changes the diff considerably: would you prefer a minimal change pinning just mcp (plus its hashes) in the three files, or a full make lock-python-dependencies-all regeneration? A full relock will move unrelated packages, which is how this was introduced.

This is separate from #6252, which proposes replacing fastapi_mcp with the MCP Python SDK for unrelated reasons and would also dissolve this. I am not trying to pre-empt that; this is just an interim unblock while CI is red.

Activity

  1. nithin42
    added a commit that references this issue on Aug 7, 2026

    fix: Add DynamoDB connection pre-warming, fix mypy TorchTensor type a…

    803db4c
  2. nithin42 commented on Aug 9, 2026

    @nithin42
    nithin42
    on Aug 9, 2026
    Contributor
    More actions

    Hi! I've opened PR #6713 to downgrade the lock pins to satisfy the pyproject.toml version bound and unblock the integration tests.

    Reacted by Larry Singleton
  3. jyejare
    added a commit that references this issue on Aug 10, 2026

    fix: Downgrade CI requirements mcp pin to satisfy pyproject constraint

    This issue will close once commit 05c5218 is merged into the 'master' branch.
    05c5218
  4. nithin42
    added 5 commits that reference this issue on Aug 10, 2026

    fix: downgrade mcp pin to 1.29.0 and drop mcp-types from requirements

    This issue will close once commit 32a3619 is merged into the 'master' branch.
    32a3619

    fix: downgrade mcp pin to 1.29.0 and drop mcp-types from requirements

    This issue will close once commit 0f1d8d4 is merged into the 'master' branch.
    0f1d8d4

    fix: downgrade mcp pin to 1.29.0 and drop mcp-types from requirements

    This issue will close once commit 010e108 is merged into the 'master' branch.
    010e108

    fix: downgrade mcp pin to 1.29.0 and drop mcp-types from requirements

    This issue will close once commit 805c05e is merged into the 'master' branch.
    805c05e

    fix: downgrade mcp pin to 1.29.0 and fix CI lockfiles and unit tests

    This issue will close once commit 4362125 is merged into the 'master' branch.
    4362125
  5. ntkathole
    closed this as completedin #6713on Aug 15, 2026
  6. ntkathole
    added a commit that references this issue on Aug 15, 2026

    fix: downgrade mcp pin to 1.29.0 and fix CI lockfiles and unit tests

    This issue will close once commit 98e5bca is merged into the 'master' branch.
    98e5bca
  7. franciscojavierarceo
    added a commit that references this issue on Aug 21, 2026

    chore(release): release 0.66.0

    1d5be95
  8. HSarwat
    added a commit that references this issue on Aug 22, 2026

    fix: downgrade mcp pin to 1.29.0 and fix CI lockfiles and unit tests

    This issue will close once commit b6ce991 is merged into the 'master' branch.
    b6ce991
  9. Michie-hub
    added 2 commits that reference this issue on Aug 31, 2026

    fix: downgrade mcp pin to 1.29.0 and fix CI lockfiles and unit tests

    This issue will close once commit f4e58d4 is merged into the 'master' branch.
    f4e58d4

    chore(release): release 0.66.0

    This issue will close once commit a29c923 is merged into the 'master' branch.
    a29c923
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402520 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.