We are currently solving the following issue within our repository. Here is the issue text:
--- BEGIN ISSUE ---
Upgrade to latest uvicorn
A cant install latest uvicorn 0.23 with latest strawberry 0.195.2 and debug-server, just uvicorn and strawberry, without debug server, or uvicorn 0.21.3 and strawberry with debug server

## Describe the Bug

<!-- A clear and concise description of what the bug is. -->

## System Information

 - Arch Linux 
 - Strawberry version (if applicable): latest

## Additional Context

<!-- POLAR PLEDGE BADGE START -->
## Upvote & Fund

- We're using [Polar.sh](https://polar.sh/strawberry-graphql) so you can upvote and help fund this issue.
- We receive the funding once the issue is completed & confirmed by you.
- Thank you in advance for helping prioritize & fund our backlog.

<a href="https://polar.sh/strawberry-graphql/strawberry/issues/2956">
<picture>
  <source media="(prefers-color-scheme: dark)" srcset="https://polar.sh/api/github/strawberry-graphql/strawberry/issues/2956/pledge.svg?darkmode=1">
  <img alt="Fund with Polar" src="https://polar.sh/api/github/strawberry-graphql/strawberry/issues/2956/pledge.svg">
</picture>
</a>
<!-- POLAR PLEDGE BADGE END -->


--- END ISSUE ---

Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
--- BEGIN FILES ---
Path: `noxfile.py`
Content:
```
1 import nox
2 from nox_poetry import Session, session
3 
4 nox.options.reuse_existing_virtualenvs = True
5 nox.options.error_on_external_run = True
6 
7 PYTHON_VERSIONS = ["3.11", "3.10", "3.9", "3.8", "3.7"]
8 
9 
10 COMMON_PYTEST_OPTIONS = [
11     "--cov=.",
12     "--cov-append",
13     "--cov-report=xml",
14     "-n",
15     "auto",
16     "--showlocals",
17     "-vv",
18     "--ignore=tests/mypy",
19     "--ignore=tests/pyright",
20     "--ignore=tests/cli",
21     # TODO: reintroduce this in its own test session
22     "--ignore=tests/experimental/pydantic",
23 ]
24 
25 INTEGRATIONS = [
26     "asgi",
27     "aiohttp",
28     "chalice",
29     "channels",
30     "django",
31     "fastapi",
32     "flask",
33     "sanic",
34     "starlite",
35     "pydantic",
36 ]
37 
38 
39 @session(python=PYTHON_VERSIONS, name="Tests", tags=["tests"])
40 def tests(session: Session) -> None:
41     session.run_always("poetry", "install", external=True)
42 
43     markers = (
44         ["-m", f"not {integration}", f"--ignore=tests/{integration}"]
45         for integration in INTEGRATIONS
46     )
47     markers = [item for sublist in markers for item in sublist]
48 
49     session.run(
50         "pytest",
51         *COMMON_PYTEST_OPTIONS,
52         *markers,
53     )
54 
55 
56 @session(python=["3.11"], name="Django tests", tags=["tests"])
57 @nox.parametrize("django", ["4.2.0", "4.1.0", "4.0.0", "3.2.0"])
58 def tests_django(session: Session, django: str) -> None:
59     session.run_always("poetry", "install", external=True)
60 
61     session._session.install(f"django~={django}")  # type: ignore
62     session._session.install("pytest-django")  # type: ignore
63 
64     session.run("pytest", *COMMON_PYTEST_OPTIONS, "-m", "django")
65 
66 
67 @session(python=["3.11"], name="Starlette tests", tags=["tests"])
68 @nox.parametrize("starlette", ["0.28.0", "0.27.0", "0.26.1"])
69 def tests_starlette(session: Session, starlette: str) -> None:
70     session.run_always("poetry", "install", external=True)
71 
72     session._session.install(f"starlette=={starlette}")  # type: ignore
73 
74     session.run("pytest", *COMMON_PYTEST_OPTIONS, "-m", "asgi")
75 
76 
77 @session(python=["3.11"], name="Test integrations", tags=["tests"])
78 @nox.parametrize(
79     "integration",
80     [
81         "aiohttp",
82         "chalice",
83         "channels",
84         "fastapi",
85         "flask",
86         "sanic",
87         "starlite",
88     ],
89 )
90 def tests_integrations(session: Session, integration: str) -> None:
91     session.run_always("poetry", "install", external=True)
92 
93     session._session.install(integration)  # type: ignore
94 
95     if integration == "aiohttp":
96         session._session.install("pytest-aiohttp")  # type: ignore
97     elif integration == "flask":
98         session._session.install("pytest-flask")  # type: ignore
99     elif integration == "channels":
100         session._session.install("pytest-django")  # type: ignore
101         session._session.install("daphne")  # type: ignore
102     elif integration == "starlite":
103         session._session.install("pydantic<2.0")  # type: ignore
104 
105     session.run("pytest", *COMMON_PYTEST_OPTIONS, "-m", integration)
106 
107 
108 @session(python=["3.11"], name="Pydantic tests", tags=["tests"])
109 # TODO: add pydantic 2.0 here :)
110 @nox.parametrize("pydantic", ["1.10"])
111 def test_pydantic(session: Session, pydantic: str) -> None:
112     session.run_always("poetry", "install", external=True)
113 
114     session._session.install(f"pydantic~={pydantic}")  # type: ignore
115 
116     session.run(
117         "pytest",
118         "--cov=.",
119         "--cov-append",
120         "--cov-report=xml",
121         "-m",
122         "pydantic",
123     )
124 
125 
126 @session(python=PYTHON_VERSIONS, name="Mypy tests")
127 def tests_mypy(session: Session) -> None:
128     session.run_always("poetry", "install", "--with", "integrations", external=True)
129 
130     session.run(
131         "pytest",
132         "--cov=.",
133         "--cov-append",
134         "--cov-report=xml",
135         "tests/mypy",
136         "-vv",
137     )
138 
139 
140 @session(python=PYTHON_VERSIONS, name="Pyright tests", tags=["tests"])
141 def tests_pyright(session: Session) -> None:
142     session.run_always("poetry", "install", external=True)
143     session.install("pyright")
144 
145     session.run(
146         "pytest",
147         "--cov=.",
148         "--cov-append",
149         "--cov-report=xml",
150         "tests/pyright",
151         "-vv",
152     )
153 
154 
155 @session(name="Mypy", tags=["lint"])
156 def mypy(session: Session) -> None:
157     session.run_always("poetry", "install", "--with", "integrations", external=True)
158 
159     session.run("mypy", "--config-file", "mypy.ini")
160 
161 
162 @session(python=PYTHON_VERSIONS, name="CLI tests", tags=["tests"])
163 def tests_cli(session: Session) -> None:
164     session.run_always("poetry", "install", external=True)
165 
166     session._session.install("uvicorn")  # type: ignore
167     session._session.install("starlette")  # type: ignore
168 
169     session.run(
170         "pytest",
171         "--cov=.",
172         "--cov-append",
173         "--cov-report=xml",
174         "tests/cli",
175         "-vv",
176     )
177
```
--- 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/noxfile.py b/noxfile.py
--- a/noxfile.py
+++ b/noxfile.py
@@ -18,7 +18,6 @@
     "--ignore=tests/mypy",
     "--ignore=tests/pyright",
     "--ignore=tests/cli",
-    # TODO: reintroduce this in its own test session
     "--ignore=tests/experimental/pydantic",
 ]
 
@@ -120,6 +119,7 @@
         "--cov-report=xml",
         "-m",
         "pydantic",
+        "--ignore=tests/cli",
     )

{"golden_diff": "diff --git a/noxfile.py b/noxfile.py\n--- a/noxfile.py\n+++ b/noxfile.py\n@@ -18,7 +18,6 @@\n     \"--ignore=tests/mypy\",\n     \"--ignore=tests/pyright\",\n     \"--ignore=tests/cli\",\n-    # TODO: reintroduce this in its own test session\n     \"--ignore=tests/experimental/pydantic\",\n ]\n \n@@ -120,6 +119,7 @@\n         \"--cov-report=xml\",\n         \"-m\",\n         \"pydantic\",\n+        \"--ignore=tests/cli\",\n     )\n", "issue": "Upgrade to latest uvicorn\nA cant install latest uvicorn 0.23 with latest strawberry 0.195.2 and debug-server, just uvicorn and strawberry, without debug server, or uvicorn 0.21.3 and strawberry with debug server\r\n\r\n## Describe the Bug\r\n\r\n<!-- A clear and concise description of what the bug is. -->\r\n\r\n## System Information\r\n\r\n - Arch Linux \r\n - Strawberry version (if applicable): latest\r\n\r\n## Additional Context\n\n<!-- POLAR PLEDGE BADGE START -->\n## Upvote & Fund\n\n- We're using [Polar.sh](https://polar.sh/strawberry-graphql) so you can upvote and help fund this issue.\n- We receive the funding once the issue is completed & confirmed by you.\n- Thank you in advance for helping prioritize & fund our backlog.\n\n<a href=\"https://polar.sh/strawberry-graphql/strawberry/issues/2956\">\n<picture>\n  <source media=\"(prefers-color-scheme: dark)\" srcset=\"https://polar.sh/api/github/strawberry-graphql/strawberry/issues/2956/pledge.svg?darkmode=1\">\n  <img alt=\"Fund with Polar\" src=\"https://polar.sh/api/github/strawberry-graphql/strawberry/issues/2956/pledge.svg\">\n</picture>\n</a>\n<!-- POLAR PLEDGE BADGE END -->\n\n", "before_files": [{"content": "import nox\nfrom nox_poetry import Session, session\n\nnox.options.reuse_existing_virtualenvs = True\nnox.options.error_on_external_run = True\n\nPYTHON_VERSIONS = [\"3.11\", \"3.10\", \"3.9\", \"3.8\", \"3.7\"]\n\n\nCOMMON_PYTEST_OPTIONS = [\n    \"--cov=.\",\n    \"--cov-append\",\n    \"--cov-report=xml\",\n    \"-n\",\n    \"auto\",\n    \"--showlocals\",\n    \"-vv\",\n    \"--ignore=tests/mypy\",\n    \"--ignore=tests/pyright\",\n    \"--ignore=tests/cli\",\n    # TODO: reintroduce this in its own test session\n    \"--ignore=tests/experimental/pydantic\",\n]\n\nINTEGRATIONS = [\n    \"asgi\",\n    \"aiohttp\",\n    \"chalice\",\n    \"channels\",\n    \"django\",\n    \"fastapi\",\n    \"flask\",\n    \"sanic\",\n    \"starlite\",\n    \"pydantic\",\n]\n\n\n@session(python=PYTHON_VERSIONS, name=\"Tests\", tags=[\"tests\"])\ndef tests(session: Session) -> None:\n    session.run_always(\"poetry\", \"install\", external=True)\n\n    markers = (\n        [\"-m\", f\"not {integration}\", f\"--ignore=tests/{integration}\"]\n        for integration in INTEGRATIONS\n    )\n    markers = [item for sublist in markers for item in sublist]\n\n    session.run(\n        \"pytest\",\n        *COMMON_PYTEST_OPTIONS,\n        *markers,\n    )\n\n\n@session(python=[\"3.11\"], name=\"Django tests\", tags=[\"tests\"])\n@nox.parametrize(\"django\", [\"4.2.0\", \"4.1.0\", \"4.0.0\", \"3.2.0\"])\ndef tests_django(session: Session, django: str) -> None:\n    session.run_always(\"poetry\", \"install\", external=True)\n\n    session._session.install(f\"django~={django}\")  # type: ignore\n    session._session.install(\"pytest-django\")  # type: ignore\n\n    session.run(\"pytest\", *COMMON_PYTEST_OPTIONS, \"-m\", \"django\")\n\n\n@session(python=[\"3.11\"], name=\"Starlette tests\", tags=[\"tests\"])\n@nox.parametrize(\"starlette\", [\"0.28.0\", \"0.27.0\", \"0.26.1\"])\ndef tests_starlette(session: Session, starlette: str) -> None:\n    session.run_always(\"poetry\", \"install\", external=True)\n\n    session._session.install(f\"starlette=={starlette}\")  # type: ignore\n\n    session.run(\"pytest\", *COMMON_PYTEST_OPTIONS, \"-m\", \"asgi\")\n\n\n@session(python=[\"3.11\"], name=\"Test integrations\", tags=[\"tests\"])\n@nox.parametrize(\n    \"integration\",\n    [\n        \"aiohttp\",\n        \"chalice\",\n        \"channels\",\n        \"fastapi\",\n        \"flask\",\n        \"sanic\",\n        \"starlite\",\n    ],\n)\ndef tests_integrations(session: Session, integration: str) -> None:\n    session.run_always(\"poetry\", \"install\", external=True)\n\n    session._session.install(integration)  # type: ignore\n\n    if integration == \"aiohttp\":\n        session._session.install(\"pytest-aiohttp\")  # type: ignore\n    elif integration == \"flask\":\n        session._session.install(\"pytest-flask\")  # type: ignore\n    elif integration == \"channels\":\n        session._session.install(\"pytest-django\")  # type: ignore\n        session._session.install(\"daphne\")  # type: ignore\n    elif integration == \"starlite\":\n        session._session.install(\"pydantic<2.0\")  # type: ignore\n\n    session.run(\"pytest\", *COMMON_PYTEST_OPTIONS, \"-m\", integration)\n\n\n@session(python=[\"3.11\"], name=\"Pydantic tests\", tags=[\"tests\"])\n# TODO: add pydantic 2.0 here :)\n@nox.parametrize(\"pydantic\", [\"1.10\"])\ndef test_pydantic(session: Session, pydantic: str) -> None:\n    session.run_always(\"poetry\", \"install\", external=True)\n\n    session._session.install(f\"pydantic~={pydantic}\")  # type: ignore\n\n    session.run(\n        \"pytest\",\n        \"--cov=.\",\n        \"--cov-append\",\n        \"--cov-report=xml\",\n        \"-m\",\n        \"pydantic\",\n    )\n\n\n@session(python=PYTHON_VERSIONS, name=\"Mypy tests\")\ndef tests_mypy(session: Session) -> None:\n    session.run_always(\"poetry\", \"install\", \"--with\", \"integrations\", external=True)\n\n    session.run(\n        \"pytest\",\n        \"--cov=.\",\n        \"--cov-append\",\n        \"--cov-report=xml\",\n        \"tests/mypy\",\n        \"-vv\",\n    )\n\n\n@session(python=PYTHON_VERSIONS, name=\"Pyright tests\", tags=[\"tests\"])\ndef tests_pyright(session: Session) -> None:\n    session.run_always(\"poetry\", \"install\", external=True)\n    session.install(\"pyright\")\n\n    session.run(\n        \"pytest\",\n        \"--cov=.\",\n        \"--cov-append\",\n        \"--cov-report=xml\",\n        \"tests/pyright\",\n        \"-vv\",\n    )\n\n\n@session(name=\"Mypy\", tags=[\"lint\"])\ndef mypy(session: Session) -> None:\n    session.run_always(\"poetry\", \"install\", \"--with\", \"integrations\", external=True)\n\n    session.run(\"mypy\", \"--config-file\", \"mypy.ini\")\n\n\n@session(python=PYTHON_VERSIONS, name=\"CLI tests\", tags=[\"tests\"])\ndef tests_cli(session: Session) -> None:\n    session.run_always(\"poetry\", \"install\", external=True)\n\n    session._session.install(\"uvicorn\")  # type: ignore\n    session._session.install(\"starlette\")  # type: ignore\n\n    session.run(\n        \"pytest\",\n        \"--cov=.\",\n        \"--cov-append\",\n        \"--cov-report=xml\",\n        \"tests/cli\",\n        \"-vv\",\n    )\n", "path": "noxfile.py"}], "after_files": [{"content": "import nox\nfrom nox_poetry import Session, session\n\nnox.options.reuse_existing_virtualenvs = True\nnox.options.error_on_external_run = True\n\nPYTHON_VERSIONS = [\"3.11\", \"3.10\", \"3.9\", \"3.8\", \"3.7\"]\n\n\nCOMMON_PYTEST_OPTIONS = [\n    \"--cov=.\",\n    \"--cov-append\",\n    \"--cov-report=xml\",\n    \"-n\",\n    \"auto\",\n    \"--showlocals\",\n    \"-vv\",\n    \"--ignore=tests/mypy\",\n    \"--ignore=tests/pyright\",\n    \"--ignore=tests/cli\",\n    \"--ignore=tests/experimental/pydantic\",\n]\n\nINTEGRATIONS = [\n    \"asgi\",\n    \"aiohttp\",\n    \"chalice\",\n    \"channels\",\n    \"django\",\n    \"fastapi\",\n    \"flask\",\n    \"sanic\",\n    \"starlite\",\n    \"pydantic\",\n]\n\n\n@session(python=PYTHON_VERSIONS, name=\"Tests\", tags=[\"tests\"])\ndef tests(session: Session) -> None:\n    session.run_always(\"poetry\", \"install\", external=True)\n\n    markers = (\n        [\"-m\", f\"not {integration}\", f\"--ignore=tests/{integration}\"]\n        for integration in INTEGRATIONS\n    )\n    markers = [item for sublist in markers for item in sublist]\n\n    session.run(\n        \"pytest\",\n        *COMMON_PYTEST_OPTIONS,\n        *markers,\n    )\n\n\n@session(python=[\"3.11\"], name=\"Django tests\", tags=[\"tests\"])\n@nox.parametrize(\"django\", [\"4.2.0\", \"4.1.0\", \"4.0.0\", \"3.2.0\"])\ndef tests_django(session: Session, django: str) -> None:\n    session.run_always(\"poetry\", \"install\", external=True)\n\n    session._session.install(f\"django~={django}\")  # type: ignore\n    session._session.install(\"pytest-django\")  # type: ignore\n\n    session.run(\"pytest\", *COMMON_PYTEST_OPTIONS, \"-m\", \"django\")\n\n\n@session(python=[\"3.11\"], name=\"Starlette tests\", tags=[\"tests\"])\n@nox.parametrize(\"starlette\", [\"0.28.0\", \"0.27.0\", \"0.26.1\"])\ndef tests_starlette(session: Session, starlette: str) -> None:\n    session.run_always(\"poetry\", \"install\", external=True)\n\n    session._session.install(f\"starlette=={starlette}\")  # type: ignore\n\n    session.run(\"pytest\", *COMMON_PYTEST_OPTIONS, \"-m\", \"asgi\")\n\n\n@session(python=[\"3.11\"], name=\"Test integrations\", tags=[\"tests\"])\n@nox.parametrize(\n    \"integration\",\n    [\n        \"aiohttp\",\n        \"chalice\",\n        \"channels\",\n        \"fastapi\",\n        \"flask\",\n        \"sanic\",\n        \"starlite\",\n    ],\n)\ndef tests_integrations(session: Session, integration: str) -> None:\n    session.run_always(\"poetry\", \"install\", external=True)\n\n    session._session.install(integration)  # type: ignore\n\n    if integration == \"aiohttp\":\n        session._session.install(\"pytest-aiohttp\")  # type: ignore\n    elif integration == \"flask\":\n        session._session.install(\"pytest-flask\")  # type: ignore\n    elif integration == \"channels\":\n        session._session.install(\"pytest-django\")  # type: ignore\n        session._session.install(\"daphne\")  # type: ignore\n    elif integration == \"starlite\":\n        session._session.install(\"pydantic<2.0\")  # type: ignore\n\n    session.run(\"pytest\", *COMMON_PYTEST_OPTIONS, \"-m\", integration)\n\n\n@session(python=[\"3.11\"], name=\"Pydantic tests\", tags=[\"tests\"])\n# TODO: add pydantic 2.0 here :)\n@nox.parametrize(\"pydantic\", [\"1.10\"])\ndef test_pydantic(session: Session, pydantic: str) -> None:\n    session.run_always(\"poetry\", \"install\", external=True)\n\n    session._session.install(f\"pydantic~={pydantic}\")  # type: ignore\n\n    session.run(\n        \"pytest\",\n        \"--cov=.\",\n        \"--cov-append\",\n        \"--cov-report=xml\",\n        \"-m\",\n        \"pydantic\",\n        \"--ignore=tests/cli\",\n    )\n\n\n@session(python=PYTHON_VERSIONS, name=\"Mypy tests\")\ndef tests_mypy(session: Session) -> None:\n    session.run_always(\"poetry\", \"install\", \"--with\", \"integrations\", external=True)\n\n    session.run(\n        \"pytest\",\n        \"--cov=.\",\n        \"--cov-append\",\n        \"--cov-report=xml\",\n        \"tests/mypy\",\n        \"-vv\",\n    )\n\n\n@session(python=PYTHON_VERSIONS, name=\"Pyright tests\", tags=[\"tests\"])\ndef tests_pyright(session: Session) -> None:\n    session.run_always(\"poetry\", \"install\", external=True)\n    session.install(\"pyright\")\n\n    session.run(\n        \"pytest\",\n        \"--cov=.\",\n        \"--cov-append\",\n        \"--cov-report=xml\",\n        \"tests/pyright\",\n        \"-vv\",\n    )\n\n\n@session(name=\"Mypy\", tags=[\"lint\"])\ndef mypy(session: Session) -> None:\n    session.run_always(\"poetry\", \"install\", \"--with\", \"integrations\", external=True)\n\n    session.run(\"mypy\", \"--config-file\", \"mypy.ini\")\n\n\n@session(python=PYTHON_VERSIONS, name=\"CLI tests\", tags=[\"tests\"])\ndef tests_cli(session: Session) -> None:\n    session.run_always(\"poetry\", \"install\", external=True)\n\n    session._session.install(\"uvicorn\")  # type: ignore\n    session._session.install(\"starlette\")  # type: ignore\n\n    session.run(\n        \"pytest\",\n        \"--cov=.\",\n        \"--cov-append\",\n        \"--cov-report=xml\",\n        \"tests/cli\",\n        \"-vv\",\n    )\n", "path": "noxfile.py"}]}