⬆️ Migrate test and CI environment to Python 3.13 #24
No reviewers
Labels
No labels
v1.0 · bloquant
v1.0 · majeur
v1.0 · mineur
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
mat/homeassistant-comwatt!24
Loading…
Reference in a new issue
No description provided.
Delete branch "test-env-py313"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The
pytest-homeassistant-custom-componentversions supporting Python 3.12 are stuck on HA 2025.1, which blocks upgradingcomwatt-client(0.2.4 pinsrequests>=2.32.4, only shipped by HA ≥ 2025.6).python3.12-nodejs20→python3.13-nodejs20(lint, pytest, mypy jobs)requirements-test.txt: pytest 9, phcc ≥ 0.13.316 (→ HA 2026.2.3)mypy.ini:python_version = 3.13— HA 2026 uses PEP 696 type parameter defaults, which mypy rejects when targeting 3.12Depends on #23 (based on
feat/c7-reauth): under HA 2026, raisingConfigEntryAuthFailedwithout a reauth step is a fatalUnknownSteperror in the coordinator test.Part 2/3 — followed by the comwatt-client 0.2.4 bump.