From 600f9deec1f0f97804e6a3bf99a3be51a3b4d638 Mon Sep 17 00:00:00 2001 From: Claude Code Date: Wed, 1 Apr 2026 16:03:16 -0500 Subject: [PATCH] chore: pin deps to production versions, replace toml with tomllib Co-Authored-By: Claude Sonnet 4.6 --- app/config.py | 6 +++--- requirements.txt | 22 +++++++++++----------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/app/config.py b/app/config.py index 0159bfd..b0d8eea 100644 --- a/app/config.py +++ b/app/config.py @@ -1,5 +1,5 @@ # app/config.py -import toml +import tomllib import os from pathlib import Path from dataclasses import dataclass, field @@ -83,8 +83,8 @@ class Config: config = cls() if config_path.exists(): - with open(config_path, "r") as f: - data = toml.load(f) + with open(config_path, "rb") as f: + data = tomllib.load(f) if "general" in data: config.ollama_host = data["general"].get("ollama_host", config.ollama_host) diff --git a/requirements.txt b/requirements.txt index 3510242..974c940 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,11 +1,11 @@ -fastapi>=0.104.0 -uvicorn[standard]>=0.24.0 -httpx>=0.25.0 -qdrant-client>=1.6.0 -ollama>=0.1.0 -toml>=0.10.2 -tiktoken>=0.5.0 -apscheduler>=3.10.0 -pytest>=7.0.0 -pytest-asyncio>=0.21.0 -pytest-cov>=4.0.0 +fastapi==0.135.2 +uvicorn[standard]==0.42.0 +httpx==0.28.1 +qdrant-client==1.17.1 +ollama==0.6.1 +tiktoken==0.12.0 +apscheduler==3.11.2 +portalocker==3.2.0 +pytest==9.0.2 +pytest-asyncio==1.3.0 +pytest-cov==7.1.0