We are currently solving the following issue within our repository. Here is the issue text:
--- BEGIN ISSUE ---
CLN: Remove or consolidate dev dependencies from setup.py and environment.yml
I noticed in https://github.com/ibis-project/ibis/pull/2547#issue-529169508 that the dev dependencies are not in sync in https://github.com/ibis-project/ibis/blob/master/setup.py#L63 and https://github.com/ibis-project/ibis/blob/master/environment.yml#L24

`environment.yml` looks more up to date; the dev dependencies in `setup.py` should either be synced with that file or just removed.

--- 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 #!/usr/bin/env python
2 """Ibis setup module."""
3 import pathlib
4 import sys
5 
6 from setuptools import find_packages, setup
7 
8 import versioneer
9 
10 LONG_DESCRIPTION = """
11 Ibis is a productivity-centric Python big data framework.
12 
13 See http://ibis-project.org
14 """
15 
16 VERSION = sys.version_info.major, sys.version_info.minor
17 
18 impala_requires = ['hdfs>=2.0.16', 'sqlalchemy>=1.1,<1.3.7', 'requests']
19 impala_requires.append('impyla[kerberos]>=0.15.0')
20 
21 sqlite_requires = ['sqlalchemy>=1.1,<1.3.7']
22 postgres_requires = sqlite_requires + ['psycopg2']
23 mysql_requires = sqlite_requires + ['pymysql']
24 
25 omniscidb_requires = ['pymapd==0.24', 'pyarrow']
26 kerberos_requires = ['requests-kerberos']
27 visualization_requires = ['graphviz']
28 clickhouse_requires = [
29     'clickhouse-driver>=0.1.3',
30     'clickhouse-cityhash',
31 ]
32 bigquery_requires = [
33     'google-cloud-bigquery[bqstorage,pandas]>=1.12.0,<2.0.0dev',
34     'pydata-google-auth',
35 ]
36 hdf5_requires = ['tables>=3.0.0']
37 
38 parquet_requires = ['pyarrow>=0.12.0']
39 spark_requires = ['pyspark>=2.4.3']
40 
41 geospatial_requires = ['geoalchemy2', 'geopandas', 'shapely']
42 
43 dask_requires = [
44     'dask[dataframe, array]',
45 ]
46 
47 all_requires = (
48     impala_requires
49     + postgres_requires
50     + omniscidb_requires
51     + mysql_requires
52     + kerberos_requires
53     + visualization_requires
54     + clickhouse_requires
55     + bigquery_requires
56     + hdf5_requires
57     + parquet_requires
58     + spark_requires
59     + geospatial_requires
60     + dask_requires
61 )
62 
63 develop_requires = all_requires + [
64     'black',
65     'click',
66     'pydocstyle==4.0.1',
67     'flake8',
68     'isort',
69     'mypy',
70     'pre-commit',
71     'pygit2',
72     'pytest>=4.5',
73 ]
74 
75 install_requires = [
76     line.strip()
77     for line in pathlib.Path(__file__)
78     .parent.joinpath('requirements.txt')
79     .read_text()
80     .splitlines()
81 ]
82 
83 setup(
84     name='ibis-framework',
85     url='https://github.com/ibis-project/ibis',
86     packages=find_packages(),
87     version=versioneer.get_version(),
88     cmdclass=versioneer.get_cmdclass(),
89     install_requires=install_requires,
90     python_requires='>=3.7',
91     extras_require={
92         'all': all_requires,
93         'develop': develop_requires,
94         'impala': impala_requires,
95         'kerberos': kerberos_requires,
96         'postgres': postgres_requires,
97         'omniscidb': omniscidb_requires,
98         'mysql': mysql_requires,
99         'sqlite': sqlite_requires,
100         'visualization': visualization_requires,
101         'clickhouse': clickhouse_requires,
102         'bigquery': bigquery_requires,
103         'hdf5': hdf5_requires,
104         'parquet': parquet_requires,
105         'spark': spark_requires,
106         'geospatial': geospatial_requires,
107         'dask': dask_requires,
108     },
109     description="Productivity-centric Python Big Data Framework",
110     long_description=LONG_DESCRIPTION,
111     classifiers=[
112         'Development Status :: 4 - Beta',
113         'Operating System :: OS Independent',
114         'Intended Audience :: Science/Research',
115         'Programming Language :: Python',
116         'Programming Language :: Python :: 3',
117         'Topic :: Scientific/Engineering',
118     ],
119     license='Apache License, Version 2.0',
120     maintainer="Phillip Cloud",
121     maintainer_email="phillip.cloud@twosigma.com",
122 )
123
```
--- 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
@@ -60,18 +60,6 @@
     + dask_requires
 )
 
-develop_requires = all_requires + [
-    'black',
-    'click',
-    'pydocstyle==4.0.1',
-    'flake8',
-    'isort',
-    'mypy',
-    'pre-commit',
-    'pygit2',
-    'pytest>=4.5',
-]
-
 install_requires = [
     line.strip()
     for line in pathlib.Path(__file__)
@@ -90,7 +78,6 @@
     python_requires='>=3.7',
     extras_require={
         'all': all_requires,
-        'develop': develop_requires,
         'impala': impala_requires,
         'kerberos': kerberos_requires,
         'postgres': postgres_requires,

{"golden_diff": "diff --git a/setup.py b/setup.py\n--- a/setup.py\n+++ b/setup.py\n@@ -60,18 +60,6 @@\n     + dask_requires\n )\n \n-develop_requires = all_requires + [\n-    'black',\n-    'click',\n-    'pydocstyle==4.0.1',\n-    'flake8',\n-    'isort',\n-    'mypy',\n-    'pre-commit',\n-    'pygit2',\n-    'pytest>=4.5',\n-]\n-\n install_requires = [\n     line.strip()\n     for line in pathlib.Path(__file__)\n@@ -90,7 +78,6 @@\n     python_requires='>=3.7',\n     extras_require={\n         'all': all_requires,\n-        'develop': develop_requires,\n         'impala': impala_requires,\n         'kerberos': kerberos_requires,\n         'postgres': postgres_requires,\n", "issue": "CLN: Remove or consolidate dev dependencies from setup.py and environment.yml\nI noticed in https://github.com/ibis-project/ibis/pull/2547#issue-529169508 that the dev dependencies are not in sync in https://github.com/ibis-project/ibis/blob/master/setup.py#L63 and https://github.com/ibis-project/ibis/blob/master/environment.yml#L24\r\n\r\n`environment.yml` looks more up to date; the dev dependencies in `setup.py` should either be synced with that file or just removed.\n", "before_files": [{"content": "#!/usr/bin/env python\n\"\"\"Ibis setup module.\"\"\"\nimport pathlib\nimport sys\n\nfrom setuptools import find_packages, setup\n\nimport versioneer\n\nLONG_DESCRIPTION = \"\"\"\nIbis is a productivity-centric Python big data framework.\n\nSee http://ibis-project.org\n\"\"\"\n\nVERSION = sys.version_info.major, sys.version_info.minor\n\nimpala_requires = ['hdfs>=2.0.16', 'sqlalchemy>=1.1,<1.3.7', 'requests']\nimpala_requires.append('impyla[kerberos]>=0.15.0')\n\nsqlite_requires = ['sqlalchemy>=1.1,<1.3.7']\npostgres_requires = sqlite_requires + ['psycopg2']\nmysql_requires = sqlite_requires + ['pymysql']\n\nomniscidb_requires = ['pymapd==0.24', 'pyarrow']\nkerberos_requires = ['requests-kerberos']\nvisualization_requires = ['graphviz']\nclickhouse_requires = [\n    'clickhouse-driver>=0.1.3',\n    'clickhouse-cityhash',\n]\nbigquery_requires = [\n    'google-cloud-bigquery[bqstorage,pandas]>=1.12.0,<2.0.0dev',\n    'pydata-google-auth',\n]\nhdf5_requires = ['tables>=3.0.0']\n\nparquet_requires = ['pyarrow>=0.12.0']\nspark_requires = ['pyspark>=2.4.3']\n\ngeospatial_requires = ['geoalchemy2', 'geopandas', 'shapely']\n\ndask_requires = [\n    'dask[dataframe, array]',\n]\n\nall_requires = (\n    impala_requires\n    + postgres_requires\n    + omniscidb_requires\n    + mysql_requires\n    + kerberos_requires\n    + visualization_requires\n    + clickhouse_requires\n    + bigquery_requires\n    + hdf5_requires\n    + parquet_requires\n    + spark_requires\n    + geospatial_requires\n    + dask_requires\n)\n\ndevelop_requires = all_requires + [\n    'black',\n    'click',\n    'pydocstyle==4.0.1',\n    'flake8',\n    'isort',\n    'mypy',\n    'pre-commit',\n    'pygit2',\n    'pytest>=4.5',\n]\n\ninstall_requires = [\n    line.strip()\n    for line in pathlib.Path(__file__)\n    .parent.joinpath('requirements.txt')\n    .read_text()\n    .splitlines()\n]\n\nsetup(\n    name='ibis-framework',\n    url='https://github.com/ibis-project/ibis',\n    packages=find_packages(),\n    version=versioneer.get_version(),\n    cmdclass=versioneer.get_cmdclass(),\n    install_requires=install_requires,\n    python_requires='>=3.7',\n    extras_require={\n        'all': all_requires,\n        'develop': develop_requires,\n        'impala': impala_requires,\n        'kerberos': kerberos_requires,\n        'postgres': postgres_requires,\n        'omniscidb': omniscidb_requires,\n        'mysql': mysql_requires,\n        'sqlite': sqlite_requires,\n        'visualization': visualization_requires,\n        'clickhouse': clickhouse_requires,\n        'bigquery': bigquery_requires,\n        'hdf5': hdf5_requires,\n        'parquet': parquet_requires,\n        'spark': spark_requires,\n        'geospatial': geospatial_requires,\n        'dask': dask_requires,\n    },\n    description=\"Productivity-centric Python Big Data Framework\",\n    long_description=LONG_DESCRIPTION,\n    classifiers=[\n        'Development Status :: 4 - Beta',\n        'Operating System :: OS Independent',\n        'Intended Audience :: Science/Research',\n        'Programming Language :: Python',\n        'Programming Language :: Python :: 3',\n        'Topic :: Scientific/Engineering',\n    ],\n    license='Apache License, Version 2.0',\n    maintainer=\"Phillip Cloud\",\n    maintainer_email=\"phillip.cloud@twosigma.com\",\n)\n", "path": "setup.py"}], "after_files": [{"content": "#!/usr/bin/env python\n\"\"\"Ibis setup module.\"\"\"\nimport pathlib\nimport sys\n\nfrom setuptools import find_packages, setup\n\nimport versioneer\n\nLONG_DESCRIPTION = \"\"\"\nIbis is a productivity-centric Python big data framework.\n\nSee http://ibis-project.org\n\"\"\"\n\nVERSION = sys.version_info.major, sys.version_info.minor\n\nimpala_requires = ['hdfs>=2.0.16', 'sqlalchemy>=1.1,<1.3.7', 'requests']\nimpala_requires.append('impyla[kerberos]>=0.15.0')\n\nsqlite_requires = ['sqlalchemy>=1.1,<1.3.7']\npostgres_requires = sqlite_requires + ['psycopg2']\nmysql_requires = sqlite_requires + ['pymysql']\n\nomniscidb_requires = ['pymapd==0.24', 'pyarrow']\nkerberos_requires = ['requests-kerberos']\nvisualization_requires = ['graphviz']\nclickhouse_requires = [\n    'clickhouse-driver>=0.1.3',\n    'clickhouse-cityhash',\n]\nbigquery_requires = [\n    'google-cloud-bigquery[bqstorage,pandas]>=1.12.0,<2.0.0dev',\n    'pydata-google-auth',\n]\nhdf5_requires = ['tables>=3.0.0']\n\nparquet_requires = ['pyarrow>=0.12.0']\nspark_requires = ['pyspark>=2.4.3']\n\ngeospatial_requires = ['geoalchemy2', 'geopandas', 'shapely']\n\ndask_requires = [\n    'dask[dataframe, array]',\n]\n\nall_requires = (\n    impala_requires\n    + postgres_requires\n    + omniscidb_requires\n    + mysql_requires\n    + kerberos_requires\n    + visualization_requires\n    + clickhouse_requires\n    + bigquery_requires\n    + hdf5_requires\n    + parquet_requires\n    + spark_requires\n    + geospatial_requires\n    + dask_requires\n)\n\ninstall_requires = [\n    line.strip()\n    for line in pathlib.Path(__file__)\n    .parent.joinpath('requirements.txt')\n    .read_text()\n    .splitlines()\n]\n\nsetup(\n    name='ibis-framework',\n    url='https://github.com/ibis-project/ibis',\n    packages=find_packages(),\n    version=versioneer.get_version(),\n    cmdclass=versioneer.get_cmdclass(),\n    install_requires=install_requires,\n    python_requires='>=3.7',\n    extras_require={\n        'all': all_requires,\n        'impala': impala_requires,\n        'kerberos': kerberos_requires,\n        'postgres': postgres_requires,\n        'omniscidb': omniscidb_requires,\n        'mysql': mysql_requires,\n        'sqlite': sqlite_requires,\n        'visualization': visualization_requires,\n        'clickhouse': clickhouse_requires,\n        'bigquery': bigquery_requires,\n        'hdf5': hdf5_requires,\n        'parquet': parquet_requires,\n        'spark': spark_requires,\n        'geospatial': geospatial_requires,\n        'dask': dask_requires,\n    },\n    description=\"Productivity-centric Python Big Data Framework\",\n    long_description=LONG_DESCRIPTION,\n    classifiers=[\n        'Development Status :: 4 - Beta',\n        'Operating System :: OS Independent',\n        'Intended Audience :: Science/Research',\n        'Programming Language :: Python',\n        'Programming Language :: Python :: 3',\n        'Topic :: Scientific/Engineering',\n    ],\n    license='Apache License, Version 2.0',\n    maintainer=\"Phillip Cloud\",\n    maintainer_email=\"phillip.cloud@twosigma.com\",\n)\n", "path": "setup.py"}]}