From 7be4ce5b07b7866313765a9dc1ce34f1c33b36e4 Mon Sep 17 00:00:00 2001 From: Gabriel Luiz Freitas Almeida Date: Mon, 4 Dec 2023 12:07:38 -0300 Subject: [PATCH] Update sqlmodel version to 0.0.14 --- poetry.lock | 18 +++++++----------- pyproject.toml | 4 ++-- 2 files changed, 9 insertions(+), 13 deletions(-) diff --git a/poetry.lock b/poetry.lock index 55b9e2e7d..9a0f71522 100644 --- a/poetry.lock +++ b/poetry.lock @@ -7585,23 +7585,19 @@ sqlcipher = ["sqlcipher3-binary"] [[package]] name = "sqlmodel" -version = "0" +version = "0.0.14" description = "SQLModel, SQL databases in Python, designed for simplicity, compatibility, and robustness." optional = false -python-versions = "^3.7" -files = [] -develop = false +python-versions = ">=3.7,<4.0" +files = [ + {file = "sqlmodel-0.0.14-py3-none-any.whl", hash = "sha256:accea3ff5d878e41ac439b11e78613ed61ce300cfcb860e87a2d73d4884cbee4"}, + {file = "sqlmodel-0.0.14.tar.gz", hash = "sha256:0bff8fc94af86b44925aa813f56cf6aabdd7f156b73259f2f60692c6a64ac90e"}, +] [package.dependencies] pydantic = ">=1.10.13,<3.0.0" SQLAlchemy = ">=2.0.0,<2.1.0" -[package.source] -type = "git" -url = "https://github.com/tiangolo/sqlmodel.git" -reference = "main" -resolved_reference = "bd24013a26e2d15311a18632ee845381ac31d899" - [[package]] name = "stack-data" version = "0.6.3" @@ -9179,4 +9175,4 @@ local = ["ctransformers", "llama-cpp-python", "sentence-transformers"] [metadata] lock-version = "2.0" python-versions = ">=3.9,<3.11" -content-hash = "54c7200552db764f3d9d7d4ba3654c259453fe21743c21f1c3691e29a68ca28a" +content-hash = "741bb7bb5238cf0218644d7a1db7be3ae9ae9c45e67de96e152da20d3e704642" diff --git a/pyproject.toml b/pyproject.toml index 4a0e10ecf..00f81ed5c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -61,8 +61,7 @@ sentence-transformers = { version = "^2.2.2", optional = true } ctransformers = { version = "^0.2.10", optional = true } cohere = "^4.37.0" python-multipart = "^0.0.6" -# install sqlmodel using https://github.com/honglei/sqlmodel.git -sqlmodel = { git = "https://github.com/tiangolo/sqlmodel.git", branch = "main" } +sqlmodel = "^0.0.14" faiss-cpu = "^1.7.4" anthropic = "^0.7.0" orjson = "3.9.3" @@ -151,3 +150,4 @@ line-length = 120 [build-system] requires = ["poetry-core"] build-backend = "poetry.core.masonry.api" +# install sqlmodel using https://github.com/honglei/sqlmodel.git