Skip to content

Commit 8b6c517

Browse files
authored
Bump version to 0.2.1 (#127)
* Bump version to 0.2.1 * Update uvicorn and fastapi * Ignore uvicorn websockets warnings
1 parent 5084df9 commit 8b6c517

File tree

4 files changed

+34
-12
lines changed

4 files changed

+34
-12
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.2.0
1+
0.2.1

pyproject.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ dependencies = [
99
"backoff>=2.2.1",
1010
"click>=8.0.0",
1111
"datasets==3.6.0",
12-
"fastapi>=0.115.0",
12+
"fastapi>=0.121.0",
1313
"fastmcp>=2.12.5",
1414
"google-adk==1.5.0",
1515
"gradio==5.35.0",
@@ -24,7 +24,7 @@ dependencies = [
2424
"requests>=2.32.4",
2525
"rich>=14.0.0",
2626
"rogue-ai-sdk>=0.1.3",
27-
"uvicorn>=0.32.0",
27+
"uvicorn>=0.38.0",
2828
]
2929

3030
[dependency-groups]
@@ -70,4 +70,3 @@ rogue-ai-sdk = { path = "sdks/python", editable = true }
7070
[project.scripts]
7171
rogue-ai = "rogue.__main__:main"
7272
rogue-ai-example-tshirt = "examples.tshirt_store_agent.__main__:main"
73-

rogue/__main__.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
import subprocess # nosec: B404
33
import sys
44
import time
5+
import warnings
56
from argparse import ArgumentParser, Namespace
67
from pathlib import Path
78

@@ -18,6 +19,18 @@
1819
from .run_tui import run_rogue_tui
1920
from .run_ui import run_ui, set_ui_args
2021

22+
# Suppress the specific Uvicorn/websockets deprecation warnings
23+
warnings.filterwarnings(
24+
"ignore",
25+
category=DeprecationWarning,
26+
message="websockets.legacy is deprecated",
27+
)
28+
warnings.filterwarnings(
29+
"ignore",
30+
category=DeprecationWarning,
31+
message="websockets.server.WebSocketServerProtocol is deprecated",
32+
)
33+
2134
load_dotenv()
2235

2336

uv.lock

Lines changed: 18 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)