From 1813e1ecf9095c0721ec9e11797d5a3de2148d62 Mon Sep 17 00:00:00 2001 From: jwang-paradise <42374675+jwang-paradise@users.noreply.github.com> Date: Tue, 29 Oct 2024 09:39:54 +0800 Subject: [PATCH] fix: version requirement too strict for `sqlmodel` Previous caret version requirement `^0.0.21` only allows version >=0.0.21, <0.0.22 and seems too strict. Changing to `>=0.0.21, <0.1.0` to allow newer versions. Ref to Poetry documentation: [Caret requirements - Dependency specification](https://python-poetry.org/docs/dependency-specification/#caret-requirements) > 0.0.x is not considered compatible with any other version. --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 48e14a49..b81432e8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -35,7 +35,7 @@ cattrs = "^23.2.3" openai = "^1.51.0" anthropic = { version = "^0.34.2", optional = true } groq = { version = "^0.11.0", optional = true } -sqlmodel = "^0.0.21" +sqlmodel = ">=0.0.21, <0.1.0" uvicorn = "^0.30.3" requests = "^2.32.3" typing-extensions = "^4.12.2"