From e7f9d3c8889ebd28a0b2a1f28c7250551d8567b9 Mon Sep 17 00:00:00 2001 From: ichandann Date: Thu, 1 Oct 2026 18:13:55 +0530 Subject: [PATCH 1/2] chore: allow mcp 2.x datapilot imports only `ClientSession`, `StdioServerParameters` and `stdio_client`, all of which mcp 2.x still exports from the same paths. Capping at mcp<2 blocks dependents (altimate-backend) from installing packages that need mcp 2. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index ab213c0..3b8c943 100755 --- a/setup.py +++ b/setup.py @@ -68,7 +68,7 @@ def read(*names, **kwargs): "tabulate~=0.9.0", "requests>=2.31", "sqlglot[c]==30.11.0", - "mcp>=1.9.0,<2.0.0", + "mcp>=1.9.0,<3.0.0", "pyperclip~=1.8.2", "python-dotenv~=1.0.0", ], From b3976582cb80d16fe8a2e2092fcd485f13c2e536 Mon Sep 17 00:00:00 2001 From: ichandann Date: Thu, 1 Oct 2026 18:17:17 +0530 Subject: [PATCH 2/2] chore: widen pyperclip and python-dotenv ranges Both are used through their stable APIs (`pyperclip.copy`, `load_dotenv`); the tilde pins blocked dependents from installing packages that need pyperclip 1.9 and python-dotenv 1.1. --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 3b8c943..0db7b93 100755 --- a/setup.py +++ b/setup.py @@ -69,8 +69,8 @@ def read(*names, **kwargs): "requests>=2.31", "sqlglot[c]==30.11.0", "mcp>=1.9.0,<3.0.0", - "pyperclip~=1.8.2", - "python-dotenv~=1.0.0", + "pyperclip>=1.8.2,<2.0", + "python-dotenv>=1.0.0,<2.0", ], extras_require={ # eg: