diff --git a/VERSION b/VERSION index 0ea3a944..0c62199f 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.2.0 +0.2.1 diff --git a/pyproject.toml b/pyproject.toml index 25a3be97..9b1bcdb8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,7 +9,7 @@ dependencies = [ "backoff>=2.2.1", "click>=8.0.0", "datasets==3.6.0", - "fastapi>=0.115.0", + "fastapi>=0.121.0", "fastmcp>=2.12.5", "google-adk==1.5.0", "gradio==5.35.0", @@ -24,7 +24,7 @@ dependencies = [ "requests>=2.32.4", "rich>=14.0.0", "rogue-ai-sdk>=0.1.3", - "uvicorn>=0.32.0", + "uvicorn>=0.38.0", ] [dependency-groups] @@ -70,4 +70,3 @@ rogue-ai-sdk = { path = "sdks/python", editable = true } [project.scripts] rogue-ai = "rogue.__main__:main" rogue-ai-example-tshirt = "examples.tshirt_store_agent.__main__:main" - diff --git a/rogue/__main__.py b/rogue/__main__.py index 490b42d0..03e7fabe 100644 --- a/rogue/__main__.py +++ b/rogue/__main__.py @@ -2,6 +2,7 @@ import subprocess # nosec: B404 import sys import time +import warnings from argparse import ArgumentParser, Namespace from pathlib import Path @@ -18,6 +19,18 @@ from .run_tui import run_rogue_tui from .run_ui import run_ui, set_ui_args +# Suppress the specific Uvicorn/websockets deprecation warnings +warnings.filterwarnings( + "ignore", + category=DeprecationWarning, + message="websockets.legacy is deprecated", +) +warnings.filterwarnings( + "ignore", + category=DeprecationWarning, + message="websockets.server.WebSocketServerProtocol is deprecated", +) + load_dotenv() diff --git a/uv.lock b/uv.lock index 5db1dd28..c18a5963 100644 --- a/uv.lock +++ b/uv.lock @@ -197,6 +197,15 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/fb/76/641ae371508676492379f16e2fa48f4e2c11741bd63c48be4b12a6b09cba/aiosignal-1.4.0-py3-none-any.whl", hash = "sha256:053243f8b92b990551949e63930a839ff0cf0b0ebbe0597b0f3fb19e1a0fe82e", size = 7490, upload-time = "2025-07-03T22:54:42.156Z" }, ] +[[package]] +name = "annotated-doc" +version = "0.0.3" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/d7/a6/dc46877b911e40c00d395771ea710d5e77b6de7bacd5fdcd78d70cc5a48f/annotated_doc-0.0.3.tar.gz", hash = "sha256:e18370014c70187422c33e945053ff4c286f453a984eba84d0dbfa0c935adeda", size = 5535, upload-time = "2025-10-24T14:57:10.718Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/02/b7/cf592cb5de5cb3bade3357f8d2cf42bf103bbe39f459824b4939fd212911/annotated_doc-0.0.3-py3-none-any.whl", hash = "sha256:348ec6664a76f1fd3be81f43dffbee4c7e8ce931ba71ec67cc7f4ade7fbbb580", size = 5488, upload-time = "2025-10-24T14:57:09.462Z" }, +] + [[package]] name = "annotated-types" version = "0.7.0" @@ -868,16 +877,17 @@ wheels = [ [[package]] name = "fastapi" -version = "0.119.0" +version = "0.121.0" source = { registry = "https://pypi.org/simple" } dependencies = [ + { name = "annotated-doc" }, { name = "pydantic" }, { name = "starlette" }, { name = "typing-extensions" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/0a/f9/5c5bcce82a7997cc0eb8c47b7800f862f6b56adc40486ed246e5010d443b/fastapi-0.119.0.tar.gz", hash = "sha256:451082403a2c1f0b99c6bd57c09110ed5463856804c8078d38e5a1f1035dbbb7", size = 336756, upload-time = "2025-10-11T17:13:40.53Z" } +sdist = { url = "https://files.pythonhosted.org/packages/8c/e3/77a2df0946703973b9905fd0cde6172c15e0781984320123b4f5079e7113/fastapi-0.121.0.tar.gz", hash = "sha256:06663356a0b1ee93e875bbf05a31fb22314f5bed455afaaad2b2dad7f26e98fa", size = 342412, upload-time = "2025-11-03T10:25:54.818Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/ce/70/584c4d7cad80f5e833715c0a29962d7c93b4d18eed522a02981a6d1b6ee5/fastapi-0.119.0-py3-none-any.whl", hash = "sha256:90a2e49ed19515320abb864df570dd766be0662c5d577688f1600170f7f73cf2", size = 107095, upload-time = "2025-10-11T17:13:39.048Z" }, + { url = "https://files.pythonhosted.org/packages/dd/2c/42277afc1ba1a18f8358561eee40785d27becab8f80a1f945c0a3051c6eb/fastapi-0.121.0-py3-none-any.whl", hash = "sha256:8bdf1b15a55f4e4b0d6201033da9109ea15632cb76cf156e7b8b4019f2172106", size = 109183, upload-time = "2025-11-03T10:25:53.27Z" }, ] [[package]] @@ -4187,7 +4197,7 @@ requires-dist = [ { name = "backoff", specifier = ">=2.2.1" }, { name = "click", specifier = ">=8.0.0" }, { name = "datasets", specifier = "==3.6.0" }, - { name = "fastapi", specifier = ">=0.115.0" }, + { name = "fastapi", specifier = ">=0.121.0" }, { name = "fastmcp", specifier = ">=2.12.5" }, { name = "google-adk", specifier = "==1.5.0" }, { name = "gradio", specifier = "==5.35.0" }, @@ -4202,7 +4212,7 @@ requires-dist = [ { name = "requests", specifier = ">=2.32.4" }, { name = "rich", specifier = ">=14.0.0" }, { name = "rogue-ai-sdk", editable = "sdks/python" }, - { name = "uvicorn", specifier = ">=0.32.0" }, + { name = "uvicorn", specifier = ">=0.38.0" }, ] [package.metadata.requires-dev] @@ -4960,16 +4970,16 @@ wheels = [ [[package]] name = "uvicorn" -version = "0.37.0" +version = "0.38.0" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "click" }, { name = "h11" }, { name = "typing-extensions", marker = "python_full_version < '3.11'" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/71/57/1616c8274c3442d802621abf5deb230771c7a0fec9414cb6763900eb3868/uvicorn-0.37.0.tar.gz", hash = "sha256:4115c8add6d3fd536c8ee77f0e14a7fd2ebba939fed9b02583a97f80648f9e13", size = 80367, upload-time = "2025-09-23T13:33:47.486Z" } +sdist = { url = "https://files.pythonhosted.org/packages/cb/ce/f06b84e2697fef4688ca63bdb2fdf113ca0a3be33f94488f2cadb690b0cf/uvicorn-0.38.0.tar.gz", hash = "sha256:fd97093bdd120a2609fc0d3afe931d4d4ad688b6e75f0f929fde1bc36fe0e91d", size = 80605, upload-time = "2025-10-18T13:46:44.63Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/85/cd/584a2ceb5532af99dd09e50919e3615ba99aa127e9850eafe5f31ddfdb9a/uvicorn-0.37.0-py3-none-any.whl", hash = "sha256:913b2b88672343739927ce381ff9e2ad62541f9f8289664fa1d1d3803fa2ce6c", size = 67976, upload-time = "2025-09-23T13:33:45.842Z" }, + { url = "https://files.pythonhosted.org/packages/ee/d9/d88e73ca598f4f6ff671fb5fde8a32925c2e08a637303a1d12883c7305fa/uvicorn-0.38.0-py3-none-any.whl", hash = "sha256:48c0afd214ceb59340075b4a052ea1ee91c16fbc2a9b1469cca0e54566977b02", size = 68109, upload-time = "2025-10-18T13:46:42.958Z" }, ] [[package]]