Skip to content

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

Merged
timlaing merged 7 commits into
mainfrom
copilot/update-workflow-for-home-assistant
Jun 30, 2026
Merged

Align supported Python versions to 3.14 only across packaging and CI#220
timlaing merged 7 commits into
mainfrom
copilot/update-workflow-for-home-assistant

Conversation

Copilot AI commented May 27, 2026

Copy link
Copy Markdown
Contributor

This updates the project's declared Python support to 3.14 only, removing Python 3.13 which is no longer supported by Home Assistant. Packaging constraints and CI expectations are now consistently targeting Python 3.14.

  • Packaging metadata and tooling alignment

    • Set requires-python to >=3.14 in pyproject.toml
    • Updated Ruff target version to py314
    • Removed Programming Language :: Python :: 3.13 classifier, keeping only 3.14
    • Tox environments set to ["lint", "3.14"]
    • Tox GitHub Actions mapping targets 3.14 only
  • CI coverage update

    • Test workflow matrix runs on Python 3.14 only
  • Dependency constraint adjustment

    • Restored homeassistant dev pin in requirements_dev.txt to 2026.5.1
[project]
requires-python = ">=3.14"

[tool.tox]
env_list = ["lint", "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

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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.

@timlaing

Copy link
Copy Markdown
Owner

@copilot Please remove the support for python 3.13 as this is no longer supported by home assistant.

Copilot AI commented Jun 14, 2026

Copy link
Copy Markdown
Contributor Author

@copilot Please remove the support for python 3.13 as this is no longer supported by home assistant.

Done. Removed all Python 3.13 references in commit Remove Python 3.13 support, align to Python 3.14 only:

  • pyproject.toml: requires-python>=3.14, Ruff target → py314, removed 3.13 classifier, tox env_list and gh-actions mapping updated
  • .github/workflows/tests.yml: removed "3.13" from the test matrix
  • requirements_dev.txt: reverted homeassistant pin back to 2026.5.1

Copilot AI changed the title Align supported Python versions to 3.13/3.14 across packaging and CI Align supported Python versions to 3.14 only across packaging and CI Jun 14, 2026
Copilot AI requested a review from timlaing June 14, 2026 12:16
@timlaing timlaing merged commit f2f555a into main Jun 30, 2026
9 of 14 checks passed
@timlaing timlaing deleted the copilot/update-workflow-for-home-assistant branch June 30, 2026 19:47
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