fix(deps): promote websockets to a runtime dependency
`websockets` is used by `ria_toolkit_oss.agent.ws_client`, which is imported as part of `ria-agent stream`. It was only declared in the optional `[tool.poetry.group.agent]` poetry group, so a vanilla `pip install ria-toolkit-oss` left `ria-agent stream` failing with `ModuleNotFoundError: No module named 'websockets'`. Moved into PEP 621 `[project].dependencies` with the same constraint (`>=12.0,<14.0`). The duplicate in the optional poetry group is left in place so `poetry install --with agent` remains self-sufficient. poetry.lock: `websockets` now joins the `main` dependency group; the generator-header bump (2.1.4 → 2.3.4) and the `jsonschema-specifications` version-string normalization are auto-regenerated noise from the locally-installed poetry version. Note: `requests` has the same packaging gap (used by the legacy agent path, declared only in the optional `agent` group); leaving that for a follow-up since the immediate complaint is websockets. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
5b7f487a5f
commit
d38276a533
|
|
@ -6,6 +6,10 @@
|
|||
|
||||
- **`ria-agent register --hub` now defaults to `https://riahub.ai`** — most users can run `ria-agent register --api-key ria_reg_...` without the `--hub` flag. Dev and self-hosted users keep the existing override (`--hub http://my-hub:3005`). The default lives in `ria_toolkit_oss.agent.cli.DEFAULT_HUB_URL`.
|
||||
|
||||
### Fixed
|
||||
|
||||
- **`websockets` is now a runtime dependency** — previously declared only in the optional `agent` poetry group, so a vanilla `pip install ria-toolkit-oss` left `ria-agent stream` failing with `ModuleNotFoundError: No module named 'websockets'`. Added to `[project].dependencies` with the same constraint (`>=12.0,<14.0`).
|
||||
|
||||
---
|
||||
|
||||
## [0.1.7] - 2026-05-26
|
||||
|
|
|
|||
8
poetry.lock
generated
8
poetry.lock
generated
|
|
@ -1,4 +1,4 @@
|
|||
# This file is automatically @generated by Poetry 2.1.4 and should not be changed by hand.
|
||||
# This file is automatically @generated by Poetry 2.3.4 and should not be changed by hand.
|
||||
|
||||
[[package]]
|
||||
name = "alabaster"
|
||||
|
|
@ -1264,7 +1264,7 @@ files = [
|
|||
|
||||
[package.dependencies]
|
||||
attrs = ">=22.2.0"
|
||||
jsonschema-specifications = ">=2023.03.6"
|
||||
jsonschema-specifications = ">=2023.3.6"
|
||||
referencing = ">=0.28.4"
|
||||
rpds-py = ">=0.25.0"
|
||||
|
||||
|
|
@ -3613,7 +3613,7 @@ version = "13.1"
|
|||
description = "An implementation of the WebSocket Protocol (RFC 6455 & 7692)"
|
||||
optional = false
|
||||
python-versions = ">=3.8"
|
||||
groups = ["agent", "docs", "server", "test"]
|
||||
groups = ["main", "agent", "docs", "server", "test"]
|
||||
files = [
|
||||
{file = "websockets-13.1-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:f48c749857f8fb598fb890a75f540e3221d0976ed0bf879cf3c7eef34151acee"},
|
||||
{file = "websockets-13.1-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:c7e72ce6bda6fb9409cc1e8164dd41d7c91466fb599eb047cfda72fe758a34a7"},
|
||||
|
|
@ -3706,4 +3706,4 @@ files = [
|
|||
[metadata]
|
||||
lock-version = "2.1"
|
||||
python-versions = ">=3.10"
|
||||
content-hash = "66c9adf647316db90f963da05e8a83574378bfa4db2c69ce751446b5ee7c408c"
|
||||
content-hash = "17b45f12030cda8eabd0ecd10d51c98e5fa7d9b342952c1c4924b7425800cd0f"
|
||||
|
|
|
|||
|
|
@ -50,7 +50,8 @@ dependencies = [
|
|||
"pyyaml (>=6.0.3,<7.0.0)",
|
||||
"click (>=8.1.0,<9.0.0)",
|
||||
"matplotlib (>=3.8.0,<4.0.0)",
|
||||
"paramiko (>=3.5.1)"
|
||||
"paramiko (>=3.5.1)",
|
||||
"websockets (>=12.0,<14.0)"
|
||||
]
|
||||
|
||||
# [project.optional-dependencies] Commented out to prevent Tox tests from failing
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user