Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 11 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ dependencies = [
# core ships its own Pillow; the manifest carries a range so we don't
# fight HA's pin. See `scripts/sync_manifest_requirements.py`
# MANIFEST_OVERRIDES and CLAUDE.md for the rationale.
"Pillow==12.2.0",
"Pillow==12.3.0",
"qrcode==8.2",
"python-barcode==0.16.1",
"pyusb==1.3.1",
Expand All @@ -25,13 +25,20 @@ dependencies = [
# serial_for_url() transparently dispatches to native device paths
# (/dev/ttyUSB0), esphome://, rfc2217://, and socket:// — enabling
# ESPHome serial-proxy connections without adapter changes.
# Pinned to match pytest-homeassistant-custom-component==0.13.348
# (HA 2026.7.4 → package_constraints.txt: serialx==1.8.2). Keeps CI on
# Pinned to match pytest-homeassistant-custom-component==0.13.349
# (HA 2026.8.0b0 → package_constraints.txt: serialx==1.8.2). Keeps CI on
# the version most users actually get. manifest.json carries >=1.7.0,<2
# — see MANIFEST_OVERRIDES in scripts/sync_manifest_requirements.py.
"serialx==1.8.2",
]

[tool.uv]
# pytest-homeassistant-custom-component==0.13.349 pins homeassistant==2026.8.0b0
# (a pre-release), which uv rejects by default for transitive deps. Safe here
# because every direct dep is exact-pinned. Remove once the harness tracks a
# stable HA release again.
prerelease = "allow"

[build-system]
requires = ["setuptools>=68", "wheel"]
build-backend = "setuptools.build_meta"
Expand All @@ -49,7 +56,7 @@ include = ["custom_components*", "scripts*"]
# `[dependency-groups]` is intentionally NOT used to avoid drift.
dev = [
"pytest==9.0.3",
"pytest-homeassistant-custom-component==0.13.348",
"pytest-homeassistant-custom-component==0.13.349",
"mypy==2.3.0",
"ruff==0.15.22",
"pre-commit==4.6.0",
Expand Down
Loading