From 0d4d84fd5e9bfe585213633426d91ee2a582fc46 Mon Sep 17 00:00:00 2001 From: chenmoneygithub Date: Mon, 4 Nov 2024 11:47:08 -0800 Subject: [PATCH 1/2] remove structlog dependency --- poetry.lock | 11 ----------- pyproject.toml | 2 -- requirements.txt | 1 - 3 files changed, 14 deletions(-) diff --git a/poetry.lock b/poetry.lock index 09912eef84..f846d6d199 100644 --- a/poetry.lock +++ b/poetry.lock @@ -6504,17 +6504,6 @@ files = [ {file = "striprtf-0.0.26.tar.gz", hash = "sha256:fdb2bba7ac440072d1c41eab50d8d74ae88f60a8b6575c6e2c7805dc462093aa"}, ] -[[package]] -name = "structlog" -version = "24.4.0" -description = "Structured Logging for Python" -optional = false -python-versions = ">=3.8" -files = [ - {file = "structlog-24.4.0-py3-none-any.whl", hash = "sha256:597f61e80a91cc0749a9fd2a098ed76715a1c8a01f73e336b746504d1aad7610"}, - {file = "structlog-24.4.0.tar.gz", hash = "sha256:b27bfecede327a6d2da5fbc96bd859f114ecc398a6389d664f62085ee7ae6fc4"}, -] - [package.extras] dev = ["freezegun (>=0.2.8)", "mypy (>=1.4)", "pretend", "pytest (>=6.0)", "pytest-asyncio (>=0.17)", "rich", "simplejson", "twisted"] docs = ["cogapp", "furo", "myst-parser", "sphinx", "sphinx-notfound-page", "sphinxcontrib-mermaid", "sphinxext-opengraph", "twisted"] diff --git a/pyproject.toml b/pyproject.toml index 9fa15fe212..329bccfe6e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -38,7 +38,6 @@ dependencies = [ "requests", "optuna", "pydantic~=2.0", - "structlog", "jinja2", "magicattr~=0.1.6", "litellm", @@ -130,7 +129,6 @@ groq = { version = "^0.4.2", optional = true } rich = "^13.7.1" psycopg2 = { version = "^2.9.9", optional = true } pgvector = { version = "^0.2.5", optional = true } -structlog = "^24.1.0" llama-index = {version = "^0.10.30", optional = true} snowflake-snowpark-python = { version = "*",optional=true, python = ">=3.9,<3.12" } jinja2 = "^3.1.3" diff --git a/requirements.txt b/requirements.txt index 1cdb629515..e454fcbb9d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -12,7 +12,6 @@ pandas pydantic~=2.0 regex requests -structlog tenacity>=8.2.3 tqdm ujson From bc39632a474f16e1e92c57e52784747b67e9a86c Mon Sep 17 00:00:00 2001 From: chenmoneygithub Date: Mon, 4 Nov 2024 12:21:28 -0800 Subject: [PATCH 2/2] update poetry.lock --- poetry.lock | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/poetry.lock b/poetry.lock index f846d6d199..a8ee6afa8c 100644 --- a/poetry.lock +++ b/poetry.lock @@ -6504,12 +6504,6 @@ files = [ {file = "striprtf-0.0.26.tar.gz", hash = "sha256:fdb2bba7ac440072d1c41eab50d8d74ae88f60a8b6575c6e2c7805dc462093aa"}, ] -[package.extras] -dev = ["freezegun (>=0.2.8)", "mypy (>=1.4)", "pretend", "pytest (>=6.0)", "pytest-asyncio (>=0.17)", "rich", "simplejson", "twisted"] -docs = ["cogapp", "furo", "myst-parser", "sphinx", "sphinx-notfound-page", "sphinxcontrib-mermaid", "sphinxext-opengraph", "twisted"] -tests = ["freezegun (>=0.2.8)", "pretend", "pytest (>=6.0)", "pytest-asyncio (>=0.17)", "simplejson"] -typing = ["mypy (>=1.4)", "rich", "twisted"] - [[package]] name = "sympy" version = "1.13.1" @@ -7868,4 +7862,4 @@ weaviate = ["weaviate-client"] [metadata] lock-version = "2.0" python-versions = ">=3.9,<3.13" -content-hash = "03caefc8740625d260d1092ca69a1dfdb56d6fb7ae92603613b81d466a70ebf9" +content-hash = "4c0c0eda720efe7fbc74f58ade43fcf01f61ee8295154dd74a1a70d6ddc30280"