From: Jelle Zijlstra Date: Sun, 10 Sep 2023 22:45:13 +0000 (-0700) Subject: Ignore aiohttp DeprecationWarning for 3.12 (#3876) X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/0b62b9c9a44a995e44d64ecf7cc08d8d7037642d?hp=c83ad6c077e7bb281cfd3fbdd89bbeb4c980e563 Ignore aiohttp DeprecationWarning for 3.12 (#3876) Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com> --- diff --git a/pyproject.toml b/pyproject.toml index ebfbede..3d81e8f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -209,7 +209,10 @@ filterwarnings = [ # https://github.com/aio-libs/aiohttp/issues/6905 '''ignore:'cgi' is deprecated and slated for removal in Python 3.13:DeprecationWarning''', # Work around https://github.com/pytest-dev/pytest/issues/10977 for Python 3.12 - '''ignore:(Attribute s|Attribute n|ast.Str|ast.Bytes|ast.NameConstant|ast.Num) is deprecated and will be removed in Python 3.14:DeprecationWarning''' + '''ignore:(Attribute s|Attribute n|ast.Str|ast.Bytes|ast.NameConstant|ast.Num) is deprecated and will be removed in Python 3.14:DeprecationWarning''', + # Will be fixed with aiohttp 3.9.0 + # https://github.com/aio-libs/aiohttp/pull/7302 + "ignore:datetime.*utcfromtimestamp\\(\\) is deprecated and scheduled for removal:DeprecationWarning", ] [tool.coverage.report] omit = [