From 8600d0a8e77ba59762bbabf525d8185d0267b5f9 Mon Sep 17 00:00:00 2001 From: Junyan Qin Date: Sat, 28 Feb 2026 19:26:50 +0800 Subject: [PATCH] chore: add botocore dependency to pyproject.toml and uv.lock - Included botocore>=1.42.39 in dependencies to ensure compatibility with boto3. - Updated lock file to reflect the new botocore dependency. --- pyproject.toml | 1 + src/langbot/pkg/storage/mgr.py | 1 + uv.lock | 2 ++ 3 files changed, 4 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 024e4e72..826cffcd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -71,6 +71,7 @@ dependencies = [ "boto3>=1.35.0", "pymilvus>=2.6.4", "pgvector>=0.4.1", + "botocore>=1.42.39", ] keywords = [ "bot", diff --git a/src/langbot/pkg/storage/mgr.py b/src/langbot/pkg/storage/mgr.py index 1c5dec90..08f7c8d7 100644 --- a/src/langbot/pkg/storage/mgr.py +++ b/src/langbot/pkg/storage/mgr.py @@ -22,6 +22,7 @@ class StorageMgr: if storage_type == 's3': from .providers import s3storage + self.storage_provider = s3storage.S3StorageProvider(self.ap) self.ap.logger.info('Initialized S3 storage backend.') else: diff --git a/uv.lock b/uv.lock index 630ce882..ed4c88b8 100644 --- a/uv.lock +++ b/uv.lock @@ -1813,6 +1813,7 @@ dependencies = [ { name = "asyncpg" }, { name = "beautifulsoup4" }, { name = "boto3" }, + { name = "botocore" }, { name = "certifi" }, { name = "chardet" }, { name = "chromadb" }, @@ -1891,6 +1892,7 @@ requires-dist = [ { name = "asyncpg", specifier = ">=0.30.0" }, { name = "beautifulsoup4", specifier = ">=4.12.3" }, { name = "boto3", specifier = ">=1.35.0" }, + { name = "botocore", specifier = ">=1.42.39" }, { name = "certifi", specifier = ">=2025.4.26" }, { name = "chardet", specifier = ">=5.2.0" }, { name = "chromadb", specifier = ">=0.4.24" },