From 459d7493e6dc2cb4aa376d771a3538bc34094419 Mon Sep 17 00:00:00 2001 From: Aarni Koskela Date: Tue, 13 Jan 2026 14:49:55 +0200 Subject: [PATCH] chore: remove deprecated deprecation warning --- google/auth/__init__.py | 9 --------- google/oauth2/__init__.py | 10 ---------- 2 files changed, 19 deletions(-) diff --git a/google/auth/__init__.py b/google/auth/__init__.py index 2217558a4..b32ee21fb 100644 --- a/google/auth/__init__.py +++ b/google/auth/__init__.py @@ -32,15 +32,6 @@ __all__ = ["default", "load_credentials_from_file", "load_credentials_from_dict"] -class Python37DeprecationWarning(DeprecationWarning): # pragma: NO COVER - """ - Deprecation warning raised when Python 3.7 runtime is detected. - Python 3.7 support will be dropped after January 1, 2024. - """ - - pass - - # Raise warnings for deprecated versions eol_message = """ You are using a Python version {} past its end of life. Google will update diff --git a/google/oauth2/__init__.py b/google/oauth2/__init__.py index 18b8ada67..f43a7718a 100644 --- a/google/oauth2/__init__.py +++ b/google/oauth2/__init__.py @@ -17,16 +17,6 @@ import sys import warnings - -class Python37DeprecationWarning(DeprecationWarning): # pragma: NO COVER - """ - Deprecation warning raised when Python 3.7 runtime is detected. - Python 3.7 support will be dropped after January 1, 2024. - """ - - pass - - # Raise warnings for deprecated versions eol_message = """ You are using a Python version {} past its end of life. Google will update