Skip to content

Align supported Python versions to 3.13/3.14 across packaging and CI#220

Open
Copilot wants to merge 4 commits into
mainfrom
copilot/update-workflow-for-home-assistant
Open

Align supported Python versions to 3.13/3.14 across packaging and CI#220
Copilot wants to merge 4 commits into
mainfrom
copilot/update-workflow-for-home-assistant

Conversation

Copy link
Copy Markdown

Copilot AI commented May 27, 2026

This updates the project’s declared Python support to 3.13 and 3.14 so packaging constraints and CI expectations are consistent. It removes the previous 3.14-only constraint mismatch.

  • Packaging metadata and tooling alignment

    • Set requires-python to >=3.13 in pyproject.toml
    • Updated Ruff target version to py313
    • Added Programming Language :: Python :: 3.13 classifier
    • Expanded tox environments from ["lint", "3.14"] to ["lint", "3.13", "3.14"]
    • Updated tox GitHub Actions mapping to include 3.13
  • CI coverage update

    • Expanded test workflow matrix to run on both Python 3.13 and 3.14
  • Dependency constraint adjustment

    • Lowered homeassistant dev pin in requirements_dev.txt from 2026.5.1 to 2026.2.3 to align with the updated Python support range
[project]
requires-python = ">=3.13"

[tool.tox]
env_list = ["lint", "3.13", "3.14"]

@timlaing timlaing marked this pull request as ready for review May 27, 2026 18:38
@timlaing timlaing requested a review from Copilot May 27, 2026 18:38
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Aligns the project’s declared and tested Python support to Python 3.13/3.14 so packaging metadata, lint/tooling configuration, tox settings, and CI coverage are consistent.

Changes:

  • Update packaging/tooling metadata to target Python 3.13+ (including requires-python, Ruff target, and classifiers).
  • Expand tox and CI test matrices to run on both Python 3.13 and 3.14.
  • Adjust Home Assistant dev tooling: lower the dev pin in requirements_dev.txt and refine the HA-dev workflow install/test classification behavior.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
requirements_dev.txt Lowers the pinned homeassistant dev dependency version to align with the supported Python range.
pyproject.toml Updates requires-python to >=3.13, sets Ruff target to py313, adds a 3.13 classifier, and expands tox envs + GH Actions tox mapping.
.github/workflows/tests.yml Expands the test workflow matrix to run on Python 3.13 and 3.14.
.github/workflows/home-assistant-dev.yml Updates HA-dev dependency installation flow and adds pytest outcome classification + conditional workflow failure for integration incompatibility.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

3 participants