Deprecate roots, sampling, and logging methods per SEP-2577 (#2926)
This commit is contained in:
parent
5734acf18e
commit
4573e4ac33
1 changed files with 206 additions and 123 deletions
|
|
@ -213,6 +213,10 @@ filterwarnings = [
|
|||
"error",
|
||||
# pywin32 internal deprecation warning
|
||||
"ignore:getargs.*The 'u' format is deprecated:DeprecationWarning",
|
||||
# SEP-2577 deprecates the roots/sampling/logging methods; the SDK still calls
|
||||
# them internally (e.g. `ctx.debug` -> `log` -> `send_log_message`), so the
|
||||
# advisory warning is silenced. Tests asserting it opt back in with pytest.warns.
|
||||
"ignore:.*is deprecated as of 2026-07-28 \\(SEP-2577\\).:mcp.MCPDeprecationWarning",
|
||||
]
|
||||
|
||||
[tool.markdown.lint]
|
||||
|
|
|
|||
Loading…
Reference in a new issue