Skip to content

Commit 8967e51

Browse files
authored
Merge pull request #656 from plugwise/py313
Bump python to 3.13 following core 2024.12
2 parents e4c2b9c + 4747901 commit 8967e51

File tree

6 files changed

+16
-11
lines changed

6 files changed

+16
-11
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.12"
8+
DEFAULT_PYTHON: "3.13"
99

1010
# Only run on merges
1111
on:

.github/workflows/verify.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ name: Latest commit
55

66
env:
77
CACHE_VERSION: 11
8-
DEFAULT_PYTHON: "3.12"
8+
DEFAULT_PYTHON: "3.13"
99
PRE_COMMIT_HOME: ~/.cache/pre-commit
1010

1111
on:
@@ -173,7 +173,7 @@ jobs:
173173
needs: commitcheck
174174
strategy:
175175
matrix:
176-
python-version: ["3.12"]
176+
python-version: ["3.13", "3.12"]
177177
steps:
178178
- name: Check out committed code
179179
uses: actions/checkout@v4
@@ -213,7 +213,7 @@ jobs:
213213
needs: prepare-test-cache
214214
strategy:
215215
matrix:
216-
python-version: ["3.12"]
216+
python-version: ["3.13", "3.12"]
217217

218218
steps:
219219
- name: Check out committed code

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ci:
66

77
default_language_version:
88
# force all unspecified python hooks to run python3
9-
python: python3.12
9+
python: python3.13
1010

1111
repos:
1212
# 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+
## v1.6.1
4+
5+
- Support python 3.13
6+
37
## v1.6.0
48

59
- New Feature: implement collection of location/zone data: Plugwise Adam thermostat representations are zone-based instead of device-based.

pyproject.toml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "plugwise"
7-
version = "1.6.0"
7+
version = "1.6.1"
88
license = {file = "LICENSE"}
99
description = "Plugwise Smile (Adam/Anna/P1) and Stretch module for Python 3."
1010
readme = "README.md"
@@ -15,6 +15,7 @@ classifiers = [
1515
"License :: OSI Approved :: MIT License",
1616
"Operating System :: OS Independent",
1717
"Programming Language :: Python :: 3.12",
18+
"Programming Language :: Python :: 3.13",
1819
"Topic :: Home Automation",
1920
]
2021
authors = [
@@ -24,7 +25,7 @@ maintainers = [
2425
{ name = "bouwew"},
2526
{ name = "CoMPaTech" }
2627
]
27-
requires-python = ">=3.11.0"
28+
requires-python = ">=3.12.0"
2829
dependencies = [
2930
"aiohttp",
3031
"defusedxml",
@@ -47,7 +48,7 @@ include-package-data = true
4748
include = ["plugwise*"]
4849

4950
[tool.black]
50-
target-version = ["py312"]
51+
target-version = ["py313"]
5152
exclude = 'generated'
5253

5354
[tool.isort]
@@ -185,7 +186,7 @@ norecursedirs = [
185186
]
186187

187188
[tool.mypy]
188-
python_version = "3.12"
189+
python_version = "3.13"
189190
show_error_codes = true
190191
follow_imports = "silent"
191192
ignore_missing_imports = true
@@ -215,7 +216,7 @@ omit= [
215216
]
216217

217218
[tool.ruff]
218-
target-version = "py312"
219+
target-version = "py313"
219220

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

scripts/python-venv.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env bash
22
set -eu
33

4-
pyversions=(3.12)
4+
pyversions=(3.13 3.12)
55
my_path=$(git rev-parse --show-toplevel)
66
my_venv=${my_path}/venv
77

0 commit comments

Comments
 (0)