From b12bdea958eda4ff97d493db89ab55160a055385 Mon Sep 17 00:00:00 2001 From: Kulvir Date: Wed, 1 Jul 2026 09:00:51 -0700 Subject: [PATCH] fix: [AI-0000] relax `mcp` pin to `>=1.9.0,<2.0.0` (release 0.3.1) The `mcp~=1.9.0` cap (`<1.10.0`) blocks downstream consumers from using newer `mcp` releases required by `claude-agent-sdk` 0.2.x. datapilot only uses the stable mcp client API (`ClientSession`, `StdioServerParameters`, `stdio_client`), which is unchanged across `mcp` 1.x, so the upper cap is unnecessary. - Relax `mcp` pin from `~=1.9.0` to `>=1.9.0,<2.0.0` - Bump version `0.3.0` -> `0.3.1` across bump2version-tracked files - Add CHANGELOG entry Co-Authored-By: Claude Opus 4.8 (1M context) Claude-Session: https://claude.ai/code/session_01W3g8dnag4tFQ6EfPRSMFwQ --- .bumpversion.cfg | 2 +- CHANGELOG.rst | 8 ++++++++ docs/conf.py | 2 +- setup.py | 4 ++-- src/datapilot/__init__.py | 2 +- 5 files changed, 13 insertions(+), 5 deletions(-) diff --git a/.bumpversion.cfg b/.bumpversion.cfg index 9dacfa2a..135972fa 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 0.3.0 +current_version = 0.3.1 commit = True tag = True diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 88778f67..279537d6 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,14 @@ Changelog ========= +0.3.1 (2026-07-01) +------------------ + +* Relax ``mcp`` dependency pin from ``~=1.9.0`` to ``>=1.9.0,<2.0.0`` so + downstream consumers can use newer ``mcp`` releases. Only the stable + client API (``ClientSession``, ``StdioServerParameters``, ``stdio_client``) + is used, which is unchanged across ``mcp`` 1.x. + 0.0.0 (2024-01-25) ------------------ diff --git a/docs/conf.py b/docs/conf.py index 761bda00..1b81fcd5 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -15,7 +15,7 @@ year = "2024" author = "Altimate Inc." copyright = f"{year}, {author}" -version = release = "0.3.0" +version = release = "0.3.1" pygments_style = "trac" templates_path = ["."] diff --git a/setup.py b/setup.py index bc8f0815..8060b185 100755 --- a/setup.py +++ b/setup.py @@ -13,7 +13,7 @@ def read(*names, **kwargs): setup( name="altimate-datapilot-cli", - version="0.3.0", + version="0.3.1", license="MIT", description="Assistant for Data Teams", long_description="{}\n{}".format( @@ -68,7 +68,7 @@ def read(*names, **kwargs): "tabulate~=0.9.0", "requests>=2.31", "sqlglot[c]==30.7.0", - "mcp~=1.9.0", + "mcp>=1.9.0,<2.0.0", "pyperclip~=1.8.2", "python-dotenv~=1.0.0", ], diff --git a/src/datapilot/__init__.py b/src/datapilot/__init__.py index 493f7415..260c070a 100644 --- a/src/datapilot/__init__.py +++ b/src/datapilot/__init__.py @@ -1 +1 @@ -__version__ = "0.3.0" +__version__ = "0.3.1"