From a782e19563c8fffb649e7592bd72ec521c3bee60 Mon Sep 17 00:00:00 2001 From: Timothy Allen Date: Sat, 2 May 2026 09:21:02 +0200 Subject: [PATCH] Update Python minumum version to allow new dependencies Add a manual pin to typing-extensions >= 4.13, as lower versions that might already be installed will break on Python >= 3.14 --- pyproject.toml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 1b92afa..e94f597 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,13 +7,14 @@ license = "CC BY-NC-SA 4.0" readme = "README.md" [tool.poetry.dependencies] -python = "^3.8" +python = ">=3.12,<4.0" pyserial = "^3.5" influxdb-client = {version = "^1.19.0", optional = true, extras = ["influxdb"]} +typing-extensions = {version = ">=4.13", optional = true, extras = ["influxdb"]} prometheus-client = {version = "^0.11.0", optional = true, extras = ["prometheus"]} [tool.poetry.extras] -influxdb = ["influxdb-client"] +influxdb = ["influxdb-client", "typing-extensions"] prometheus = ["prometheus-client"] [build-system]