Skip to content

Commit 603984b

Browse files
authored
Python 3.12 support (#3)
* Set minimum Python version as 3.12 * Run tests on 3.12 as well
1 parent 0a974be commit 603984b

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

.github/workflows/testing.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,19 @@ env:
1414
jobs:
1515
pytest:
1616
runs-on: ubuntu-latest
17+
strategy:
18+
matrix:
19+
python: ["3.12", "3.13"]
1720
steps:
1821
- name: Check out code
1922
uses: actions/checkout@v4
2023
- name: Set up Poetry
2124
run: pipx install poetry
22-
- name: Set up Python
25+
- name: Set up Python ${{ matrix.python }}
2326
id: python
2427
uses: actions/setup-python@v5
2528
with:
26-
python-version: ${{ env.DEFAULT_PYTHON }}
29+
python-version: ${{ matrix.python }}
2730
cache: "poetry"
2831
- name: Install dependencies
2932
run: poetry install --no-interaction

poetry.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,13 @@ classifiers = [
1111
"Framework :: AsyncIO",
1212
"Intended Audience :: Developers",
1313
"Natural Language :: English",
14+
"Programming Language :: Python :: 3.12",
1415
"Programming Language :: Python :: 3.13",
1516
"Programming Language :: Python :: 3",
1617
]
1718

1819
[tool.poetry.dependencies]
19-
python = "^3.13"
20+
python = "^3.12"
2021
aiohttp = "^3.11"
2122
aiomqtt = "^2.0"
2223

0 commit comments

Comments
 (0)