We are currently solving the following issue within our repository. Here is the issue text:
--- BEGIN ISSUE ---
pip-review should compare version, not test equality
```
$ pip-review
pelican==3.0.1 is available (you have 3.1)
```

I'm locally testing this package, and `pip-review` will just test if current installed version is the same as the latest version in `pip`. Which causes problem as shown above.


--- 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 """
2 pip-tools keeps your pinned dependencies fresh.
3 """
4 import sys
5 from setuptools import setup
6 
7 
8 def get_dependencies():
9     deps = []
10     if sys.version_info < (2, 7):
11         deps += ['argparse']
12     return deps
13 
14 
15 setup(
16     name='pip-tools',
17     version='0.2.1',
18     url='https://github.com/nvie/pip-tools/',
19     license='BSD',
20     author='Vincent Driessen',
21     author_email='vincent@3rdcloud.com',
22     description=__doc__.strip('\n'),
23     #packages=[],
24     scripts=['bin/pip-review', 'bin/pip-dump'],
25     #include_package_data=True,
26     zip_safe=False,
27     platforms='any',
28     install_requires=get_dependencies(),
29     classifiers=[
30         # As from http://pypi.python.org/pypi?%3Aaction=list_classifiers
31         #'Development Status :: 1 - Planning',
32         #'Development Status :: 2 - Pre-Alpha',
33         #'Development Status :: 3 - Alpha',
34         'Development Status :: 4 - Beta',
35         #'Development Status :: 5 - Production/Stable',
36         #'Development Status :: 6 - Mature',
37         #'Development Status :: 7 - Inactive',
38         'Programming Language :: Python',
39         'Programming Language :: Python :: 2',
40         #'Programming Language :: Python :: 2.3',
41         #'Programming Language :: Python :: 2.4',
42         #'Programming Language :: Python :: 2.5',
43         'Programming Language :: Python :: 2.6',
44         'Programming Language :: Python :: 2.7',
45         #'Programming Language :: Python :: 3',
46         #'Programming Language :: Python :: 3.0',
47         #'Programming Language :: Python :: 3.1',
48         #'Programming Language :: Python :: 3.2',
49         #'Programming Language :: Python :: 3.3',
50         'Intended Audience :: Developers',
51         'Intended Audience :: System Administrators',
52         'License :: OSI Approved :: BSD License',
53         'Operating System :: OS Independent',
54         'Topic :: System :: Systems Administration',
55     ]
56 )
57
```
--- 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
@@ -6,7 +6,7 @@
 
 
 def get_dependencies():
-    deps = []
+    deps = ['verlib']
     if sys.version_info < (2, 7):
         deps += ['argparse']
     return deps

{"golden_diff": "diff --git a/setup.py b/setup.py\n--- a/setup.py\n+++ b/setup.py\n@@ -6,7 +6,7 @@\n \n \n def get_dependencies():\n-    deps = []\n+    deps = ['verlib']\n     if sys.version_info < (2, 7):\n         deps += ['argparse']\n     return deps\n", "issue": "pip-review should compare version, not test equality\n```\n$ pip-review\npelican==3.0.1 is available (you have 3.1)\n```\n\nI'm locally testing this package, and `pip-review` will just test if current installed version is the same as the latest version in `pip`. Which causes problem as shown above.\n\n", "before_files": [{"content": "\"\"\"\npip-tools keeps your pinned dependencies fresh.\n\"\"\"\nimport sys\nfrom setuptools import setup\n\n\ndef get_dependencies():\n    deps = []\n    if sys.version_info < (2, 7):\n        deps += ['argparse']\n    return deps\n\n\nsetup(\n    name='pip-tools',\n    version='0.2.1',\n    url='https://github.com/nvie/pip-tools/',\n    license='BSD',\n    author='Vincent Driessen',\n    author_email='vincent@3rdcloud.com',\n    description=__doc__.strip('\\n'),\n    #packages=[],\n    scripts=['bin/pip-review', 'bin/pip-dump'],\n    #include_package_data=True,\n    zip_safe=False,\n    platforms='any',\n    install_requires=get_dependencies(),\n    classifiers=[\n        # As from http://pypi.python.org/pypi?%3Aaction=list_classifiers\n        #'Development Status :: 1 - Planning',\n        #'Development Status :: 2 - Pre-Alpha',\n        #'Development Status :: 3 - Alpha',\n        'Development Status :: 4 - Beta',\n        #'Development Status :: 5 - Production/Stable',\n        #'Development Status :: 6 - Mature',\n        #'Development Status :: 7 - Inactive',\n        'Programming Language :: Python',\n        'Programming Language :: Python :: 2',\n        #'Programming Language :: Python :: 2.3',\n        #'Programming Language :: Python :: 2.4',\n        #'Programming Language :: Python :: 2.5',\n        'Programming Language :: Python :: 2.6',\n        'Programming Language :: Python :: 2.7',\n        #'Programming Language :: Python :: 3',\n        #'Programming Language :: Python :: 3.0',\n        #'Programming Language :: Python :: 3.1',\n        #'Programming Language :: Python :: 3.2',\n        #'Programming Language :: Python :: 3.3',\n        'Intended Audience :: Developers',\n        'Intended Audience :: System Administrators',\n        'License :: OSI Approved :: BSD License',\n        'Operating System :: OS Independent',\n        'Topic :: System :: Systems Administration',\n    ]\n)\n", "path": "setup.py"}], "after_files": [{"content": "\"\"\"\npip-tools keeps your pinned dependencies fresh.\n\"\"\"\nimport sys\nfrom setuptools import setup\n\n\ndef get_dependencies():\n    deps = ['verlib']\n    if sys.version_info < (2, 7):\n        deps += ['argparse']\n    return deps\n\n\nsetup(\n    name='pip-tools',\n    version='0.2.1',\n    url='https://github.com/nvie/pip-tools/',\n    license='BSD',\n    author='Vincent Driessen',\n    author_email='vincent@3rdcloud.com',\n    description=__doc__.strip('\\n'),\n    #packages=[],\n    scripts=['bin/pip-review', 'bin/pip-dump'],\n    #include_package_data=True,\n    zip_safe=False,\n    platforms='any',\n    install_requires=get_dependencies(),\n    classifiers=[\n        # As from http://pypi.python.org/pypi?%3Aaction=list_classifiers\n        #'Development Status :: 1 - Planning',\n        #'Development Status :: 2 - Pre-Alpha',\n        #'Development Status :: 3 - Alpha',\n        'Development Status :: 4 - Beta',\n        #'Development Status :: 5 - Production/Stable',\n        #'Development Status :: 6 - Mature',\n        #'Development Status :: 7 - Inactive',\n        'Programming Language :: Python',\n        'Programming Language :: Python :: 2',\n        #'Programming Language :: Python :: 2.3',\n        #'Programming Language :: Python :: 2.4',\n        #'Programming Language :: Python :: 2.5',\n        'Programming Language :: Python :: 2.6',\n        'Programming Language :: Python :: 2.7',\n        #'Programming Language :: Python :: 3',\n        #'Programming Language :: Python :: 3.0',\n        #'Programming Language :: Python :: 3.1',\n        #'Programming Language :: Python :: 3.2',\n        #'Programming Language :: Python :: 3.3',\n        'Intended Audience :: Developers',\n        'Intended Audience :: System Administrators',\n        'License :: OSI Approved :: BSD License',\n        'Operating System :: OS Independent',\n        'Topic :: System :: Systems Administration',\n    ]\n)\n", "path": "setup.py"}]}