From 1b8a727c563e4fe3281ca43e757dda2f4e4808d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Brigitta=20Sip=C5=91cz?= Date: Tue, 12 Nov 2024 14:43:44 +0100 Subject: [PATCH] CONF: adding more deprecation warnings to ignore that are triggered upstream --- pyproject.toml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index b9de3265..d5fd8bb4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -153,7 +153,18 @@ force-sort-within-sections = true [tool.pytest.ini_options] filterwarnings = [ - "error", + 'error', + 'ignore:unclosed database in:ResourceWarning', + # from asyncio triggered by jupyter_client + 'ignore:There is no current event loop:DeprecationWarning', + 'ignore:Parsing dates involving a day of month without a year specified is ambiguious:DeprecationWarning', + # from jupyter_core + 'ignore:Jupyter is migrating its paths to use standard platformdirs:DeprecationWarning', + # nbclient + 'ignore:Parsing dates involving a day of month without a year specified is ambiguious:DeprecationWarning:nbclient', + # From dateutil in sqlalchemy and jupyter_cache + 'ignore:datetime.datetime.utcnow\(\) is deprecated:DeprecationWarning:sqlalchemy', + 'ignore:datetime.datetime.utcnow\(\) is deprecated:DeprecationWarning:jupyter_cache', ] markers = [