From 36e9142d18518104288d75098fc273c3ac78a19b Mon Sep 17 00:00:00 2001 From: Richard Bowman Date: Wed, 5 Aug 2026 17:07:28 +0100 Subject: [PATCH] Specify supported Python minor versions I've added classifiers to show the minor versions we currently support. My understanding is that capping the Python version in `requires-python` gets quite problematic, so I will leave it as a lower bound only. It already won't install on 3.14, and adding the constraint would cause it to fail with an error saying LabThings doesn't support it, rather than pointing to a problem with `pydantic`. I think the current behaviour is arguably better, and will make it easier to find out when the problem has gone away. Closes #376 --- pyproject.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 69d78888..b021ff4d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,7 +8,10 @@ description = "An implementation of LabThings using FastAPI" readme = "README.md" requires-python = ">=3.10" classifiers = [ - "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", ]