Skip to content

build(python): develop and test on Python 3.14.9, as Home Assistant's CI does - #334

Merged
cayossarian merged 1 commit into
prerelease/2.2from
build/python-3.14.9
Oct 24, 2026
Merged

cayossarian merged 1 commit into
prerelease/2.2from
build/python-3.14.9

Conversation

@cayossarian

Copy link
Copy Markdown
Member

Home Assistant core moved its CI and base image to Python 3.14.9 (home-assistant/core#188204). This integration's .python-version named 3.14.3, and uv honours it, so local environments and CI alike ran an interpreter six patch releases behind the one Home Assistant ships and tests on.

CI shows it. The CI run on prerelease/2.2 from 2026-10-24 set up CPython 3.14.8 through actions/setup-python, and then uv sync downloaded cpython-3.14.3 and ran every check on it.

Change

  • .python-version: 3.14.3 → 3.14.9.
  • requires-python stays >=3.14.3,<3.15. It is the floor this integration supports, not the interpreter it is developed on, and Home Assistant itself requires only 3.14.2.

Checks

  • With .python-version at 3.14.9, uv sync builds the environment on CPython 3.14.9. In it, every commit hook passes, the full suite among them: 2470 passed, 1 skipped, against the published span-panel-api 3.8.0b1, schema-0 1.3.0b1 and schema-1 1.4.0b2 this branch pins.
  • This PR's own CI run is the check that CI's uv sync now uses 3.14.9 too.

… CI does

Home Assistant core moved its CI and base image to Python 3.14.9 (#188204).
.python-version named 3.14.3, and uv honours it: CI sets up the newest 3.14,
then `uv sync` downloads 3.14.3 and runs every check on that, as local
environments do. Both ran an interpreter six patch releases behind the one
Home Assistant ships and tests on. It now names 3.14.9.

requires-python stays >=3.14.3,<3.15: it is the floor this integration
supports, not the interpreter it is developed on, and Home Assistant itself
requires only 3.14.2.
@cayossarian
cayossarian merged commit b4eb859 into prerelease/2.2 Oct 24, 2026
7 checks passed
@cayossarian
cayossarian deleted the build/python-3.14.9 branch October 24, 2026 19:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant