prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  Go SDK: go get by Version Tag Does Not Work
  ## Problem & Expected Behavour
  `go get` to install the Feast Go SDK should work by version tag:
  ```
  go get github.com/feast-dev/feast/sdk/go@v0.5.1
  ```
  Returns: 
  ```
  go get github.com/feast-dev/feast/sdk/go@v0.5.1: module github.com/feast-dev/feast@v0.5.1 found, but does not contain package github.com/feast-dev/feast/sdk/go
  ```
  Instead of installing the Go SDK at release version tag v0.5.1.
  
  ## Proposed Solution
  - Update [setup.py](https://github.com/feast-dev/feast/blob/89883d418b4935d595585689d63d246ad133cabe/sdk/python/setup.py#L86) to support non semver tags. (ie `sdk/go/v0.5.1`)
  - Introduce additional tag `sdk/go/v<VERSION>` each release. This tag will allow us to pull the go module by a versioned tag. [Reference](https://github.com/golang/go/wiki/Modules#faqs--multi-module-repositories)
  
  --- END ISSUE ---
  
  Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
  --- BEGIN FILES ---
  Path: `sdk/python/setup.py`
  Content:
  ```
  1 # Copyright 2019 The Feast Authors
  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 #     https://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 import subprocess
  17 
  18 from setuptools import find_packages, setup
  19 
  20 NAME = "feast"
  21 DESCRIPTION = "Python SDK for Feast"
  22 URL = "https://github.com/feast-dev/feast"
  23 AUTHOR = "Feast"
  24 REQUIRES_PYTHON = ">=3.6.0"
  25 
  26 REQUIRED = [
  27     "Click==7.*",
  28     "google-api-core==1.20.*",
  29     "google-auth<2.0dev,>=1.14.0",
  30     "google-cloud-bigquery==1.18.*",
  31     "google-cloud-storage==1.20.*",
  32     "google-cloud-core==1.0.*",
  33     "googleapis-common-protos==1.*",
  34     "google-cloud-bigquery-storage==0.7.*",
  35     "grpcio==1.*",
  36     "pandas~=1.0.0",
  37     "pandavro==1.5.*",
  38     "protobuf>=3.10",
  39     "PyYAML==5.1.*",
  40     "fastavro>=0.22.11,<0.23",
  41     "kafka-python==1.*",
  42     "tabulate==0.8.*",
  43     "toml==0.10.*",
  44     "tqdm==4.*",
  45     "pyarrow<0.16.0,>=0.15.1",
  46     "numpy",
  47     "google",
  48     "confluent_kafka",
  49 ]
  50 
  51 # README file from Feast repo root directory
  52 repo_root = (
  53     subprocess.Popen(["git", "rev-parse", "--show-toplevel"], stdout=subprocess.PIPE)
  54     .communicate()[0]
  55     .rstrip()
  56     .decode("utf-8")
  57 )
  58 README_FILE = os.path.join(repo_root, "README.md")
  59 with open(os.path.join(README_FILE), "r") as f:
  60     LONG_DESCRIPTION = f.read()
  61 
  62 setup(
  63     name=NAME,
  64     author=AUTHOR,
  65     description=DESCRIPTION,
  66     long_description=LONG_DESCRIPTION,
  67     long_description_content_type="text/markdown",
  68     python_requires=REQUIRES_PYTHON,
  69     url=URL,
  70     packages=find_packages(exclude=("tests",)),
  71     install_requires=REQUIRED,
  72     # https://stackoverflow.com/questions/28509965/setuptools-development-requirements
  73     # Install dev requirements with: pip install -e .[dev]
  74     extras_require={"dev": ["mypy-protobuf==1.*", "grpcio-testing==1.*"]},
  75     include_package_data=True,
  76     license="Apache",
  77     classifiers=[
  78         # Trove classifiers
  79         # Full list: https://pypi.python.org/pypi?%3Aaction=list_classifiers
  80         "License :: OSI Approved :: Apache Software License",
  81         "Programming Language :: Python",
  82         "Programming Language :: Python :: 3",
  83         "Programming Language :: Python :: 3.6",
  84     ],
  85     entry_points={"console_scripts": ["feast=feast.cli:cli"]},
  86     use_scm_version={"root": "../..", "relative_to": __file__},
  87     setup_requires=["setuptools_scm"],
  88 )
  89
  ```
  --- 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/sdk/python/setup.py b/sdk/python/setup.py
  --- a/sdk/python/setup.py
  +++ b/sdk/python/setup.py
  @@ -13,6 +13,7 @@
   # limitations under the License.
   
   import os
  +import re
   import subprocess
   
   from setuptools import find_packages, setup
  @@ -59,6 +60,13 @@
   with open(os.path.join(README_FILE), "r") as f:
       LONG_DESCRIPTION = f.read()
   
  +# Add Support for parsing tags that have a prefix containing '/' (ie 'sdk/go') to setuptools_scm.
  +# Regex modified from default tag regex in:
  +# https://github.com/pypa/setuptools_scm/blob/2a1b46d38fb2b8aeac09853e660bcd0d7c1bc7be/src/setuptools_scm/config.py#L9
  +TAG_REGEX = re.compile(
  +    r"^(?:[\/\w-]+)?(?P<version>[vV]?\d+(?:\.\d+){0,2}[^\+]*)(?:\+.*)?$"
  +)
  +
   setup(
       name=NAME,
       author=AUTHOR,
  @@ -83,6 +91,6 @@
           "Programming Language :: Python :: 3.6",
       ],
       entry_points={"console_scripts": ["feast=feast.cli:cli"]},
  -    use_scm_version={"root": "../..", "relative_to": __file__},
  +    use_scm_version={"root": "../..", "relative_to": __file__, "tag_regex": TAG_REGEX},
       setup_requires=["setuptools_scm"],
   )
  
verification_info: {"golden_diff": "diff --git a/sdk/python/setup.py b/sdk/python/setup.py\n--- a/sdk/python/setup.py\n+++ b/sdk/python/setup.py\n@@ -13,6 +13,7 @@\n # limitations under the License.\n \n import os\n+import re\n import subprocess\n \n from setuptools import find_packages, setup\n@@ -59,6 +60,13 @@\n with open(os.path.join(README_FILE), \"r\") as f:\n     LONG_DESCRIPTION = f.read()\n \n+# Add Support for parsing tags that have a prefix containing '/' (ie 'sdk/go') to setuptools_scm.\n+# Regex modified from default tag regex in:\n+# https://github.com/pypa/setuptools_scm/blob/2a1b46d38fb2b8aeac09853e660bcd0d7c1bc7be/src/setuptools_scm/config.py#L9\n+TAG_REGEX = re.compile(\n+    r\"^(?:[\\/\\w-]+)?(?P<version>[vV]?\\d+(?:\\.\\d+){0,2}[^\\+]*)(?:\\+.*)?$\"\n+)\n+\n setup(\n     name=NAME,\n     author=AUTHOR,\n@@ -83,6 +91,6 @@\n         \"Programming Language :: Python :: 3.6\",\n     ],\n     entry_points={\"console_scripts\": [\"feast=feast.cli:cli\"]},\n-    use_scm_version={\"root\": \"../..\", \"relative_to\": __file__},\n+    use_scm_version={\"root\": \"../..\", \"relative_to\": __file__, \"tag_regex\": TAG_REGEX},\n     setup_requires=[\"setuptools_scm\"],\n )\n", "issue": "Go SDK: go get by Version Tag Does Not Work\n## Problem & Expected Behavour\r\n`go get` to install the Feast Go SDK should work by version tag:\r\n```\r\ngo get github.com/feast-dev/feast/sdk/go@v0.5.1\r\n```\r\nReturns: \r\n```\r\ngo get github.com/feast-dev/feast/sdk/go@v0.5.1: module github.com/feast-dev/feast@v0.5.1 found, but does not contain package github.com/feast-dev/feast/sdk/go\r\n```\r\nInstead of installing the Go SDK at release version tag v0.5.1.\r\n\r\n## Proposed Solution\r\n- Update [setup.py](https://github.com/feast-dev/feast/blob/89883d418b4935d595585689d63d246ad133cabe/sdk/python/setup.py#L86) to support non semver tags. (ie `sdk/go/v0.5.1`)\r\n- Introduce additional tag `sdk/go/v<VERSION>` each release. This tag will allow us to pull the go module by a versioned tag. [Reference](https://github.com/golang/go/wiki/Modules#faqs--multi-module-repositories)\n", "before_files": [{"content": "# Copyright 2019 The Feast Authors\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#     https://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\nimport subprocess\n\nfrom setuptools import find_packages, setup\n\nNAME = \"feast\"\nDESCRIPTION = \"Python SDK for Feast\"\nURL = \"https://github.com/feast-dev/feast\"\nAUTHOR = \"Feast\"\nREQUIRES_PYTHON = \">=3.6.0\"\n\nREQUIRED = [\n    \"Click==7.*\",\n    \"google-api-core==1.20.*\",\n    \"google-auth<2.0dev,>=1.14.0\",\n    \"google-cloud-bigquery==1.18.*\",\n    \"google-cloud-storage==1.20.*\",\n    \"google-cloud-core==1.0.*\",\n    \"googleapis-common-protos==1.*\",\n    \"google-cloud-bigquery-storage==0.7.*\",\n    \"grpcio==1.*\",\n    \"pandas~=1.0.0\",\n    \"pandavro==1.5.*\",\n    \"protobuf>=3.10\",\n    \"PyYAML==5.1.*\",\n    \"fastavro>=0.22.11,<0.23\",\n    \"kafka-python==1.*\",\n    \"tabulate==0.8.*\",\n    \"toml==0.10.*\",\n    \"tqdm==4.*\",\n    \"pyarrow<0.16.0,>=0.15.1\",\n    \"numpy\",\n    \"google\",\n    \"confluent_kafka\",\n]\n\n# README file from Feast repo root directory\nrepo_root = (\n    subprocess.Popen([\"git\", \"rev-parse\", \"--show-toplevel\"], stdout=subprocess.PIPE)\n    .communicate()[0]\n    .rstrip()\n    .decode(\"utf-8\")\n)\nREADME_FILE = os.path.join(repo_root, \"README.md\")\nwith open(os.path.join(README_FILE), \"r\") as f:\n    LONG_DESCRIPTION = f.read()\n\nsetup(\n    name=NAME,\n    author=AUTHOR,\n    description=DESCRIPTION,\n    long_description=LONG_DESCRIPTION,\n    long_description_content_type=\"text/markdown\",\n    python_requires=REQUIRES_PYTHON,\n    url=URL,\n    packages=find_packages(exclude=(\"tests\",)),\n    install_requires=REQUIRED,\n    # https://stackoverflow.com/questions/28509965/setuptools-development-requirements\n    # Install dev requirements with: pip install -e .[dev]\n    extras_require={\"dev\": [\"mypy-protobuf==1.*\", \"grpcio-testing==1.*\"]},\n    include_package_data=True,\n    license=\"Apache\",\n    classifiers=[\n        # Trove classifiers\n        # Full list: https://pypi.python.org/pypi?%3Aaction=list_classifiers\n        \"License :: OSI Approved :: Apache Software License\",\n        \"Programming Language :: Python\",\n        \"Programming Language :: Python :: 3\",\n        \"Programming Language :: Python :: 3.6\",\n    ],\n    entry_points={\"console_scripts\": [\"feast=feast.cli:cli\"]},\n    use_scm_version={\"root\": \"../..\", \"relative_to\": __file__},\n    setup_requires=[\"setuptools_scm\"],\n)\n", "path": "sdk/python/setup.py"}], "after_files": [{"content": "# Copyright 2019 The Feast Authors\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#     https://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\nimport re\nimport subprocess\n\nfrom setuptools import find_packages, setup\n\nNAME = \"feast\"\nDESCRIPTION = \"Python SDK for Feast\"\nURL = \"https://github.com/feast-dev/feast\"\nAUTHOR = \"Feast\"\nREQUIRES_PYTHON = \">=3.6.0\"\n\nREQUIRED = [\n    \"Click==7.*\",\n    \"google-api-core==1.20.*\",\n    \"google-auth<2.0dev,>=1.14.0\",\n    \"google-cloud-bigquery==1.18.*\",\n    \"google-cloud-storage==1.20.*\",\n    \"google-cloud-core==1.0.*\",\n    \"googleapis-common-protos==1.*\",\n    \"google-cloud-bigquery-storage==0.7.*\",\n    \"grpcio==1.*\",\n    \"pandas~=1.0.0\",\n    \"pandavro==1.5.*\",\n    \"protobuf>=3.10\",\n    \"PyYAML==5.1.*\",\n    \"fastavro>=0.22.11,<0.23\",\n    \"kafka-python==1.*\",\n    \"tabulate==0.8.*\",\n    \"toml==0.10.*\",\n    \"tqdm==4.*\",\n    \"pyarrow<0.16.0,>=0.15.1\",\n    \"numpy\",\n    \"google\",\n    \"confluent_kafka\",\n]\n\n# README file from Feast repo root directory\nrepo_root = (\n    subprocess.Popen([\"git\", \"rev-parse\", \"--show-toplevel\"], stdout=subprocess.PIPE)\n    .communicate()[0]\n    .rstrip()\n    .decode(\"utf-8\")\n)\nREADME_FILE = os.path.join(repo_root, \"README.md\")\nwith open(os.path.join(README_FILE), \"r\") as f:\n    LONG_DESCRIPTION = f.read()\n\n# Add Support for parsing tags that have a prefix containing '/' (ie 'sdk/go') to setuptools_scm.\n# Regex modified from default tag regex in:\n# https://github.com/pypa/setuptools_scm/blob/2a1b46d38fb2b8aeac09853e660bcd0d7c1bc7be/src/setuptools_scm/config.py#L9\nTAG_REGEX = re.compile(\n    r\"^(?:[\\/\\w-]+)?(?P<version>[vV]?\\d+(?:\\.\\d+){0,2}[^\\+]*)(?:\\+.*)?$\"\n)\n\nsetup(\n    name=NAME,\n    author=AUTHOR,\n    description=DESCRIPTION,\n    long_description=LONG_DESCRIPTION,\n    long_description_content_type=\"text/markdown\",\n    python_requires=REQUIRES_PYTHON,\n    url=URL,\n    packages=find_packages(exclude=(\"tests\",)),\n    install_requires=REQUIRED,\n    # https://stackoverflow.com/questions/28509965/setuptools-development-requirements\n    # Install dev requirements with: pip install -e .[dev]\n    extras_require={\"dev\": [\"mypy-protobuf==1.*\", \"grpcio-testing==1.*\"]},\n    include_package_data=True,\n    license=\"Apache\",\n    classifiers=[\n        # Trove classifiers\n        # Full list: https://pypi.python.org/pypi?%3Aaction=list_classifiers\n        \"License :: OSI Approved :: Apache Software License\",\n        \"Programming Language :: Python\",\n        \"Programming Language :: Python :: 3\",\n        \"Programming Language :: Python :: 3.6\",\n    ],\n    entry_points={\"console_scripts\": [\"feast=feast.cli:cli\"]},\n    use_scm_version={\"root\": \"../..\", \"relative_to\": __file__, \"tag_regex\": TAG_REGEX},\n    setup_requires=[\"setuptools_scm\"],\n)\n", "path": "sdk/python/setup.py"}]}