From 1991358a6ac9785f8f19a4276ff251a6147e2d82 Mon Sep 17 00:00:00 2001 From: David Vogt Date: Thu, 25 Jan 2024 10:31:56 +0100 Subject: [PATCH] chore: ignore deprecation warning in python 3.12 We can't do anything about it right now, as it seems to be in graphene, not our code. Also it's a while until python 3.14, so we can wait a bit until Graphene is updated --- pyproject.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index a5844dfd2..c3b0a5b69 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -101,6 +101,8 @@ env = [ filterwarnings = [ "error::DeprecationWarning", "error::PendingDeprecationWarning", + # warning in python 3.12 about deprecation coming in 3.14. issue is with graphene + "ignore:.*typing.ByteString.*deprecated and slated for removal in Python 3.14", "ignore:The 'arrayconnection' module is deprecated:DeprecationWarning", # deprecation in graphene "ignore:distutils Version classes are deprecated:DeprecationWarning", # deprecation in pytest-freezegun "ignore:'django_extensions' defines default_app_config:PendingDeprecationWarning", # deprecation in django_extensions