From e75411ff52fb1b22020fc42fe9844f1327269d0f Mon Sep 17 00:00:00 2001 From: Bouwe Westerdijk Date: Fri, 18 Apr 2025 12:09:40 +0200 Subject: [PATCH] Python version fixes --- .github/workflows/verify.yml | 4 ++-- pyproject.toml | 9 ++++----- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/verify.yml b/.github/workflows/verify.yml index 6bf8db38e..c75997951 100644 --- a/.github/workflows/verify.yml +++ b/.github/workflows/verify.yml @@ -172,7 +172,7 @@ jobs: needs: commitcheck strategy: matrix: - python-version: ["3.12", "3.11"] + python-version: ["3.13"] steps: - name: Check out committed code uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 @@ -211,7 +211,7 @@ jobs: needs: prepare-test-cache strategy: matrix: - python-version: ["3.12", "3.11"] + python-version: ["3.13"] steps: - name: Check out committed code diff --git a/pyproject.toml b/pyproject.toml index a0c06fe34..f88f2f2e7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -11,8 +11,7 @@ classifiers = [ "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "Topic :: Home Automation", ] authors = [ @@ -25,7 +24,7 @@ maintainers = [ { name = "CoMPaTech" }, { name = "dirixmjm" } ] -requires-python = ">=3.11.0" +requires-python = ">=3.13.0" dependencies = [ "pyserial-asyncio-fast", "aiofiles", @@ -48,7 +47,7 @@ include-package-data = true include = ["plugwise*"] [tool.black] -target-version = ["py312"] +target-version = ["py313"] exclude = 'generated' [tool.isort] @@ -186,7 +185,7 @@ norecursedirs = [ ] [tool.mypy] -python_version = "3.12" +python_version = "3.13" show_error_codes = true follow_imports = "silent" ignore_missing_imports = true