Skip to content

Commit 9855e68

Browse files
CoMPaTechbouwew
authored andcommitted
Prepare Python 3.11
1 parent 50f92cd commit 9855e68

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

.github/workflows/verify.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ jobs:
160160
needs: commitcheck
161161
strategy:
162162
matrix:
163-
python-version: [3.9, "3.10"]
163+
python-version: [3.9, "3.10", "3.11"]
164164
steps:
165165
- name: Check out committed code
166166
uses: actions/checkout@v3
@@ -199,7 +199,7 @@ jobs:
199199
needs: prepare-test-cache
200200
strategy:
201201
matrix:
202-
python-version: [3.9, "3.10"]
202+
python-version: [3.9, "3.10", "3.11"]
203203

204204
steps:
205205
- name: Check out committed code

pyproject.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ classifiers = [
1616
"Operating System :: OS Independent",
1717
"Programming Language :: Python :: 3.9",
1818
"Programming Language :: Python :: 3.10",
19+
"Programming Language :: Python :: 3.11",
1920
"Topic :: Home Automation",
2021
]
2122
authors = [
@@ -50,7 +51,7 @@ include-package-data = true
5051
include = ["plugwise*"]
5152

5253
[tool.black]
53-
target-version = ["py39", "py310"]
54+
target-version = ["py39", "py310", "py311"]
5455
exclude = 'generated'
5556

5657
[tool.isort]
@@ -187,7 +188,7 @@ norecursedirs = [
187188
]
188189

189190
[tool.mypy]
190-
python_version = "3.10"
191+
python_version = "3.11"
191192
show_error_codes = true
192193
follow_imports = "silent"
193194
ignore_missing_imports = true

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

0 commit comments

Comments
 (0)