Skip to content

Get test Python version from the HA Core repo.#1424

Open
ademuri wants to merge 4 commits intobasnijholt:mainfrom
ademuri:python-version
Open

Get test Python version from the HA Core repo.#1424
ademuri wants to merge 4 commits intobasnijholt:mainfrom
ademuri:python-version

Conversation

@ademuri
Copy link
Contributor

@ademuri ademuri commented Feb 14, 2026

This changes the update-test-matrix.py script to fetch the required Python version for a given HA Core version by fetching the pyproject.toml for that version. It updates the test matrix with the updated script. It also updates the Python version used for building the Docker image and devcontainer to 3.14, since that's the version now required by HA Core.

This fixes a CI breakage I saw on a draft pull request:

+ uv pip install -e core/
  × No solution found when resolving dependencies:
  ╰─▶ Because the current Python version (3.13.12) does not satisfy
      Python>=3.14.2 and homeassistant==2026.3.0.dev0 depends on
      Python>=3.14.2, we can conclude that homeassistant==2026.3.0.dev0 cannot
      be used.
      And because only homeassistant==2026.3.0.dev0 is available and you
      require homeassistant, we can conclude that your requirements are
      unsatisfiable.

ademuri and others added 4 commits February 13, 2026 22:39
This changes the update-test-matrix.py script to fetch the required
Python version for a given HA Core version by fetching the
`pyproject.toml` for that version. It also update the test matrix with
the updated script.
3.14 is required for the `dev` version of Home Assistant.
@ademuri ademuri marked this pull request as ready for review February 14, 2026 06:19
@ademuri ademuri requested a review from basnijholt as a code owner February 14, 2026 06:19
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