From bdd81a5961624dd3eb904adece9a363a04a38908 Mon Sep 17 00:00:00 2001 From: alexzorin Date: Thu, 2 Mar 2023 09:41:00 +1100 Subject: [PATCH] google: ignore declare_namespace deprecation warnings (#9604) Fixes the nopin build on master. --------- Co-authored-by: Brad Warren --- pytest.ini | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pytest.ini b/pytest.ini index 17bf5afc4..75421bf4a 100644 --- a/pytest.ini +++ b/pytest.ini @@ -21,9 +21,12 @@ # updated. # 4) Ignore our own PendingDeprecationWarning about update_symlinks soon to be dropped. # See https://github.com/certbot/certbot/issues/6284. +# 5) Ignore pkg_resources.declare_namespace used in a large number of Google's Python +# libs. e.g. https://github.com/googleapis/google-auth-library-python/issues/1229. filterwarnings = error ignore:decodestring\(\) is a deprecated alias:DeprecationWarning:dns ignore:.*rsyncdir:DeprecationWarning ignore:'urllib3.contrib.pyopenssl:DeprecationWarning:requests_toolbelt ignore:update_symlinks is deprecated:PendingDeprecationWarning + ignore:.*declare_namespace\('google:DeprecationWarning