prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  [MNT] PyPi publish action for 0.14 failed
  Summary by @fkiraly:
  The attempted 0.14.0 release has failed at pypi upload of successfully built wheels.
  
  Help on diagnosing and solving this is appreciated.
  
  Original post:
  ---
  Just to let you know: 0.14 has not been published on PyPI yet:
  
  https://github.com/sktime/sktime/actions/runs/3402037795
  
  --- 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 # -*- coding: utf-8 -*-
  3 """Install script for sktime."""
  4 
  5 __author__ = ["mloning", "lmmentel"]
  6 
  7 import codecs
  8 
  9 import toml
  10 from setuptools import find_packages, setup
  11 
  12 pyproject = toml.load("pyproject.toml")
  13 
  14 
  15 def long_description():
  16     """Read and return README as long description."""
  17     with codecs.open("README.md", encoding="utf-8-sig") as f:
  18         return f.read()
  19 
  20 
  21 # ground truth package metadata is loaded from pyproject.toml
  22 # for context see:
  23 #   - [PEP 621 -- Storing project metadata in pyproject.toml]
  24 #     (https://www.python.org/dev/peps/pep-0621)
  25 pyproject = toml.load("pyproject.toml")
  26 
  27 
  28 def setup_package():
  29     """Set up package."""
  30     projectname = pyproject["project"]["name"]
  31     setup(
  32         author_email="info@sktime.org",
  33         author=f"{projectname} developers",
  34         classifiers=pyproject["project"]["classifiers"],
  35         description=pyproject["project"]["description"],
  36         download_url=pyproject["project"]["urls"]["download"],
  37         extras_require=pyproject["project"]["optional-dependencies"],
  38         include_package_data=True,
  39         install_requires=pyproject["project"]["dependencies"],
  40         keywords=pyproject["project"]["keywords"],
  41         license=pyproject["project"]["license"],
  42         long_description=long_description(),
  43         maintainer_email="info@sktime.org",
  44         maintainer=f"{projectname} developers",
  45         name=projectname,
  46         package_data={
  47             "sktime": [
  48                 "*.csv",
  49                 "*.csv.gz",
  50                 "*.arff",
  51                 "*.arff.gz",
  52                 "*.txt",
  53                 "*.ts",
  54                 "*.tsv",
  55             ]
  56         },
  57         packages=find_packages(
  58             where=".",
  59             exclude=["tests", "tests.*"],
  60         ),
  61         project_urls=pyproject["project"]["urls"],
  62         python_requires=pyproject["project"]["requires-python"],
  63         setup_requires=pyproject["build-system"]["requires"],
  64         url=pyproject["project"]["urls"]["repository"],
  65         version=pyproject["project"]["version"],
  66         zip_safe=False,
  67     )
  68 
  69 
  70 if __name__ == "__main__":
  71     setup_package()
  72
  ```
  --- 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/setup.py b/setup.py
  deleted file mode 100644
  --- a/setup.py
  +++ /dev/null
  @@ -1,71 +0,0 @@
  -#! /usr/bin/env python
  -# -*- coding: utf-8 -*-
  -"""Install script for sktime."""
  -
  -__author__ = ["mloning", "lmmentel"]
  -
  -import codecs
  -
  -import toml
  -from setuptools import find_packages, setup
  -
  -pyproject = toml.load("pyproject.toml")
  -
  -
  -def long_description():
  -    """Read and return README as long description."""
  -    with codecs.open("README.md", encoding="utf-8-sig") as f:
  -        return f.read()
  -
  -
  -# ground truth package metadata is loaded from pyproject.toml
  -# for context see:
  -#   - [PEP 621 -- Storing project metadata in pyproject.toml]
  -#     (https://www.python.org/dev/peps/pep-0621)
  -pyproject = toml.load("pyproject.toml")
  -
  -
  -def setup_package():
  -    """Set up package."""
  -    projectname = pyproject["project"]["name"]
  -    setup(
  -        author_email="info@sktime.org",
  -        author=f"{projectname} developers",
  -        classifiers=pyproject["project"]["classifiers"],
  -        description=pyproject["project"]["description"],
  -        download_url=pyproject["project"]["urls"]["download"],
  -        extras_require=pyproject["project"]["optional-dependencies"],
  -        include_package_data=True,
  -        install_requires=pyproject["project"]["dependencies"],
  -        keywords=pyproject["project"]["keywords"],
  -        license=pyproject["project"]["license"],
  -        long_description=long_description(),
  -        maintainer_email="info@sktime.org",
  -        maintainer=f"{projectname} developers",
  -        name=projectname,
  -        package_data={
  -            "sktime": [
  -                "*.csv",
  -                "*.csv.gz",
  -                "*.arff",
  -                "*.arff.gz",
  -                "*.txt",
  -                "*.ts",
  -                "*.tsv",
  -            ]
  -        },
  -        packages=find_packages(
  -            where=".",
  -            exclude=["tests", "tests.*"],
  -        ),
  -        project_urls=pyproject["project"]["urls"],
  -        python_requires=pyproject["project"]["requires-python"],
  -        setup_requires=pyproject["build-system"]["requires"],
  -        url=pyproject["project"]["urls"]["repository"],
  -        version=pyproject["project"]["version"],
  -        zip_safe=False,
  -    )
  -
  -
  -if __name__ == "__main__":
  -    setup_package()
  
verification_info: {"golden_diff": "diff --git a/setup.py b/setup.py\ndeleted file mode 100644\n--- a/setup.py\n+++ /dev/null\n@@ -1,71 +0,0 @@\n-#! /usr/bin/env python\n-# -*- coding: utf-8 -*-\n-\"\"\"Install script for sktime.\"\"\"\n-\n-__author__ = [\"mloning\", \"lmmentel\"]\n-\n-import codecs\n-\n-import toml\n-from setuptools import find_packages, setup\n-\n-pyproject = toml.load(\"pyproject.toml\")\n-\n-\n-def long_description():\n-    \"\"\"Read and return README as long description.\"\"\"\n-    with codecs.open(\"README.md\", encoding=\"utf-8-sig\") as f:\n-        return f.read()\n-\n-\n-# ground truth package metadata is loaded from pyproject.toml\n-# for context see:\n-#   - [PEP 621 -- Storing project metadata in pyproject.toml]\n-#     (https://www.python.org/dev/peps/pep-0621)\n-pyproject = toml.load(\"pyproject.toml\")\n-\n-\n-def setup_package():\n-    \"\"\"Set up package.\"\"\"\n-    projectname = pyproject[\"project\"][\"name\"]\n-    setup(\n-        author_email=\"info@sktime.org\",\n-        author=f\"{projectname} developers\",\n-        classifiers=pyproject[\"project\"][\"classifiers\"],\n-        description=pyproject[\"project\"][\"description\"],\n-        download_url=pyproject[\"project\"][\"urls\"][\"download\"],\n-        extras_require=pyproject[\"project\"][\"optional-dependencies\"],\n-        include_package_data=True,\n-        install_requires=pyproject[\"project\"][\"dependencies\"],\n-        keywords=pyproject[\"project\"][\"keywords\"],\n-        license=pyproject[\"project\"][\"license\"],\n-        long_description=long_description(),\n-        maintainer_email=\"info@sktime.org\",\n-        maintainer=f\"{projectname} developers\",\n-        name=projectname,\n-        package_data={\n-            \"sktime\": [\n-                \"*.csv\",\n-                \"*.csv.gz\",\n-                \"*.arff\",\n-                \"*.arff.gz\",\n-                \"*.txt\",\n-                \"*.ts\",\n-                \"*.tsv\",\n-            ]\n-        },\n-        packages=find_packages(\n-            where=\".\",\n-            exclude=[\"tests\", \"tests.*\"],\n-        ),\n-        project_urls=pyproject[\"project\"][\"urls\"],\n-        python_requires=pyproject[\"project\"][\"requires-python\"],\n-        setup_requires=pyproject[\"build-system\"][\"requires\"],\n-        url=pyproject[\"project\"][\"urls\"][\"repository\"],\n-        version=pyproject[\"project\"][\"version\"],\n-        zip_safe=False,\n-    )\n-\n-\n-if __name__ == \"__main__\":\n-    setup_package()\n", "issue": "[MNT] PyPi publish action for 0.14 failed\nSummary by @fkiraly:\r\nThe attempted 0.14.0 release has failed at pypi upload of successfully built wheels.\r\n\r\nHelp on diagnosing and solving this is appreciated.\r\n\r\nOriginal post:\r\n---\r\nJust to let you know: 0.14 has not been published on PyPI yet:\r\n\r\nhttps://github.com/sktime/sktime/actions/runs/3402037795\n", "before_files": [{"content": "#! /usr/bin/env python\n# -*- coding: utf-8 -*-\n\"\"\"Install script for sktime.\"\"\"\n\n__author__ = [\"mloning\", \"lmmentel\"]\n\nimport codecs\n\nimport toml\nfrom setuptools import find_packages, setup\n\npyproject = toml.load(\"pyproject.toml\")\n\n\ndef long_description():\n    \"\"\"Read and return README as long description.\"\"\"\n    with codecs.open(\"README.md\", encoding=\"utf-8-sig\") as f:\n        return f.read()\n\n\n# ground truth package metadata is loaded from pyproject.toml\n# for context see:\n#   - [PEP 621 -- Storing project metadata in pyproject.toml]\n#     (https://www.python.org/dev/peps/pep-0621)\npyproject = toml.load(\"pyproject.toml\")\n\n\ndef setup_package():\n    \"\"\"Set up package.\"\"\"\n    projectname = pyproject[\"project\"][\"name\"]\n    setup(\n        author_email=\"info@sktime.org\",\n        author=f\"{projectname} developers\",\n        classifiers=pyproject[\"project\"][\"classifiers\"],\n        description=pyproject[\"project\"][\"description\"],\n        download_url=pyproject[\"project\"][\"urls\"][\"download\"],\n        extras_require=pyproject[\"project\"][\"optional-dependencies\"],\n        include_package_data=True,\n        install_requires=pyproject[\"project\"][\"dependencies\"],\n        keywords=pyproject[\"project\"][\"keywords\"],\n        license=pyproject[\"project\"][\"license\"],\n        long_description=long_description(),\n        maintainer_email=\"info@sktime.org\",\n        maintainer=f\"{projectname} developers\",\n        name=projectname,\n        package_data={\n            \"sktime\": [\n                \"*.csv\",\n                \"*.csv.gz\",\n                \"*.arff\",\n                \"*.arff.gz\",\n                \"*.txt\",\n                \"*.ts\",\n                \"*.tsv\",\n            ]\n        },\n        packages=find_packages(\n            where=\".\",\n            exclude=[\"tests\", \"tests.*\"],\n        ),\n        project_urls=pyproject[\"project\"][\"urls\"],\n        python_requires=pyproject[\"project\"][\"requires-python\"],\n        setup_requires=pyproject[\"build-system\"][\"requires\"],\n        url=pyproject[\"project\"][\"urls\"][\"repository\"],\n        version=pyproject[\"project\"][\"version\"],\n        zip_safe=False,\n    )\n\n\nif __name__ == \"__main__\":\n    setup_package()\n", "path": "setup.py"}], "after_files": [{"content": null, "path": "setup.py"}]}