From a645772d0705e71f2ab04024dbb049b29c563b22 Mon Sep 17 00:00:00 2001 From: "claude[bot]" <209825114+claude[bot]@users.noreply.github.com> Date: Thu, 3 Jul 2025 13:05:05 +0000 Subject: [PATCH] fix: add SQLAlchemy to noisy_loggers to suppress deprecation warnings Add SQLAlchemy logger to noisy_loggers dictionary with ERROR level to suppress Python 3.13 deprecation warnings that were appearing when users ran commands like 'bm project add'. Co-authored-by: Drew Cain --- src/basic_memory/utils.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/basic_memory/utils.py b/src/basic_memory/utils.py index 67714e4b..45ebe82e 100644 --- a/src/basic_memory/utils.py +++ b/src/basic_memory/utils.py @@ -173,6 +173,8 @@ def setup_logging( "httpx": logging.WARNING, # File watching logs "watchfiles.main": logging.WARNING, + # SQLAlchemy deprecation warnings + "sqlalchemy": logging.ERROR, } # Set log levels for noisy loggers