Skip to content

Commit c90ce50

Browse files
authored
Add Python 3.14 to CI and drop Python 3.12 (#281)
* Add Python 3.14 to CI and drop Python 3.12 * Ignore deprecated asyncio.iscoroutinefunction in aioresponses
1 parent 8f252bd commit c90ce50

3 files changed

Lines changed: 9 additions & 8 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
workflow_dispatch:
1111

1212
env:
13-
DEFAULT_PYTHON: "3.13"
13+
DEFAULT_PYTHON: "3.14"
1414
PRE_COMMIT_CACHE: ~/.cache/pre-commit
1515

1616
concurrency:
@@ -24,7 +24,7 @@ jobs:
2424
runs-on: ubuntu-latest
2525
strategy:
2626
matrix:
27-
python-version: ["3.12", "3.13"]
27+
python-version: ["3.13", "3.14"]
2828
outputs:
2929
python-version: ${{ matrix.python-version }}
3030
name: Prepare Python ${{ matrix.python-version }} dependencies
@@ -74,7 +74,7 @@ jobs:
7474
needs: prepare
7575
strategy:
7676
matrix:
77-
python-version: ["3.12", "3.13"]
77+
python-version: ["3.13", "3.14"]
7878
steps:
7979
- name: Check out code from GitHub
8080
uses: actions/checkout@v6.0.2
@@ -123,7 +123,7 @@ jobs:
123123
needs: prepare
124124
strategy:
125125
matrix:
126-
python-version: ["3.12", "3.13"]
126+
python-version: ["3.13", "3.14"]
127127
steps:
128128
- name: Check out code from GitHub
129129
uses: actions/checkout@v6.0.2
@@ -172,7 +172,7 @@ jobs:
172172
needs: prepare
173173
strategy:
174174
matrix:
175-
python-version: ["3.12", "3.13"]
175+
python-version: ["3.13", "3.14"]
176176
steps:
177177
- name: Check out code from GitHub
178178
uses: actions/checkout@v6.0.2
@@ -263,7 +263,7 @@ jobs:
263263
needs: prepare
264264
strategy:
265265
matrix:
266-
python-version: ["3.12", "3.13"]
266+
python-version: ["3.13", "3.14"]
267267
name: Run tests Python ${{ matrix.python-version }}
268268
steps:
269269
- name: Check out code from GitHub

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
description: "Version for release on TestPyPI"
1212
required: true
1313
env:
14-
PYTHON_VERSION: "3.12"
14+
PYTHON_VERSION: "3.14"
1515

1616
jobs:
1717
build:

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ authors = [
1111
{ name = "The Home Assistant Authors", email = "hello@home-assistant.io" },
1212
]
1313
keywords = ["docker", "home-assistant", "api", "client-library"]
14-
requires-python = ">=3.12.0"
14+
requires-python = ">=3.13.0"
1515
dependencies = [
1616
"aiohttp>=3.3.0,<4.0.0",
1717
"mashumaro>=3.11,<4.0",
@@ -70,6 +70,7 @@ filterwarnings = [
7070
"error",
7171
"ignore:pkg_resources is deprecated as an API:DeprecationWarning:dirhash",
7272
"ignore::pytest.PytestUnraisableExceptionWarning",
73+
"ignore:'asyncio.iscoroutinefunction' is deprecated:DeprecationWarning:aioresponses",
7374
]
7475

7576
[tool.ruff]

0 commit comments

Comments
 (0)