From 5e6ba3c982ae7fea227fdf47e63934cca59ab992 Mon Sep 17 00:00:00 2001 From: Alejandro Ponce Date: Thu, 16 Jan 2025 15:28:01 +0200 Subject: [PATCH] Pin versions in `pyproject.toml` To avoid the case in which when updating `lib1` inadvertently `lib2` gets updated because it's part of `lib1` dependendcies. --- poetry.lock | 16 ++++++------ pyproject.toml | 68 +++++++++++++++++++++++++------------------------- 2 files changed, 43 insertions(+), 41 deletions(-) diff --git a/poetry.lock b/poetry.lock index 4bbc6011..62b9814e 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 1.8.3 and should not be changed by hand. +# This file is automatically @generated by Poetry 1.8.4 and should not be changed by hand. [[package]] name = "aiohappyeyeballs" @@ -604,6 +604,7 @@ files = [ {file = "cryptography-44.0.0-cp37-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:761817a3377ef15ac23cd7834715081791d4ec77f9297ee694ca1ee9c2c7e5eb"}, {file = "cryptography-44.0.0-cp37-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:3c672a53c0fb4725a29c303be906d3c1fa99c32f58abe008a82705f9ee96f40b"}, {file = "cryptography-44.0.0-cp37-abi3-manylinux_2_34_aarch64.whl", hash = "sha256:4ac4c9f37eba52cb6fbeaf5b59c152ea976726b865bd4cf87883a7e7006cc543"}, + {file = "cryptography-44.0.0-cp37-abi3-manylinux_2_34_x86_64.whl", hash = "sha256:60eb32934076fa07e4316b7b2742fa52cbb190b42c2df2863dbc4230a0a9b385"}, {file = "cryptography-44.0.0-cp37-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:ed3534eb1090483c96178fcb0f8893719d96d5274dfde98aa6add34614e97c8e"}, {file = "cryptography-44.0.0-cp37-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:f3f6fdfa89ee2d9d496e2c087cebef9d4fcbb0ad63c40e821b39f74bf48d9c5e"}, {file = "cryptography-44.0.0-cp37-abi3-win32.whl", hash = "sha256:eb33480f1bad5b78233b0ad3e1b0be21e8ef1da745d8d2aecbb20671658b9053"}, @@ -614,6 +615,7 @@ files = [ {file = "cryptography-44.0.0-cp39-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:c5eb858beed7835e5ad1faba59e865109f3e52b3783b9ac21e7e47dc5554e289"}, {file = "cryptography-44.0.0-cp39-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:f53c2c87e0fb4b0c00fa9571082a057e37690a8f12233306161c8f4b819960b7"}, {file = "cryptography-44.0.0-cp39-abi3-manylinux_2_34_aarch64.whl", hash = "sha256:9e6fc8a08e116fb7c7dd1f040074c9d7b51d74a8ea40d4df2fc7aa08b76b9e6c"}, + {file = "cryptography-44.0.0-cp39-abi3-manylinux_2_34_x86_64.whl", hash = "sha256:9abcc2e083cbe8dde89124a47e5e53ec38751f0d7dfd36801008f316a127d7ba"}, {file = "cryptography-44.0.0-cp39-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:d2436114e46b36d00f8b72ff57e598978b37399d2786fd39793c36c6d5cb1c64"}, {file = "cryptography-44.0.0-cp39-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:a01956ddfa0a6790d594f5b34fc1bfa6098aca434696a03cfdbe469b8ed79285"}, {file = "cryptography-44.0.0-cp39-abi3-win32.whl", hash = "sha256:eca27345e1214d1b9f9490d200f9db5a874479be914199194e746c893788d417"}, @@ -1213,13 +1215,13 @@ referencing = ">=0.31.0" [[package]] name = "litellm" -version = "1.58.2" +version = "1.58.0" description = "Library to easily interface with LLM API providers" optional = false python-versions = "!=2.7.*,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.*,!=3.7.*,>=3.8" files = [ - {file = "litellm-1.58.2-py3-none-any.whl", hash = "sha256:51b14b2f5e30d2d41a76fbf926d7d882f1fddbbfda8812358cb4bb27d0d27692"}, - {file = "litellm-1.58.2.tar.gz", hash = "sha256:4e1b7191a86970bbacd30e5315d3b6a0f5fc75a99763c9164116de60c6ac0bf3"}, + {file = "litellm-1.58.0-py3-none-any.whl", hash = "sha256:1fc07646f6419f1d7b7d06fe2f5c72b3e6e3407423b50cbf45b58dc9740e7a03"}, + {file = "litellm-1.58.0.tar.gz", hash = "sha256:db4512e987809e04e59d5b4240bdef3a4bfe575c332397f80cc6b4403c68120a"}, ] [package.dependencies] @@ -1241,12 +1243,12 @@ proxy = ["PyJWT (>=2.8.0,<3.0.0)", "apscheduler (>=3.10.4,<4.0.0)", "backoff", " [[package]] name = "llama-cpp-python" -version = "0.3.6" +version = "0.3.5" description = "Python bindings for the llama.cpp library" optional = false python-versions = ">=3.8" files = [ - {file = "llama_cpp_python-0.3.6.tar.gz", hash = "sha256:86e35a8888274466958e24201b856cd71c8def0ea72e14312be13da96c15c7a4"}, + {file = "llama_cpp_python-0.3.5.tar.gz", hash = "sha256:f5ce47499d53d3973e28ca5bdaf2dfe820163fa3fb67e3050f98e2e9b58d2cf6"}, ] [package.dependencies] @@ -3094,4 +3096,4 @@ type = ["pytest-mypy"] [metadata] lock-version = "2.0" python-versions = ">=3.12,<4.0" -content-hash = "cfc4a4a6768c0fc2dfe628317ee1ab95da3a21e02bd5180b3fc0381aa8fab2ab" +content-hash = "d59d2a96fb185ce779bf533911f7670958bb84d6f773da86f268db5d12673f78" diff --git a/pyproject.toml b/pyproject.toml index c378ea68..3cb35006 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,42 +7,42 @@ authors = [] [tool.poetry.dependencies] python = ">=3.12,<4.0" -click = ">=8.1.0" -PyYAML = ">=6.0.1" -fastapi = ">=0.115.5" -uvicorn = ">=0.32.1" -structlog = ">=24.4.0" -litellm = "^1.58.0" -llama_cpp_python = ">=0.3.2" -cryptography = "^44.0.0" -sqlalchemy = "^2.0.37" -aiosqlite = "^0.20.0" -ollama = ">=0.4.4" -pydantic-settings = "^2.7.1" -numpy = ">=1.24.0" -tree-sitter = ">=0.23.2" -tree-sitter-go = ">=0.23.4" -tree-sitter-java = ">=0.23.5" -tree-sitter-javascript = ">=0.23.1" -tree-sitter-python = ">=0.23.6" -tree-sitter-rust = ">=0.23.2" -sqlite-vec-sl-tmp = "^0.0.4" -alembic = ">=1.14.0" -pygments = "^2.19.1" +click = "==8.1.8" +PyYAML = "==6.0.2" +fastapi = "==0.115.6" +uvicorn = "==0.34.0" +structlog = "==24.4.0" +litellm = "==1.58.0" +llama_cpp_python = "==0.3.5" +cryptography = "==44.0.0" +sqlalchemy = "==2.0.37" +aiosqlite = "==0.20.0" +ollama = "==0.4.6" +pydantic-settings = "==2.7.1" +numpy = "==2.2.1" +tree-sitter = "==0.23.2" +tree-sitter-go = "==0.23.4" +tree-sitter-java = "==0.23.5" +tree-sitter-javascript = "==0.23.1" +tree-sitter-python = "==0.23.6" +tree-sitter-rust = "==0.23.2" +sqlite-vec-sl-tmp = "==0.0.4" +alembic = "==1.14.0" +pygments = "==2.19.1" [tool.poetry.group.dev.dependencies] -pytest = ">=7.4.0" -pytest-cov = ">=4.1.0" -black = ">=23.7.0" -ruff = ">=0.7.4" -bandit = ">=1.7.10" -build = ">=1.0.0" -wheel = ">=0.40.0" -litellm = ">=1.52.11" -pytest-asyncio = "0.25.2" -llama_cpp_python = ">=0.3.2" -scikit-learn = ">=1.6.0" -python-dotenv = ">=1.0.1" +pytest = "==8.3.4" +pytest-cov = "==6.0.0" +black = "==24.10.0" +ruff = "==0.9.1" +bandit = "==1.8.2" +build = "==1.2.2.post1" +wheel = "==0.45.1" +litellm = "==1.58.0" +pytest-asyncio = "==0.25.2" +llama_cpp_python = "==0.3.5" +scikit-learn = "==1.6.1" +python-dotenv = "==1.0.1" [build-system] requires = ["poetry-core"]