We are currently solving the following issue within our repository. Here is the issue text:
--- BEGIN ISSUE ---
Broken link in Python37DeprecationWarning deprecation message
```
    warnings.warn(message, Python37DeprecationWarning)
E   google.auth.Python37DeprecationWarning: After January 1, 2024, new releases of this library will drop support for Python 3.7. More details about Python 3.7 support can be found at https://cloud.google.com/python/docs/python37-sunset/
```
The link https://cloud.google.com/python/docs/python37-sunset/ results in 404. We should remove it from the deprecation message.

--- END ISSUE ---

Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
--- BEGIN FILES ---
Path: `google/oauth2/__init__.py`
Content:
```
1 # Copyright 2016 Google LLC
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 #      http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14 
15 """Google OAuth 2.0 Library for Python."""
16 
17 import sys
18 import warnings
19 
20 
21 class Python37DeprecationWarning(DeprecationWarning):  # pragma: NO COVER
22     """
23     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.
26     """
27 
28     pass
29 
30 
31 # Checks if the current runtime is Python 3.7.
32 if sys.version_info.major == 3 and sys.version_info.minor == 7:  # pragma: NO COVER
33     message = (
34         "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/"
37     )
38     warnings.warn(message, Python37DeprecationWarning)
39
```

Path: `google/auth/__init__.py`
Content:
```
1 # Copyright 2016 Google LLC
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 #      http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14 
15 """Google Auth Library for Python."""
16 
17 import logging
18 import sys
19 import warnings
20 
21 from google.auth import version as google_auth_version
22 from google.auth._default import (
23     default,
24     load_credentials_from_dict,
25     load_credentials_from_file,
26 )
27 
28 
29 __version__ = google_auth_version.__version__
30 
31 
32 __all__ = ["default", "load_credentials_from_file", "load_credentials_from_dict"]
33 
34 
35 class Python37DeprecationWarning(DeprecationWarning):  # pragma: NO COVER
36     """
37     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.
40     """
41 
42     pass
43 
44 
45 # Checks if the current runtime is Python 3.7.
46 if sys.version_info.major == 3 and sys.version_info.minor == 7:  # pragma: NO COVER
47     message = (
48         "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/"
51     )
52     warnings.warn(message, Python37DeprecationWarning)
53 
54 # Set default logging handler to avoid "No handler found" warnings.
55 logging.getLogger(__name__).addHandler(logging.NullHandler())
56
```
--- END FILES ---

Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.

Here is an example:

```diff
diff --git a/examples/server_async.py b/examples/server_async.py
--- a/examples/server_async.py
+++ b/examples/server_async.py
@@ -313,4 +313,4 @@
 
 
 if __name__ == "__main__":
-    asyncio.run(run_async_server("."), debug=True)
+    asyncio.run(run_async_server(), debug=True)
diff --git a/examples/server_sync.py b/examples/server_sync.py
--- a/examples/server_sync.py
+++ b/examples/server_sync.py
@@ -313,5 +313,5 @@
 
 
 if __name__ == "__main__":
-    server = run_sync_server(".")
+    server = run_sync_server()
     server.shutdown()

```

diff --git a/google/auth/__init__.py b/google/auth/__init__.py
--- a/google/auth/__init__.py
+++ b/google/auth/__init__.py
@@ -35,8 +35,7 @@
 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. See
-    https://cloud.google.com/python/docs/python37-sunset/ for more information.
+    Python 3.7 support will be dropped after January 1, 2024.
     """
 
     pass
@@ -46,8 +45,7 @@
 if sys.version_info.major == 3 and sys.version_info.minor == 7:  # pragma: NO COVER
     message = (
         "After January 1, 2024, new releases of this library will drop support "
-        "for Python 3.7. More details about Python 3.7 support "
-        "can be found at https://cloud.google.com/python/docs/python37-sunset/"
+        "for Python 3.7."
     )
     warnings.warn(message, Python37DeprecationWarning)
 
diff --git a/google/oauth2/__init__.py b/google/oauth2/__init__.py
--- a/google/oauth2/__init__.py
+++ b/google/oauth2/__init__.py
@@ -21,8 +21,7 @@
 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. See
-    https://cloud.google.com/python/docs/python37-sunset/ for more information.
+    Python 3.7 support will be dropped after January 1, 2024.
     """
 
     pass
@@ -32,7 +31,6 @@
 if sys.version_info.major == 3 and sys.version_info.minor == 7:  # pragma: NO COVER
     message = (
         "After January 1, 2024, new releases of this library will drop support "
-        "for Python 3.7. More details about Python 3.7 support "
-        "can be found at https://cloud.google.com/python/docs/python37-sunset/"
+        "for Python 3.7."
     )
     warnings.warn(message, Python37DeprecationWarning)

{"golden_diff": "diff --git a/google/auth/__init__.py b/google/auth/__init__.py\n--- a/google/auth/__init__.py\n+++ b/google/auth/__init__.py\n@@ -35,8 +35,7 @@\n class Python37DeprecationWarning(DeprecationWarning):  # pragma: NO COVER\n     \"\"\"\n     Deprecation warning raised when Python 3.7 runtime is detected.\n-    Python 3.7 support will be dropped after January 1, 2024. See\n-    https://cloud.google.com/python/docs/python37-sunset/ for more information.\n+    Python 3.7 support will be dropped after January 1, 2024.\n     \"\"\"\n \n     pass\n@@ -46,8 +45,7 @@\n if sys.version_info.major == 3 and sys.version_info.minor == 7:  # pragma: NO COVER\n     message = (\n         \"After January 1, 2024, new releases of this library will drop support \"\n-        \"for Python 3.7. More details about Python 3.7 support \"\n-        \"can be found at https://cloud.google.com/python/docs/python37-sunset/\"\n+        \"for Python 3.7.\"\n     )\n     warnings.warn(message, Python37DeprecationWarning)\n \ndiff --git a/google/oauth2/__init__.py b/google/oauth2/__init__.py\n--- a/google/oauth2/__init__.py\n+++ b/google/oauth2/__init__.py\n@@ -21,8 +21,7 @@\n class Python37DeprecationWarning(DeprecationWarning):  # pragma: NO COVER\n     \"\"\"\n     Deprecation warning raised when Python 3.7 runtime is detected.\n-    Python 3.7 support will be dropped after January 1, 2024. See\n-    https://cloud.google.com/python/docs/python37-sunset/ for more information.\n+    Python 3.7 support will be dropped after January 1, 2024.\n     \"\"\"\n \n     pass\n@@ -32,7 +31,6 @@\n if sys.version_info.major == 3 and sys.version_info.minor == 7:  # pragma: NO COVER\n     message = (\n         \"After January 1, 2024, new releases of this library will drop support \"\n-        \"for Python 3.7. More details about Python 3.7 support \"\n-        \"can be found at https://cloud.google.com/python/docs/python37-sunset/\"\n+        \"for Python 3.7.\"\n     )\n     warnings.warn(message, Python37DeprecationWarning)\n", "issue": "Broken link in Python37DeprecationWarning deprecation message\n```\r\n    warnings.warn(message, Python37DeprecationWarning)\r\nE   google.auth.Python37DeprecationWarning: After January 1, 2024, new releases of this library will drop support for Python 3.7. More details about Python 3.7 support can be found at https://cloud.google.com/python/docs/python37-sunset/\r\n```\r\nThe link https://cloud.google.com/python/docs/python37-sunset/ results in 404. We should remove it from the deprecation message.\n", "before_files": [{"content": "# Copyright 2016 Google LLC\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#      http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\n\"\"\"Google OAuth 2.0 Library for Python.\"\"\"\n\nimport sys\nimport warnings\n\n\nclass Python37DeprecationWarning(DeprecationWarning):  # pragma: NO COVER\n    \"\"\"\n    Deprecation warning raised when Python 3.7 runtime is detected.\n    Python 3.7 support will be dropped after January 1, 2024. See\n    https://cloud.google.com/python/docs/python37-sunset/ for more information.\n    \"\"\"\n\n    pass\n\n\n# Checks if the current runtime is Python 3.7.\nif sys.version_info.major == 3 and sys.version_info.minor == 7:  # pragma: NO COVER\n    message = (\n        \"After January 1, 2024, new releases of this library will drop support \"\n        \"for Python 3.7. More details about Python 3.7 support \"\n        \"can be found at https://cloud.google.com/python/docs/python37-sunset/\"\n    )\n    warnings.warn(message, Python37DeprecationWarning)\n", "path": "google/oauth2/__init__.py"}, {"content": "# Copyright 2016 Google LLC\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#      http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\n\"\"\"Google Auth Library for Python.\"\"\"\n\nimport logging\nimport sys\nimport warnings\n\nfrom google.auth import version as google_auth_version\nfrom google.auth._default import (\n    default,\n    load_credentials_from_dict,\n    load_credentials_from_file,\n)\n\n\n__version__ = google_auth_version.__version__\n\n\n__all__ = [\"default\", \"load_credentials_from_file\", \"load_credentials_from_dict\"]\n\n\nclass Python37DeprecationWarning(DeprecationWarning):  # pragma: NO COVER\n    \"\"\"\n    Deprecation warning raised when Python 3.7 runtime is detected.\n    Python 3.7 support will be dropped after January 1, 2024. See\n    https://cloud.google.com/python/docs/python37-sunset/ for more information.\n    \"\"\"\n\n    pass\n\n\n# Checks if the current runtime is Python 3.7.\nif sys.version_info.major == 3 and sys.version_info.minor == 7:  # pragma: NO COVER\n    message = (\n        \"After January 1, 2024, new releases of this library will drop support \"\n        \"for Python 3.7. More details about Python 3.7 support \"\n        \"can be found at https://cloud.google.com/python/docs/python37-sunset/\"\n    )\n    warnings.warn(message, Python37DeprecationWarning)\n\n# Set default logging handler to avoid \"No handler found\" warnings.\nlogging.getLogger(__name__).addHandler(logging.NullHandler())\n", "path": "google/auth/__init__.py"}], "after_files": [{"content": "# Copyright 2016 Google LLC\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#      http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\n\"\"\"Google OAuth 2.0 Library for Python.\"\"\"\n\nimport sys\nimport warnings\n\n\nclass Python37DeprecationWarning(DeprecationWarning):  # pragma: NO COVER\n    \"\"\"\n    Deprecation warning raised when Python 3.7 runtime is detected.\n    Python 3.7 support will be dropped after January 1, 2024.\n    \"\"\"\n\n    pass\n\n\n# Checks if the current runtime is Python 3.7.\nif sys.version_info.major == 3 and sys.version_info.minor == 7:  # pragma: NO COVER\n    message = (\n        \"After January 1, 2024, new releases of this library will drop support \"\n        \"for Python 3.7.\"\n    )\n    warnings.warn(message, Python37DeprecationWarning)\n", "path": "google/oauth2/__init__.py"}, {"content": "# Copyright 2016 Google LLC\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#      http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\n\"\"\"Google Auth Library for Python.\"\"\"\n\nimport logging\nimport sys\nimport warnings\n\nfrom google.auth import version as google_auth_version\nfrom google.auth._default import (\n    default,\n    load_credentials_from_dict,\n    load_credentials_from_file,\n)\n\n\n__version__ = google_auth_version.__version__\n\n\n__all__ = [\"default\", \"load_credentials_from_file\", \"load_credentials_from_dict\"]\n\n\nclass Python37DeprecationWarning(DeprecationWarning):  # pragma: NO COVER\n    \"\"\"\n    Deprecation warning raised when Python 3.7 runtime is detected.\n    Python 3.7 support will be dropped after January 1, 2024.\n    \"\"\"\n\n    pass\n\n\n# Checks if the current runtime is Python 3.7.\nif sys.version_info.major == 3 and sys.version_info.minor == 7:  # pragma: NO COVER\n    message = (\n        \"After January 1, 2024, new releases of this library will drop support \"\n        \"for Python 3.7.\"\n    )\n    warnings.warn(message, Python37DeprecationWarning)\n\n# Set default logging handler to avoid \"No handler found\" warnings.\nlogging.getLogger(__name__).addHandler(logging.NullHandler())\n", "path": "google/auth/__init__.py"}]}