Skip to content

Commit a446667

Browse files
authored
Merge pull request #427 from plugwise/py_3_12
Support python 3.12
2 parents 44ee74e + 81b881f commit a446667

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

.github/workflows/verify.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ jobs:
167167
needs: commitcheck
168168
strategy:
169169
matrix:
170-
python-version: ["3.11", "3.10"]
170+
python-version: ["3.12", "3.11", "3.10"]
171171
steps:
172172
- name: Check out committed code
173173
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4
@@ -206,7 +206,7 @@ jobs:
206206
needs: prepare-test-cache
207207
strategy:
208208
matrix:
209-
python-version: ["3.11", "3.10"]
209+
python-version: ["3.12", "3.11", "3.10"]
210210

211211
steps:
212212
- name: Check out committed code

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
## Ongoing
44

55
- Add item-count to output
6+
- Support python 3.12
67

78
## v0.33.1 Bugfix for Adam
89

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ classifiers = [
1616
"Operating System :: OS Independent",
1717
"Programming Language :: Python :: 3.10",
1818
"Programming Language :: Python :: 3.11",
19+
"Programming Language :: Python :: 3.12",
1920
"Topic :: Home Automation",
2021
]
2122
authors = [
@@ -52,7 +53,7 @@ include-package-data = true
5253
include = ["plugwise*"]
5354

5455
[tool.black]
55-
target-version = ["py39", "py310", "py311"]
56+
target-version = ["py310", "py311", "py312"]
5657
exclude = 'generated'
5758

5859
[tool.isort]

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.11 3.10)
4+
pyversions=(3.12 3.11 3.10)
55
my_path=$(git rev-parse --show-toplevel)
66
my_venv=${my_path}/venv
77

0 commit comments

Comments
 (0)