Title: CI requirements pin mcp==2.0.0 while pyproject declares mcp>=1.0,<2, breaking mcp-feature-server-runtime · Issue #6706 · feast-dev/feast · GitHub
Open Graph Title: CI requirements pin mcp==2.0.0 while pyproject declares mcp>=1.0,<2, breaking mcp-feature-server-runtime · Issue #6706 · feast-dev/feast
X Title: CI requirements pin mcp==2.0.0 while pyproject declares mcp>=1.0,<2, breaking mcp-feature-server-runtime · Issue #6706 · feast-dev/feast
Description: 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...
Open Graph Description: 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 serv...
X Description: 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 serv...
Opengraph URL: https://github.com/feast-dev/feast/issues/6706
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"CI requirements pin mcp==2.0.0 while pyproject declares mcp>=1.0,\u003c2, breaking mcp-feature-server-runtime","articleBody":"## Expected Behavior\n\n`mcp-feature-server-runtime` passes on PRs carrying `ok-to-test`, and the installed `mcp` respects the bound `pyproject.toml` declares.\n\n## Current Behavior\n\nThe job fails and the feature server starts without MCP:\n\n```\nERROR:feast.infra.mcp_servers.mcp_server:Failed to initialize MCP integration: Server.__init__() takes 2 positional arguments but 3 were given\n File \"sdk/python/feast/infra/mcp_servers/mcp_server.py\", line 113, in add_mcp_support_to_app\n mcp = FastApiMCP(\n File \".venv/lib/python3.11/site-packages/fastapi_mcp/server.py\", line 144, in setup_server\n mcp_server: Server = Server(self.name, self.description)\nTypeError: Server.__init__() takes 2 positional arguments but 3 were given\nWARNING:fastapi:MCP support was requested but could not be enabled\n```\n\nThe server then comes up without MCP and the job's subsequent `curl` probes against `127.0.0.1:6566` fail.\n\n## Steps to reproduce\n\nAny PR with `ok-to-test`. It is not branch-specific:\n\n| run | branch |\n| --- | --- |\n| 30977195488 | `feat/operator-jwks-tunables` |\n| 30890414540 | `credentials` |\n\nBoth fail identically, and they are the only two non-skipped runs of `pr_integration_tests.yml` in the recent list.\n\n### Specifications\n\n- Version: master (`4efb86c68` and later)\n- Platform: `ubuntu-latest`, Python 3.11, as run by `pr_integration_tests.yml`\n\n## Possible Solution\n\n`pyproject.toml:144` declares `mcp = [\"fastapi_mcp\", \"mcp>=1.0,\u003c2\"]`, 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.\n\nTwo commits on 2026-07-31 explain it:\n\n- `4f6b82109` (\"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`.\n- `faf85e06f` (\"fix: Use correct image name in multi-arch imagetools push step\") added the `mcp>=1.0,\u003c2` bound about five hours later, without regenerating the requirements.\n\nSo the guard exists but is not applied. Neither commit title mentions mcp, which is probably why the two were never connected.\n\nThe 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 `\u003c2` bound is the right defence; it just needs to reach the lock. Latest 1.x is `1.29.0`.\n\nHappy 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.\n\nThis 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.","author":{"url":"https://github.com/larrysingleton007","@type":"Person","name":"larrysingleton007"},"datePublished":"2026-08-05T13:28:14Z","url":"https://github.com/feast-dev/feast/issues/6706"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:189cf68d-2eeb-205a-d49d-aa56a8ee4312 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AFBA:10CB0:F1E3E7:13E1E23:6AFE9817 |
| html-safe-nonce | 9523f28f7a949a0d83d2bcd418b306a8ebcca3b6a598fe7500fd2825361720cc |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRkJBOjEwQ0IwOkYxRTNFNzoxM0UxRTIzOjZBRkU5ODE3IiwidmlzaXRvcl9pZCI6IjYwMzY5NTQyMjcxNTcxNDU2MjMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | cb6cfdd4ce294365fbcc5a0b221f3f7080a87df8ad7183e5bc8a2597111edc79 |
| hovercard-subject-tag | issue:5071366990 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/feast-dev/feast/6706/issue_layout |
| twitter:image | https://opengraph.githubassets.com/eb9193661e5e98e8c8cab879c532fc25ce3f5802630d194caee6d17e22e9cfe7/feast-dev/feast/issues/6706 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/eb9193661e5e98e8c8cab879c532fc25ce3f5802630d194caee6d17e22e9cfe7/feast-dev/feast/issues/6706 |
| og:image:alt | 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 serv... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | larrysingleton007 |
| hostname | github.com |
| expected-hostname | github.com |
| None | b3c0f155eafc27e60db6e254d1ffff0e072e9ab3b4018a5ee518797c19d89f86 |
| turbo-cache-control | no-preview |
| go-import | github.com/feast-dev/feast git https://github.com/feast-dev/feast.git |
| octolytics-dimension-user_id | 57027613 |
| octolytics-dimension-user_login | feast-dev |
| octolytics-dimension-repository_id | 161133770 |
| octolytics-dimension-repository_nwo | feast-dev/feast |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 161133770 |
| octolytics-dimension-repository_network_root_nwo | feast-dev/feast |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 4a10310af51a1bfffbedc4fd81cb582acf0cb0ff |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width