Skip to content

Commit 9dc0742

Browse files
committed
Bump starlette-sse
1 parent 824a5f4 commit 9dc0742

File tree

3 files changed

+4
-17
lines changed

3 files changed

+4
-17
lines changed

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ maintainers = [
99
{ name = "David Soria Parra", email = "davidsp@anthropic.com" },
1010
{ name = "Marcelo Trylesinski", email = "marcelotryle@gmail.com" },
1111
{ name = "Max Isbey", email = "maxisbey@anthropic.com" },
12-
{ name = "Felix Weinberger", email = "fweinberger@anthropic.com" }
12+
{ name = "Felix Weinberger", email = "fweinberger@anthropic.com" },
1313
]
1414
keywords = ["git", "mcp", "llm", "automation"]
1515
license = { text = "MIT" }
@@ -32,7 +32,7 @@ dependencies = [
3232
"starlette>=0.48.0; python_version >= '3.14'",
3333
"starlette>=0.27; python_version < '3.14'",
3434
"python-multipart>=0.0.9",
35-
"sse-starlette>=1.6.1",
35+
"sse-starlette>=3.0.0",
3636
"pydantic-settings>=2.5.2",
3737
"uvicorn>=0.31.1; sys_platform != 'emscripten'",
3838
"jsonschema>=4.20.0",

tests/server/test_streamable_http_manager.py

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -318,21 +318,8 @@ async def mock_receive():
318318
assert error_data["error"]["message"] == "Session not found"
319319

320320

321-
@pytest.fixture
322-
def reset_sse_app_status():
323-
# Needed for tests with sse-starlette < 3
324-
# https://github.com/sysid/sse-starlette/issues/59
325-
# https://github.com/sysid/sse-starlette/blob/v3.2.0/README.md#testing
326-
327-
from sse_starlette.sse import AppStatus
328-
329-
AppStatus.should_exit_event = None # pyright: ignore[reportAttributeAccessIssue]
330-
yield
331-
AppStatus.should_exit_event = None # pyright: ignore[reportAttributeAccessIssue]
332-
333-
334321
@pytest.mark.anyio
335-
async def test_e2e_streamable_http_server_cleanup(reset_sse_app_status: None):
322+
async def test_e2e_streamable_http_server_cleanup():
336323
host = "testserver"
337324
app = Server("test-server")
338325

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)