From 7bd5a5ddb4bed14df6b1f5b73855901705a912b4 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 26 Aug 2024 12:35:41 +0000 Subject: [PATCH] fix(deps): pin dependencies --- backend/api/pyproject.toml | 146 +++++++++++++++++------------------ backend/core/Dockerfile.test | 2 +- 2 files changed, 74 insertions(+), 74 deletions(-) diff --git a/backend/api/pyproject.toml b/backend/api/pyproject.toml index 23062260beb3..b458cdc72cdc 100644 --- a/backend/api/pyproject.toml +++ b/backend/api/pyproject.toml @@ -13,7 +13,7 @@ readme = "README.md" [tool.poetry.dependencies] quivr-core = { path = "../core", extras = ["base"] } -python = "^3.11" +python = "3.12.5" torch = [ { version = "2.3.1", source = "pypi", platform = "darwin" }, { version = "2.3.1", source = "pypi", platform = "linux", markers = "platform_machine != 'x86_64'" }, @@ -26,82 +26,82 @@ torchvision = [ { version = "0.18.1+cpu", source = "pytorch-cpu-src", platform = "linux", markers = "platform_machine == 'x86_64'" }, { version = "0.18.1+cpu", source = "pytorch-cpu-src", platform = "win32" }, ] -langchain = "*" -litellm = "*" -openai = "*" -gitpython = "*" -pdf2image = "*" -nest-asyncio = "*" -pypdf = "*" -supabase = "*" -tiktoken = "*" -fastapi = "*" -python-multipart = "*" -uvicorn = "*" -pypandoc = "*" -docx2txt = "*" -python-jose = "*" -asyncpg = "*" -pyright = "*" -resend = "*" -html5lib = "*" -beautifulsoup4 = "*" -newspaper3k = "*" -xlrd = "*" -redis = "*" -flower = "*" -boto3 = "*" -botocore = "*" -python-dotenv = "*" -pytesseract = "*" -async-generator = "*" -posthog = "*" -jq = "*" -pytest = "*" -watchdog = "*" -langchain-community = "*" -langchain-openai = "*" -pydantic-settings = "*" -langfuse = "*" -pandasai = "*" -colorlog = "*" -psycopg2-binary = "*" -celery = { extras = ["redis", "sqs"], version = "*" } -unstructured = { extras = ["all-docs"], version = "*" } -llama-parse = "*" -llama-index = "*" -lxml = { extras = ["html_clean"], version = "*" } -ragas = "*" -datasets = "*" -fpdf2 = "*" -unidecode = "*" -langchain-cohere = "*" -pyinstrument = "*" -playwright = "*" -langgraph = "*" -tavily-python = "*" -duckduckgo-search = "*" -google-api-python-client = "*" -google-auth-httplib2 = "*" -google-auth-oauthlib = "*" -msal = "*" -sentry-sdk = { version = "^2.5.0", extras = ["fastapi"] } -sqlmodel = "^0.0.19" +langchain = "0.2.6" +litellm = "1.41.2" +openai = "1.35.7" +gitpython = "3.1.43" +pdf2image = "1.17.0" +nest-asyncio = "1.6.0" +pypdf = "4.2.0" +supabase = "2.5.1" +tiktoken = "0.7.0" +fastapi = "0.111.0" +python-multipart = "0.0.9" +uvicorn = "0.30.1" +pypandoc = "1.13" +docx2txt = "0.8" +python-jose = "3.3.0" +asyncpg = "0.29.0" +pyright = "1.1.369" +resend = "2.1.0" +html5lib = "1.1" +beautifulsoup4 = "4.12.3" +newspaper3k = "0.2.8" +xlrd = "2.0.1" +redis = "5.0.7" +flower = "2.0.1" +boto3 = "1.34.136" +botocore = "1.34.136" +python-dotenv = "1.0.1" +pytesseract = "0.3.10" +async-generator = "1.10" +posthog = "3.5.0" +jq = "1.7.0" +pytest = "8.2.2" +watchdog = "4.0.1" +langchain-community = "0.2.6" +langchain-openai = "0.1.13" +pydantic-settings = "2.3.4" +langfuse = "2.36.2" +pandasai = "2.2.7" +colorlog = "6.8.2" +psycopg2-binary = "2.9.9" +celery = { extras = ["redis", "sqs"], version = "5.4.0" } +unstructured = { extras = ["all-docs"], version = "0.11.8" } +llama-parse = "0.4.4" +llama-index = "0.10.51" +lxml = { extras = ["html_clean"], version = "5.2.2" } +ragas = "0.1.9" +datasets = "2.20.0" +fpdf2 = "2.7.9" +unidecode = "1.3.8" +langchain-cohere = "0.1.8" +pyinstrument = "4.6.2" +playwright = "1.44.0" +langgraph = "0.1.4" +tavily-python = "0.3.3" +duckduckgo-search = "6.1.7" +google-api-python-client = "2.135.0" +google-auth-httplib2 = "0.2.0" +google-auth-oauthlib = "1.2.0" +msal = "1.29.0" +sentry-sdk = { version = "2.7.1", extras = ["fastapi"] } +sqlmodel = "0.0.19" megaparse = "0.0.19" [tool.poetry.group.dev.dependencies] -mypy = "^1.10.0" -pre-commit = "^3.7.1" -ipykernel = "*" -ruff = "^0.4.8" -pytest-asyncio = "^0.23.7" -flake8 = "*" -flake8-black = "*" -pytest = "*" -pytest-dotenv = "*" -pytest-mock = "*" -pytest-celery = "*" +mypy = "1.10.1" +pre-commit = "3.7.1" +ipykernel = "6.29.4" +ruff = "0.4.10" +pytest-asyncio = "0.23.7" +flake8 = "7.1.0" +flake8-black = "0.3.6" +pytest = "8.2.2" +pytest-dotenv = "0.5.2" +pytest-mock = "3.14.0" +pytest-celery = "1.0.0" [[tool.poetry.source]] name = "pytorch-cpu-src" diff --git a/backend/core/Dockerfile.test b/backend/core/Dockerfile.test index 4ec16699fdfa..6a11010e0fda 100644 --- a/backend/core/Dockerfile.test +++ b/backend/core/Dockerfile.test @@ -1,5 +1,5 @@ # Using a slim version for a smaller base image -FROM python:3.11.6-slim-bullseye +FROM python:3.11.6-slim-bullseye@sha256:0c1fbb294096d842ad795ee232d783cab436c90b034210fe894f2bb2f2be7626 # Install GEOS library, Rust, and other dependencies, then clean up RUN apt-get clean && apt-get update && apt-get install -y \