Files
FabledSteward/pyproject.toml
T
bvandeusenandClaude Opus 5.5 f7a856cb90
CI / lint (push) Successful in 2s
CI / unit (push) Successful in 1m37s
CI / integration (push) Failing after 1m54s
CI / publish (push) Skipped
feat(homeassistant): it shows system problems and installs updates on a weekly slot, and leaves device readings alone (#6748, #6749, #6747)
The connection's job is keeping Home Assistant running. Each poll now reads open
repairs, Supervisor health, disk, recovery mode and add-ons that should be running
over its websocket, for the page, the overview and the problems_open, disk_free_pct
and update_failed metrics. That needs a websocket client, so websockets joins the
dependencies.

A weekly slot, set on the page or through MCP and off until then, installs add-ons,
then Core, then the OS, each after its own confirmed backup, ending at the first
failure. The slot arithmetic moves from the host agent's cadence to steward.core.weekly
so both share it.

The device scrape goes: the page's Metrics section and a target's token_from from
4c9ed02 are removed, and a migration deletes targets using it, as they'd otherwise ask
with no token. A refused token still stops a scrape.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 14:16:42 -05:00

60 lines
1.5 KiB
TOML

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "steward"
version = "0.1.0"
requires-python = ">=3.11"
dependencies = [
"quart>=0.19",
"sqlalchemy[asyncio]>=2.0",
"asyncpg>=0.29",
"alembic>=1.13",
"bcrypt>=4.1",
"python-dotenv>=1.0",
"pyyaml>=6.0",
"packaging>=24.0",
"click>=8.0",
"httpx>=0.27",
# Floor: websockets.asyncio.client first ships in 13.
"websockets>=13",
"cryptography>=42",
# Floor, not a cap: MCPServer (mcp.server.mcpserver) and the mcp.types
# mirror that steward/mcp/ is written against first ship in SDK 2.2.
"mcp>=2.2",
]
[project.optional-dependencies]
ldap = [
"ldap3>=2.9",
]
snmp = [
# The maintained pysnmp (lextudio's lineage, which took over the name).
# Floor 7.1: below 7 that name is the abandoned 4.x line, which has no
# asyncio API (#5470; the poller uses pysnmp.hlapi.v3arch.asyncio).
"pysnmp>=7.1",
]
# Batteries-included Ansible (bundles the common community collections) for the
# playbook runner. Installed into the image via Dockerfile `pip install .[ansible]`.
ansible = [
"ansible>=10,<13",
]
dev = [
"pytest>=8.0",
"pytest-asyncio>=0.23",
]
[project.scripts]
steward = "steward.cli:main"
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
markers = [
"integration: requires a live Postgres; runs only in the integration CI lane",
]
[tool.hatch.build.targets.wheel]
packages = ["steward"]