Skip to content

Commit fdebad1

Browse files
authored
Merge pull request #104 from CoMPaTech/py314
Start py314 compat
2 parents a27714c + a6dee86 commit fdebad1

File tree

4 files changed

+34
-5
lines changed

4 files changed

+34
-5
lines changed

.github/workflows/merge.yml

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

33
env:
44
CACHE_VERSION: 1
5-
DEFAULT_PYTHON: "3.13"
5+
DEFAULT_PYTHON: "3.14"
66

77
on:
88
pull_request:

.github/workflows/verify.yml

Lines changed: 30 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Latest commit
22

33
env:
44
CACHE_VERSION: 1
5-
DEFAULT_PYTHON: "3.13"
5+
DEFAULT_PYTHON: "3.14"
66
PRE_COMMIT_HOME: ~/.cache/pre-commit
77
VENV: venv
88

@@ -32,6 +32,10 @@ jobs:
3232
uses: actions/checkout@v5
3333
with:
3434
persist-credentials: false
35+
- name: Use python
36+
uses: actions/setup-python@v6
37+
with:
38+
python-version: ${{ env.DEFAULT_PYTHON }}
3539
- name: Prepare python
3640
run: |
3741
pip install uv
@@ -62,6 +66,10 @@ jobs:
6266
steps:
6367
- name: Check out committed code
6468
uses: actions/checkout@v5
69+
- name: Use python
70+
uses: actions/setup-python@v6
71+
with:
72+
python-version: ${{ env.DEFAULT_PYTHON }}
6573
- name: Prepare python
6674
run: |
6775
pip install uv
@@ -83,10 +91,14 @@ jobs:
8391
- commitcheck
8492
strategy:
8593
matrix:
86-
python-version: ["3.13"]
94+
python-version: ["3.13", "3.14"]
8795
steps:
8896
- name: Check out committed code
8997
uses: actions/checkout@v5
98+
- name: Use python ${{matrix.python-version}}
99+
uses: actions/setup-python@v6
100+
with:
101+
python-version: ${{matrix.python-version}}
90102
- name: Prepare python
91103
run: |
92104
pip install uv
@@ -116,6 +128,10 @@ jobs:
116128
uses: actions/checkout@v5
117129
with:
118130
persist-credentials: false
131+
- name: Use python
132+
uses: actions/setup-python@v6
133+
with:
134+
python-version: ${{ env.DEFAULT_PYTHON }}
119135
- name: Prepare python
120136
run: |
121137
pip install uv
@@ -138,6 +154,10 @@ jobs:
138154
steps:
139155
- name: Check out committed code
140156
uses: actions/checkout@v5
157+
- name: Use python
158+
uses: actions/setup-python@v6
159+
with:
160+
python-version: ${{ env.DEFAULT_PYTHON }}
141161
- name: Prepare python
142162
run: |
143163
pip install uv
@@ -174,6 +194,10 @@ jobs:
174194
steps:
175195
- name: Check out committed code
176196
uses: actions/checkout@v5
197+
- name: Use python
198+
uses: actions/setup-python@v6
199+
with:
200+
python-version: ${{ env.DEFAULT_PYTHON }}
177201
- name: Prepare python
178202
run: |
179203
pip install uv
@@ -215,6 +239,10 @@ jobs:
215239
steps:
216240
- name: Check out committed code
217241
uses: actions/checkout@v5
242+
- name: Use python
243+
uses: actions/setup-python@v6
244+
with:
245+
python-version: ${{ env.DEFAULT_PYTHON }}
218246
- name: Prepare python
219247
run: |
220248
pip install uv

.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

pyproject.toml

Lines changed: 2 additions & 1 deletion
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
]
@@ -39,7 +40,7 @@ include-package-data = true
3940
include = ["airos*"]
4041

4142
[tool.pylint.MAIN]
42-
py-version = "3.13"
43+
py-version = "3.14"
4344
# Use a conservative default here; 2 should speed up most setups and not hurt
4445
# any too bad. Override on command line as appropriate.
4546
jobs = 2

0 commit comments

Comments
 (0)