We are currently solving the following issue within our repository. Here is the issue text:
--- BEGIN ISSUE ---
RTD build is broken
Can look at this, leaving as note as reminder.

--- END ISSUE ---

Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
--- BEGIN FILES ---
Path: `setup.py`
Content:
```
1 # Copyright 2016 Google Inc.
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 import os
16 
17 from setuptools import find_packages
18 from setuptools import setup
19 
20 
21 PACKAGE_ROOT = os.path.abspath(os.path.dirname(__file__))
22 
23 with open(os.path.join(PACKAGE_ROOT, 'README.rst')) as file_obj:
24     README = file_obj.read()
25 
26 # NOTE: This is duplicated throughout and we should try to
27 #       consolidate.
28 SETUP_BASE = {
29     'author': 'Google Cloud Platform',
30     'author_email': 'jjg+google-cloud-python@google.com',
31     'scripts': [],
32     'url': 'https://github.com/GoogleCloudPlatform/google-cloud-python',
33     'license': 'Apache 2.0',
34     'platforms': 'Posix; MacOS X; Windows',
35     'include_package_data': True,
36     'zip_safe': False,
37     'classifiers': [
38         'Development Status :: 4 - Beta',
39         'Intended Audience :: Developers',
40         'License :: OSI Approved :: Apache Software License',
41         'Operating System :: OS Independent',
42         'Programming Language :: Python :: 2',
43         'Programming Language :: Python :: 2.7',
44         'Programming Language :: Python :: 3',
45         'Programming Language :: Python :: 3.4',
46         'Programming Language :: Python :: 3.5',
47         'Topic :: Internet',
48     ],
49 }
50 
51 
52 REQUIREMENTS = [
53     'google-cloud-bigquery >= 0.22.1, < 0.23dev',
54     'google-cloud-bigtable >= 0.22.0, < 0.23dev',
55     'google-cloud-core >= 0.22.1, < 0.23dev',
56     'google-cloud-datastore >= 0.22.0, < 0.23dev',
57     'google-cloud-dns >= 0.22.0, < 0.23dev',
58     'google-cloud-error-reporting >= 0.22.0, < 0.23dev',
59     'google-cloud-language >= 0.22.1, < 0.23dev',
60     'google-cloud-logging >= 0.22.0, < 0.23dev',
61     'google-cloud-monitoring >= 0.22.0, < 0.23dev',
62     'google-cloud-pubsub >= 0.22.0, < 0.23dev',
63     'google-cloud-resource-manager >= 0.22.0, < 0.23dev',
64     'google-cloud-storage >= 0.22.0, < 0.23dev',
65     'google-cloud-translate >= 0.22.0, < 0.23dev',
66     'google-cloud-vision >= 0.22.0, < 0.23dev',
67     'google-cloud-runtimeconfig >= 0.22.0, < 0.23dev',
68 ]
69 
70 setup(
71     name='google-cloud',
72     version='0.22.0',
73     description='API Client library for Google Cloud',
74     long_description=README,
75     install_requires=REQUIREMENTS,
76     **SETUP_BASE
77 )
78
```
--- 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/setup.py b/setup.py
--- a/setup.py
+++ b/setup.py
@@ -52,7 +52,7 @@
 REQUIREMENTS = [
     'google-cloud-bigquery >= 0.22.1, < 0.23dev',
     'google-cloud-bigtable >= 0.22.0, < 0.23dev',
-    'google-cloud-core >= 0.22.1, < 0.23dev',
+    'google-cloud-core >= 0.23.0, < 0.24dev',
     'google-cloud-datastore >= 0.22.0, < 0.23dev',
     'google-cloud-dns >= 0.22.0, < 0.23dev',
     'google-cloud-error-reporting >= 0.22.0, < 0.23dev',

{"golden_diff": "diff --git a/setup.py b/setup.py\n--- a/setup.py\n+++ b/setup.py\n@@ -52,7 +52,7 @@\n REQUIREMENTS = [\n     'google-cloud-bigquery >= 0.22.1, < 0.23dev',\n     'google-cloud-bigtable >= 0.22.0, < 0.23dev',\n-    'google-cloud-core >= 0.22.1, < 0.23dev',\n+    'google-cloud-core >= 0.23.0, < 0.24dev',\n     'google-cloud-datastore >= 0.22.0, < 0.23dev',\n     'google-cloud-dns >= 0.22.0, < 0.23dev',\n     'google-cloud-error-reporting >= 0.22.0, < 0.23dev',\n", "issue": "RTD build is broken\nCan look at this, leaving as note as reminder.\n", "before_files": [{"content": "# Copyright 2016 Google Inc.\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\nimport os\n\nfrom setuptools import find_packages\nfrom setuptools import setup\n\n\nPACKAGE_ROOT = os.path.abspath(os.path.dirname(__file__))\n\nwith open(os.path.join(PACKAGE_ROOT, 'README.rst')) as file_obj:\n    README = file_obj.read()\n\n# NOTE: This is duplicated throughout and we should try to\n#       consolidate.\nSETUP_BASE = {\n    'author': 'Google Cloud Platform',\n    'author_email': 'jjg+google-cloud-python@google.com',\n    'scripts': [],\n    'url': 'https://github.com/GoogleCloudPlatform/google-cloud-python',\n    'license': 'Apache 2.0',\n    'platforms': 'Posix; MacOS X; Windows',\n    'include_package_data': True,\n    'zip_safe': False,\n    'classifiers': [\n        'Development Status :: 4 - Beta',\n        'Intended Audience :: Developers',\n        'License :: OSI Approved :: Apache Software License',\n        'Operating System :: OS Independent',\n        'Programming Language :: Python :: 2',\n        'Programming Language :: Python :: 2.7',\n        'Programming Language :: Python :: 3',\n        'Programming Language :: Python :: 3.4',\n        'Programming Language :: Python :: 3.5',\n        'Topic :: Internet',\n    ],\n}\n\n\nREQUIREMENTS = [\n    'google-cloud-bigquery >= 0.22.1, < 0.23dev',\n    'google-cloud-bigtable >= 0.22.0, < 0.23dev',\n    'google-cloud-core >= 0.22.1, < 0.23dev',\n    'google-cloud-datastore >= 0.22.0, < 0.23dev',\n    'google-cloud-dns >= 0.22.0, < 0.23dev',\n    'google-cloud-error-reporting >= 0.22.0, < 0.23dev',\n    'google-cloud-language >= 0.22.1, < 0.23dev',\n    'google-cloud-logging >= 0.22.0, < 0.23dev',\n    'google-cloud-monitoring >= 0.22.0, < 0.23dev',\n    'google-cloud-pubsub >= 0.22.0, < 0.23dev',\n    'google-cloud-resource-manager >= 0.22.0, < 0.23dev',\n    'google-cloud-storage >= 0.22.0, < 0.23dev',\n    'google-cloud-translate >= 0.22.0, < 0.23dev',\n    'google-cloud-vision >= 0.22.0, < 0.23dev',\n    'google-cloud-runtimeconfig >= 0.22.0, < 0.23dev',\n]\n\nsetup(\n    name='google-cloud',\n    version='0.22.0',\n    description='API Client library for Google Cloud',\n    long_description=README,\n    install_requires=REQUIREMENTS,\n    **SETUP_BASE\n)\n", "path": "setup.py"}], "after_files": [{"content": "# Copyright 2016 Google Inc.\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\nimport os\n\nfrom setuptools import find_packages\nfrom setuptools import setup\n\n\nPACKAGE_ROOT = os.path.abspath(os.path.dirname(__file__))\n\nwith open(os.path.join(PACKAGE_ROOT, 'README.rst')) as file_obj:\n    README = file_obj.read()\n\n# NOTE: This is duplicated throughout and we should try to\n#       consolidate.\nSETUP_BASE = {\n    'author': 'Google Cloud Platform',\n    'author_email': 'jjg+google-cloud-python@google.com',\n    'scripts': [],\n    'url': 'https://github.com/GoogleCloudPlatform/google-cloud-python',\n    'license': 'Apache 2.0',\n    'platforms': 'Posix; MacOS X; Windows',\n    'include_package_data': True,\n    'zip_safe': False,\n    'classifiers': [\n        'Development Status :: 4 - Beta',\n        'Intended Audience :: Developers',\n        'License :: OSI Approved :: Apache Software License',\n        'Operating System :: OS Independent',\n        'Programming Language :: Python :: 2',\n        'Programming Language :: Python :: 2.7',\n        'Programming Language :: Python :: 3',\n        'Programming Language :: Python :: 3.4',\n        'Programming Language :: Python :: 3.5',\n        'Topic :: Internet',\n    ],\n}\n\n\nREQUIREMENTS = [\n    'google-cloud-bigquery >= 0.22.1, < 0.23dev',\n    'google-cloud-bigtable >= 0.22.0, < 0.23dev',\n    'google-cloud-core >= 0.23.0, < 0.24dev',\n    'google-cloud-datastore >= 0.22.0, < 0.23dev',\n    'google-cloud-dns >= 0.22.0, < 0.23dev',\n    'google-cloud-error-reporting >= 0.22.0, < 0.23dev',\n    'google-cloud-language >= 0.22.1, < 0.23dev',\n    'google-cloud-logging >= 0.22.0, < 0.23dev',\n    'google-cloud-monitoring >= 0.22.0, < 0.23dev',\n    'google-cloud-pubsub >= 0.22.0, < 0.23dev',\n    'google-cloud-resource-manager >= 0.22.0, < 0.23dev',\n    'google-cloud-storage >= 0.22.0, < 0.23dev',\n    'google-cloud-translate >= 0.22.0, < 0.23dev',\n    'google-cloud-vision >= 0.22.0, < 0.23dev',\n    'google-cloud-runtimeconfig >= 0.22.0, < 0.23dev',\n]\n\nsetup(\n    name='google-cloud',\n    version='0.22.0',\n    description='API Client library for Google Cloud',\n    long_description=README,\n    install_requires=REQUIREMENTS,\n    **SETUP_BASE\n)\n", "path": "setup.py"}]}