From ab488e55fbdf6286e309e170e5d12802ef1ac285 Mon Sep 17 00:00:00 2001 From: Russell Martin Date: Thu, 25 May 2023 10:38:57 -0400 Subject: [PATCH] Ignore `DeprecationWarning` from dateutil for `datetime.utcfromtimestamp()` usage --- pyproject.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 5fa002fb7..1e76b3084 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -53,6 +53,8 @@ filterwarnings = [ "error", # Work around https://github.com/pytest-dev/pytest/issues/10977 for Python 3.12 'ignore:(ast\.Str|ast\.NameConstant|ast\.Num|Attribute s) is deprecated and will be removed.*:DeprecationWarning:', + # https://github.com/dateutil/dateutil/issues/1284 + 'ignore:.*datetime.utcfromtimestamp\(\) is deprecated.*:DeprecationWarning:', ] # need to ensure build directories aren't excluded from recursion @@ -75,4 +77,4 @@ type = [ { directory = "removal", name = "Backward Incompatible Changes", showcontent = true }, { directory = "doc", name = "Documentation", showcontent = true }, { directory = "misc", name = "Misc", showcontent = false }, - ] +]