From 0627f46f00f02ceb10d058bf273bc5ff28f36860 Mon Sep 17 00:00:00 2001 From: Antonio Rojas Date: Sun, 6 Jul 2025 20:12:45 +0200 Subject: [PATCH] Silence more rpy2 3.6 warnings --- src/sage/all__sagemath_repl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sage/all__sagemath_repl.py b/src/sage/all__sagemath_repl.py index f89da9509af..093dc376749 100644 --- a/src/sage/all__sagemath_repl.py +++ b/src/sage/all__sagemath_repl.py @@ -103,7 +103,7 @@ # rpy2>=3.6 emits warnings for R modifying LD_LIBRARY_PATH warnings.filterwarnings('ignore', category=UserWarning, message=r".*redefined by R and overriding existing variable.*", - module='rpy2.robjects') + module='rpy2.*') from sage.all__sagemath_objects import * from sage.all__sagemath_environment import *