From 1a2a03c113a81a519b18a44051562c721902eb34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?The=20Vinh=20LUONG=20=28L=C6=AF=C6=A0NG=20Th=E1=BA=BF=20Vi?= =?UTF-8?q?nh=29?= Date: Sun, 15 Dec 2024 10:00:08 -0800 Subject: [PATCH 1/3] upgrade dependencies --- pyproject.toml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index b7561c730..4802808d4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -49,7 +49,7 @@ exclude = [ [tool.poetry.group.dev.dependencies] ipykernel = ">=6.29" -notebook = ">=7.2" +notebook = ">=7.3" [tool.poetry.group.docs.dependencies] sphinx = ">=8.1" @@ -70,7 +70,7 @@ python = ">=3.12,<3.14" # Llama interface huggingface-hub = ">=0.26" # OpenAI interface -openai = ">=1.55" +openai = ">=1.57" # LlamaIndex & related llama-index = ">=0.12" llama-index-embeddings-azure-openai = ">=0.3" @@ -85,17 +85,17 @@ adlfs = ">=2024.7" # Azure Data Lake gcsfs = ">=2024.10" # Google Cloud Storage s3fs = ">=2024.10" # S3 # misc / other -certifi = ">2023.8" -google-api-python-client = ">=2.154" +certifi = ">2024.12" +google-api-python-client = ">=2.155" googlesearch-python = ">=1.2" -httpx = ">=0.27" +httpx = ">=0.28" loguru = ">=0.7" pydantic = ">=2.10" python-dotenv = ">=1.0" tqdm = ">=4.67" # optional dependencies required by extras -streamlit = {version = ">=1.40", optional = true} +streamlit = {version = ">=1.41", optional = true} streamlit-extras = {version = ">=0.5", optional = true} streamlit-mic-recorder = {version = ">=0.0.8", optional = true} From 472f9d556ee9dbc64f87094f86f1970ef3b0b3ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?The=20Vinh=20LUONG=20=28L=C6=AF=C6=A0NG=20Th=E1=BA=BF=20Vi?= =?UTF-8?q?nh=29?= Date: Sun, 15 Dec 2024 10:03:20 -0800 Subject: [PATCH 2/3] update Ruff linting configs --- .ruff.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/.ruff.toml b/.ruff.toml index 6cddee311..ccf22dcba 100644 --- a/.ruff.toml +++ b/.ruff.toml @@ -127,6 +127,7 @@ ignore = [ "RUF017", # Avoid quadratic list summation" "RUF018", # avoid assignment expressions in `assert` statements "RUF022", # __all__` is not sorted + "RUF051", # Use `pop` instead of `key in dict` followed by `del dict[key]` "RUF100", # unused `noqa` directive "S101", # use of `assert` detected "S106", # possible hardcoded password assigned to argument From 2d04aca9b63f24b9d83930190bee8d65adf9e677 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?The=20Vinh=20LUONG=20=28L=C6=AF=C6=A0NG=20Th=E1=BA=BF=20Vi?= =?UTF-8?q?nh=29?= Date: Sun, 15 Dec 2024 10:07:36 -0800 Subject: [PATCH 3/3] update PyLint configs --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 4802808d4..9dc1cd2dc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -142,6 +142,7 @@ disable = [ "relative-beyond-top-level", "too-few-public-methods", "too-many-positional-arguments", + "unexpected-keyword-arg", "unknown-option-value", "unnecessary-pass", ]