diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 69f46dc..459ff81 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -217,11 +217,11 @@ OIDC/RBAC access, hosted readiness, or wiki publication. [`requirements-ci.txt`](requirements-ci.txt) pins PyYAML, `packaging`, and PyPA `build`. [`constraints-ci.txt`](constraints-ci.txt), loaded by the CI -requirements and clean wheel installation, fixes the tested MCP baseline at -`mcp==2.0.1`, within both runtime manifests' supported range. This is not a full -dependency lock or coverage of every newer MCP release. MCP 2.2.0 masks -tool-error details asserted by existing wiki protocol tests; review the -constraint when updating SDK support rather than weakening those assertions. +requirements and clean wheel installation, records the tested MCP baseline. +See that file for the current version, which must satisfy both runtime +manifests' supported ranges. This is not a full dependency lock or coverage of +every newer MCP release. When updating MCP, rerun the protocol tests and +review behavior changes rather than weakening their assertions. `compileall` checks syntax, not formatting, types, or style. Actions and actionlint source are pinned to immutable commits. Dependabot diff --git a/constraints-ci.txt b/constraints-ci.txt index 17e1830..1c3c557 100644 --- a/constraints-ci.txt +++ b/constraints-ci.txt @@ -1,3 +1,2 @@ -# Preserve the existing MCP protocol-test baseline without changing runtime ranges. -# Newer SDK error masking needs a separate runtime compatibility change. -mcp==2.0.1 +# Pin the MCP version exercised by CI within both runtime manifests' ranges. +mcp==2.2.0 diff --git a/requirements.txt b/requirements.txt index 38f0fb3..5a06af0 100644 --- a/requirements.txt +++ b/requirements.txt @@ -11,7 +11,7 @@ azure-keyvault-secrets>=4.9.0 python-dotenv==1.2.2 PyJWT[crypto]>=2.9.0 PyYAML==6.0.3 -mcp>=2.0.0,<3 +mcp>=2.2.0,<3 dulwich==1.2.14 urllib3>=2.2.2 opentelemetry-api>=1.44.0,<2 diff --git a/tests/test_ci_workflow.py b/tests/test_ci_workflow.py index 29182ea..c484d22 100644 --- a/tests/test_ci_workflow.py +++ b/tests/test_ci_workflow.py @@ -125,7 +125,6 @@ def test_ci_dependency_baseline_satisfies_both_runtime_manifests(self): for pin in pins: version, = [spec.version for spec in pin.specifier if spec.operator == "=="] self.assertIn(version, runtime[pin.name].specifier) - self.assertIn(str(pin), (ROOT / "CONTRIBUTING.md").read_text(encoding="utf-8")) def test_both_suites_run_directly_so_failures_fail_the_job(self): for job_id, command in (