Skip to content

Commit 07d97cc

Browse files
committed
Validate py314 compatibility
1 parent 12da803 commit 07d97cc

File tree

5 files changed

+14
-9
lines changed

5 files changed

+14
-9
lines changed

.github/workflows/merge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ name: Latest release
55

66
env:
77
CACHE_VERSION: 10
8-
DEFAULT_PYTHON: "3.13"
8+
DEFAULT_PYTHON: "3.14"
99

1010
# Only run on merges
1111
on:

.github/workflows/verify.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
name: Latest commit
55

66
env:
7-
CACHE_VERSION: 14
8-
DEFAULT_PYTHON: "3.13"
7+
CACHE_VERSION: 15
8+
DEFAULT_PYTHON: "3.14"
99
PRE_COMMIT_HOME: ~/.cache/pre-commit
1010
VENV: venv
1111

@@ -133,7 +133,7 @@ jobs:
133133
- commitcheck
134134
strategy:
135135
matrix:
136-
python-version: ["3.13"]
136+
python-version: ["3.14", "3.13"]
137137
steps:
138138
- name: Check out committed code
139139
uses: actions/checkout@v5
@@ -147,7 +147,7 @@ jobs:
147147
uses: plugwise/gh-actions/restore-venv@v1
148148
with:
149149
cache-key: ${{ needs.cache.outputs.cache-key }}
150-
python-version: ${{ steps.python.outputs.python-version }} # Force to installed python minor$
150+
python-version: ${{ steps.python.outputs.python-version }} # Force to installed python minor
151151
venv-dir: ${{ env.VENV }}
152152
precommit-home: ${{ env.PRE_COMMIT_HOME }}
153153
- name: Run all tests

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
default_language_version:
22
# force all unspecified python hooks to run python3
3-
python: python3.13
3+
python: python3.14
44

55
repos:
66
# Run manually in CI skipping the branch checks

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## Ongoing
4+
5+
- Test/validate for Python 3.14
6+
37
## v1.7.8
48

59
- Implement fixes related to the select-platform-data provided to the HA Core integrations, part of solving pw-beta issue [#897](https://github.com/plugwise/plugwise-beta/issues/897)

pyproject.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ classifiers = [
1313
"Development Status :: 5 - Production/Stable",
1414
"Intended Audience :: Developers",
1515
"Operating System :: OS Independent",
16+
"Programming Language :: Python :: 3.14",
1617
"Programming Language :: Python :: 3.13",
1718
"Topic :: Home Automation",
1819
]
@@ -56,7 +57,7 @@ include = ["plugwise*"]
5657
##
5758

5859
[tool.pylint.MAIN]
59-
py-version = "3.13"
60+
py-version = "3.14"
6061
# Use a conservative default here; 2 should speed up most setups and not hurt
6162
# any too bad. Override on command line as appropriate.
6263
jobs = 2
@@ -391,7 +392,7 @@ max-line-length-suggestions = 72
391392

392393

393394
[tool.mypy]
394-
python_version = "3.13"
395+
python_version = "3.14"
395396
show_error_codes = true
396397
follow_imports = "silent"
397398
ignore_missing_imports = true
@@ -421,7 +422,7 @@ omit= [
421422
]
422423

423424
[tool.ruff]
424-
target-version = "py313"
425+
target-version = "py314"
425426

426427
lint.select = [
427428
"B002", # Python does not support the unary prefix increment

0 commit comments

Comments
 (0)