Repository navigation
build(python): develop and test on Python 3.14.9, as Home Assistant's CI does - #334
Merged
Merged
Conversation
… 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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Home Assistant core moved its CI and base image to Python 3.14.9 (home-assistant/core#188204). This integration's
.python-versionnamed 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.2from 2026-10-24 set up CPython 3.14.8 throughactions/setup-python, and thenuv syncdownloadedcpython-3.14.3and ran every check on it.Change
.python-version: 3.14.3 → 3.14.9.requires-pythonstays>=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
.python-versionat 3.14.9,uv syncbuilds 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.uv syncnow uses 3.14.9 too.