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 diff --git a/pyproject.toml b/pyproject.toml index b7561c730..9dc1cd2dc 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} @@ -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", ]