Skip to content

Commit 959b683

Browse files
authored
Merge pull request #158 from JoshKappler/fix/drop-nest-asyncio
fix(runner): drop nest_asyncio, which breaks startup on Python 3.14
2 parents c5a059a + 34ef86c commit 959b683

5 files changed

Lines changed: 0 additions & 15 deletions

File tree

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ dependencies = [
2626
"dotenv>=0.9.9",
2727
"httpx>=0.28.1",
2828
"mcp[cli]>=1.8.0",
29-
"nest-asyncio>=1.6.0",
3029
"python-dotenv>=1.1.0",
3130
"python-json-logger>=3.3.0",
3231
"qrcode>=8.2",

requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
dotenv>=0.9.9
22
httpx>=0.28.1
33
mcp[cli]>=1.8.0
4-
nest-asyncio>=1.6.0
54
python-dotenv>=1.1.0
65
python-json-logger>=3.3.0
76
qrcode>=8.2

telegram_mcp/runner.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,6 @@ async def _warm_caches() -> None:
127127
def main() -> None:
128128
_configure_allowed_roots_from_cli(sys.argv[1:])
129129
_runtime._apply_exposed_tools_mode()
130-
nest_asyncio.apply()
131130
asyncio.run(_main())
132131

133132

telegram_mcp/runtime.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
from urllib.parse import unquote, urlparse
1515

1616
# Third-party libraries
17-
import nest_asyncio
1817
from dotenv import load_dotenv
1918
from mcp.server.fastmcp import FastMCP, Context
2019
from mcp.types import Annotations, TextContent, ToolAnnotations

uv.lock

Lines changed: 0 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)