diff --git a/src/sage/all__sagemath_repl.py b/src/sage/all__sagemath_repl.py index 6800eb9a27b..8d0b43679ca 100644 --- a/src/sage/all__sagemath_repl.py +++ b/src/sage/all__sagemath_repl.py @@ -44,7 +44,7 @@ warnings.filterwarnings('ignore', category=DeprecationWarning, message='pkg_resources is deprecated as an API|' 'Deprecated call to `pkg_resources.declare_namespace(.*)`', - module='pkg_resources') + module='pkg_resources|setuptools.sandbox') warnings.filterwarnings('ignore', category=DeprecationWarning, message='msvccompiler is deprecated and slated to be removed', module='distutils.msvccompiler')