prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  Missing package named `packaging`
  ### Describe the bug
  #3267 introduced a new python dependency named `packaging` (https://pypi.org/project/packaging/). We need to add it to the `install_requires` list in `core/setup.py`.
  
  ### Steps To Reproduce
  This issue only affects 0.20.0b1 at the moment. Install dbt v0.20.0b1 in a bare virtualenv and run a command that utilizes the missing packaging (`dbt --version`)
  
  ```bash
  $ dbt --version
  Traceback (most recent call last):
    File "/Users/kwigley/.virtualenvs/tempenv-0d661869220df/bin/dbt", line 5, in <module>
      from dbt.main import main
    File "/Users/kwigley/.virtualenvs/tempenv-0d661869220df/lib/python3.9/site-packages/dbt/main.py", line 17, in <module>
      import dbt.task.deps as deps_task
    File "/Users/kwigley/.virtualenvs/tempenv-0d661869220df/lib/python3.9/site-packages/dbt/task/deps.py", line 9, in <module>
      from dbt.deps.resolver import resolve_packages
    File "/Users/kwigley/.virtualenvs/tempenv-0d661869220df/lib/python3.9/site-packages/dbt/deps/resolver.py", line 11, in <module>
      from dbt.deps.git import GitUnpinnedPackage
    File "/Users/kwigley/.virtualenvs/tempenv-0d661869220df/lib/python3.9/site-packages/dbt/deps/git.py", line 5, in <module>
      from dbt.clients import git, system
    File "/Users/kwigley/.virtualenvs/tempenv-0d661869220df/lib/python3.9/site-packages/dbt/clients/git.py", line 7, in <module>
      from packaging import version
  ModuleNotFoundError: No module named 'packaging'
  ```
  
  ### Additional context
  This wasn't caught during testing since `packaging` is installed because it is an upstream dependency of our testing tools (`tox` and `pytest`). Our current testing setup is not configured to catch this. 
  
  
  --- END ISSUE ---
  
  Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
  --- BEGIN FILES ---
  Path: `core/setup.py`
  Content:
  ```
  1 #!/usr/bin/env python
  2 import os
  3 import sys
  4 
  5 if sys.version_info < (3, 6):
  6     print('Error: dbt does not support this version of Python.')
  7     print('Please upgrade to Python 3.6 or higher.')
  8     sys.exit(1)
  9 
  10 
  11 from setuptools import setup
  12 try:
  13     from setuptools import find_namespace_packages
  14 except ImportError:
  15     # the user has a downlevel version of setuptools.
  16     print('Error: dbt requires setuptools v40.1.0 or higher.')
  17     print('Please upgrade setuptools with "pip install --upgrade setuptools" '
  18           'and try again')
  19     sys.exit(1)
  20 
  21 
  22 def read(fname):
  23     return open(os.path.join(os.path.dirname(__file__), fname)).read()
  24 
  25 
  26 package_name = "dbt-core"
  27 package_version = "0.20.0b1"
  28 description = """dbt (data build tool) is a command line tool that helps \
  29 analysts and engineers transform data in their warehouse more effectively"""
  30 
  31 
  32 setup(
  33     name=package_name,
  34     version=package_version,
  35     description=description,
  36     long_description=description,
  37     author="Fishtown Analytics",
  38     author_email="info@fishtownanalytics.com",
  39     url="https://github.com/fishtown-analytics/dbt",
  40     packages=find_namespace_packages(include=['dbt', 'dbt.*']),
  41     package_data={
  42         'dbt': [
  43             'include/index.html',
  44             'include/global_project/dbt_project.yml',
  45             'include/global_project/docs/*.md',
  46             'include/global_project/macros/*.sql',
  47             'include/global_project/macros/**/*.sql',
  48             'include/global_project/macros/**/**/*.sql',
  49             'py.typed',
  50         ]
  51     },
  52     test_suite='test',
  53     entry_points={
  54         'console_scripts': [
  55             'dbt = dbt.main:main',
  56         ],
  57     },
  58     scripts=[
  59         'scripts/dbt',
  60     ],
  61     install_requires=[
  62         'Jinja2==2.11.2',
  63         'PyYAML>=3.11',
  64         'sqlparse>=0.2.3,<0.4',
  65         'networkx>=2.3,<3',
  66         'minimal-snowplow-tracker==0.0.2',
  67         'colorama>=0.3.9,<0.4.5',
  68         'agate>=1.6,<1.6.2',
  69         'isodate>=0.6,<0.7',
  70         'json-rpc>=1.12,<2',
  71         'werkzeug>=0.15,<2.0',
  72         'dataclasses>=0.6,<0.9;python_version<"3.7"',
  73         'hologram==0.0.14',
  74         'logbook>=1.5,<1.6',
  75         'mashumaro==2.0',
  76         'typing-extensions>=3.7.4,<3.8',
  77         # the following are all to match snowflake-connector-python
  78         'requests<3.0.0',
  79         'idna>=2.5,<3',
  80         'cffi>=1.9,<2.0.0',
  81     ],
  82     zip_safe=False,
  83     classifiers=[
  84         'Development Status :: 5 - Production/Stable',
  85 
  86         'License :: OSI Approved :: Apache Software License',
  87 
  88         'Operating System :: Microsoft :: Windows',
  89         'Operating System :: MacOS :: MacOS X',
  90         'Operating System :: POSIX :: Linux',
  91 
  92         'Programming Language :: Python :: 3.6',
  93         'Programming Language :: Python :: 3.7',
  94         'Programming Language :: Python :: 3.8',
  95         'Programming Language :: Python :: 3.9',
  96     ],
  97     python_requires=">=3.6.3",
  98 )
  99
  ```
  --- 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()
  
  ```
  
golden_diff: diff --git a/core/setup.py b/core/setup.py
  --- a/core/setup.py
  +++ b/core/setup.py
  @@ -61,19 +61,20 @@
       install_requires=[
           'Jinja2==2.11.2',
           'PyYAML>=3.11',
  -        'sqlparse>=0.2.3,<0.4',
  -        'networkx>=2.3,<3',
  -        'minimal-snowplow-tracker==0.0.2',
  -        'colorama>=0.3.9,<0.4.5',
           'agate>=1.6,<1.6.2',
  -        'isodate>=0.6,<0.7',
  -        'json-rpc>=1.12,<2',
  -        'werkzeug>=0.15,<2.0',
  +        'colorama>=0.3.9,<0.4.5',
           'dataclasses>=0.6,<0.9;python_version<"3.7"',
           'hologram==0.0.14',
  +        'isodate>=0.6,<0.7',
  +        'json-rpc>=1.12,<2',
           'logbook>=1.5,<1.6',
           'mashumaro==2.0',
  +        'minimal-snowplow-tracker==0.0.2',
  +        'networkx>=2.3,<3',
  +        'packaging~=20.9',
  +        'sqlparse>=0.2.3,<0.4',
           'typing-extensions>=3.7.4,<3.8',
  +        'werkzeug>=0.15,<2.0',
           # the following are all to match snowflake-connector-python
           'requests<3.0.0',
           'idna>=2.5,<3',
  
verification_info: {"golden_diff": "diff --git a/core/setup.py b/core/setup.py\n--- a/core/setup.py\n+++ b/core/setup.py\n@@ -61,19 +61,20 @@\n     install_requires=[\n         'Jinja2==2.11.2',\n         'PyYAML>=3.11',\n-        'sqlparse>=0.2.3,<0.4',\n-        'networkx>=2.3,<3',\n-        'minimal-snowplow-tracker==0.0.2',\n-        'colorama>=0.3.9,<0.4.5',\n         'agate>=1.6,<1.6.2',\n-        'isodate>=0.6,<0.7',\n-        'json-rpc>=1.12,<2',\n-        'werkzeug>=0.15,<2.0',\n+        'colorama>=0.3.9,<0.4.5',\n         'dataclasses>=0.6,<0.9;python_version<\"3.7\"',\n         'hologram==0.0.14',\n+        'isodate>=0.6,<0.7',\n+        'json-rpc>=1.12,<2',\n         'logbook>=1.5,<1.6',\n         'mashumaro==2.0',\n+        'minimal-snowplow-tracker==0.0.2',\n+        'networkx>=2.3,<3',\n+        'packaging~=20.9',\n+        'sqlparse>=0.2.3,<0.4',\n         'typing-extensions>=3.7.4,<3.8',\n+        'werkzeug>=0.15,<2.0',\n         # the following are all to match snowflake-connector-python\n         'requests<3.0.0',\n         'idna>=2.5,<3',\n", "issue": "Missing package named `packaging`\n### Describe the bug\r\n#3267 introduced a new python dependency named `packaging` (https://pypi.org/project/packaging/). We need to add it to the `install_requires` list in `core/setup.py`.\r\n\r\n### Steps To Reproduce\r\nThis issue only affects 0.20.0b1 at the moment. Install dbt v0.20.0b1 in a bare virtualenv and run a command that utilizes the missing packaging (`dbt --version`)\r\n\r\n```bash\r\n$ dbt --version\r\nTraceback (most recent call last):\r\n  File \"/Users/kwigley/.virtualenvs/tempenv-0d661869220df/bin/dbt\", line 5, in <module>\r\n    from dbt.main import main\r\n  File \"/Users/kwigley/.virtualenvs/tempenv-0d661869220df/lib/python3.9/site-packages/dbt/main.py\", line 17, in <module>\r\n    import dbt.task.deps as deps_task\r\n  File \"/Users/kwigley/.virtualenvs/tempenv-0d661869220df/lib/python3.9/site-packages/dbt/task/deps.py\", line 9, in <module>\r\n    from dbt.deps.resolver import resolve_packages\r\n  File \"/Users/kwigley/.virtualenvs/tempenv-0d661869220df/lib/python3.9/site-packages/dbt/deps/resolver.py\", line 11, in <module>\r\n    from dbt.deps.git import GitUnpinnedPackage\r\n  File \"/Users/kwigley/.virtualenvs/tempenv-0d661869220df/lib/python3.9/site-packages/dbt/deps/git.py\", line 5, in <module>\r\n    from dbt.clients import git, system\r\n  File \"/Users/kwigley/.virtualenvs/tempenv-0d661869220df/lib/python3.9/site-packages/dbt/clients/git.py\", line 7, in <module>\r\n    from packaging import version\r\nModuleNotFoundError: No module named 'packaging'\r\n```\r\n\r\n### Additional context\r\nThis wasn't caught during testing since `packaging` is installed because it is an upstream dependency of our testing tools (`tox` and `pytest`). Our current testing setup is not configured to catch this. \r\n\n", "before_files": [{"content": "#!/usr/bin/env python\nimport os\nimport sys\n\nif sys.version_info < (3, 6):\n    print('Error: dbt does not support this version of Python.')\n    print('Please upgrade to Python 3.6 or higher.')\n    sys.exit(1)\n\n\nfrom setuptools import setup\ntry:\n    from setuptools import find_namespace_packages\nexcept ImportError:\n    # the user has a downlevel version of setuptools.\n    print('Error: dbt requires setuptools v40.1.0 or higher.')\n    print('Please upgrade setuptools with \"pip install --upgrade setuptools\" '\n          'and try again')\n    sys.exit(1)\n\n\ndef read(fname):\n    return open(os.path.join(os.path.dirname(__file__), fname)).read()\n\n\npackage_name = \"dbt-core\"\npackage_version = \"0.20.0b1\"\ndescription = \"\"\"dbt (data build tool) is a command line tool that helps \\\nanalysts and engineers transform data in their warehouse more effectively\"\"\"\n\n\nsetup(\n    name=package_name,\n    version=package_version,\n    description=description,\n    long_description=description,\n    author=\"Fishtown Analytics\",\n    author_email=\"info@fishtownanalytics.com\",\n    url=\"https://github.com/fishtown-analytics/dbt\",\n    packages=find_namespace_packages(include=['dbt', 'dbt.*']),\n    package_data={\n        'dbt': [\n            'include/index.html',\n            'include/global_project/dbt_project.yml',\n            'include/global_project/docs/*.md',\n            'include/global_project/macros/*.sql',\n            'include/global_project/macros/**/*.sql',\n            'include/global_project/macros/**/**/*.sql',\n            'py.typed',\n        ]\n    },\n    test_suite='test',\n    entry_points={\n        'console_scripts': [\n            'dbt = dbt.main:main',\n        ],\n    },\n    scripts=[\n        'scripts/dbt',\n    ],\n    install_requires=[\n        'Jinja2==2.11.2',\n        'PyYAML>=3.11',\n        'sqlparse>=0.2.3,<0.4',\n        'networkx>=2.3,<3',\n        'minimal-snowplow-tracker==0.0.2',\n        'colorama>=0.3.9,<0.4.5',\n        'agate>=1.6,<1.6.2',\n        'isodate>=0.6,<0.7',\n        'json-rpc>=1.12,<2',\n        'werkzeug>=0.15,<2.0',\n        'dataclasses>=0.6,<0.9;python_version<\"3.7\"',\n        'hologram==0.0.14',\n        'logbook>=1.5,<1.6',\n        'mashumaro==2.0',\n        'typing-extensions>=3.7.4,<3.8',\n        # the following are all to match snowflake-connector-python\n        'requests<3.0.0',\n        'idna>=2.5,<3',\n        'cffi>=1.9,<2.0.0',\n    ],\n    zip_safe=False,\n    classifiers=[\n        'Development Status :: 5 - Production/Stable',\n\n        'License :: OSI Approved :: Apache Software License',\n\n        'Operating System :: Microsoft :: Windows',\n        'Operating System :: MacOS :: MacOS X',\n        'Operating System :: POSIX :: Linux',\n\n        'Programming Language :: Python :: 3.6',\n        'Programming Language :: Python :: 3.7',\n        'Programming Language :: Python :: 3.8',\n        'Programming Language :: Python :: 3.9',\n    ],\n    python_requires=\">=3.6.3\",\n)\n", "path": "core/setup.py"}], "after_files": [{"content": "#!/usr/bin/env python\nimport os\nimport sys\n\nif sys.version_info < (3, 6):\n    print('Error: dbt does not support this version of Python.')\n    print('Please upgrade to Python 3.6 or higher.')\n    sys.exit(1)\n\n\nfrom setuptools import setup\ntry:\n    from setuptools import find_namespace_packages\nexcept ImportError:\n    # the user has a downlevel version of setuptools.\n    print('Error: dbt requires setuptools v40.1.0 or higher.')\n    print('Please upgrade setuptools with \"pip install --upgrade setuptools\" '\n          'and try again')\n    sys.exit(1)\n\n\ndef read(fname):\n    return open(os.path.join(os.path.dirname(__file__), fname)).read()\n\n\npackage_name = \"dbt-core\"\npackage_version = \"0.20.0b1\"\ndescription = \"\"\"dbt (data build tool) is a command line tool that helps \\\nanalysts and engineers transform data in their warehouse more effectively\"\"\"\n\n\nsetup(\n    name=package_name,\n    version=package_version,\n    description=description,\n    long_description=description,\n    author=\"Fishtown Analytics\",\n    author_email=\"info@fishtownanalytics.com\",\n    url=\"https://github.com/fishtown-analytics/dbt\",\n    packages=find_namespace_packages(include=['dbt', 'dbt.*']),\n    package_data={\n        'dbt': [\n            'include/index.html',\n            'include/global_project/dbt_project.yml',\n            'include/global_project/docs/*.md',\n            'include/global_project/macros/*.sql',\n            'include/global_project/macros/**/*.sql',\n            'include/global_project/macros/**/**/*.sql',\n            'py.typed',\n        ]\n    },\n    test_suite='test',\n    entry_points={\n        'console_scripts': [\n            'dbt = dbt.main:main',\n        ],\n    },\n    scripts=[\n        'scripts/dbt',\n    ],\n    install_requires=[\n        'Jinja2==2.11.2',\n        'PyYAML>=3.11',\n        'agate>=1.6,<1.6.2',\n        'colorama>=0.3.9,<0.4.5',\n        'dataclasses>=0.6,<0.9;python_version<\"3.7\"',\n        'hologram==0.0.14',\n        'isodate>=0.6,<0.7',\n        'json-rpc>=1.12,<2',\n        'logbook>=1.5,<1.6',\n        'mashumaro==2.0',\n        'minimal-snowplow-tracker==0.0.2',\n        'networkx>=2.3,<3',\n        'packaging~=20.9',\n        'sqlparse>=0.2.3,<0.4',\n        'typing-extensions>=3.7.4,<3.8',\n        'werkzeug>=0.15,<2.0',\n        # the following are all to match snowflake-connector-python\n        'requests<3.0.0',\n        'idna>=2.5,<3',\n        'cffi>=1.9,<2.0.0',\n    ],\n    zip_safe=False,\n    classifiers=[\n        'Development Status :: 5 - Production/Stable',\n\n        'License :: OSI Approved :: Apache Software License',\n\n        'Operating System :: Microsoft :: Windows',\n        'Operating System :: MacOS :: MacOS X',\n        'Operating System :: POSIX :: Linux',\n\n        'Programming Language :: Python :: 3.6',\n        'Programming Language :: Python :: 3.7',\n        'Programming Language :: Python :: 3.8',\n        'Programming Language :: Python :: 3.9',\n    ],\n    python_requires=\">=3.6.3\",\n)\n", "path": "core/setup.py"}]}