Skip to content

Commit e2db602

Browse files
fix: remove broken link in Python37DeprecationWarning (#1430)
Co-authored-by: arithmetic1728 <[email protected]>
1 parent f22f767 commit e2db602

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

google/auth/__init__.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,7 @@
3535
class Python37DeprecationWarning(DeprecationWarning): # pragma: NO COVER
3636
"""
3737
Deprecation warning raised when Python 3.7 runtime is detected.
38-
Python 3.7 support will be dropped after January 1, 2024. See
39-
https://cloud.google.com/python/docs/python37-sunset/ for more information.
38+
Python 3.7 support will be dropped after January 1, 2024.
4039
"""
4140

4241
pass
@@ -46,8 +45,7 @@ class Python37DeprecationWarning(DeprecationWarning): # pragma: NO COVER
4645
if sys.version_info.major == 3 and sys.version_info.minor == 7: # pragma: NO COVER
4746
message = (
4847
"After January 1, 2024, new releases of this library will drop support "
49-
"for Python 3.7. More details about Python 3.7 support "
50-
"can be found at https://cloud.google.com/python/docs/python37-sunset/"
48+
"for Python 3.7."
5149
)
5250
warnings.warn(message, Python37DeprecationWarning)
5351

google/oauth2/__init__.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@
2121
class Python37DeprecationWarning(DeprecationWarning): # pragma: NO COVER
2222
"""
2323
Deprecation warning raised when Python 3.7 runtime is detected.
24-
Python 3.7 support will be dropped after January 1, 2024. See
25-
https://cloud.google.com/python/docs/python37-sunset/ for more information.
24+
Python 3.7 support will be dropped after January 1, 2024.
2625
"""
2726

2827
pass
@@ -32,7 +31,6 @@ class Python37DeprecationWarning(DeprecationWarning): # pragma: NO COVER
3231
if sys.version_info.major == 3 and sys.version_info.minor == 7: # pragma: NO COVER
3332
message = (
3433
"After January 1, 2024, new releases of this library will drop support "
35-
"for Python 3.7. More details about Python 3.7 support "
36-
"can be found at https://cloud.google.com/python/docs/python37-sunset/"
34+
"for Python 3.7."
3735
)
3836
warnings.warn(message, Python37DeprecationWarning)

0 commit comments

Comments
 (0)